Kaydet (Commit) f42b66cc authored tarafından Caolán McNamara's avatar Caolán McNamara

callcatcher: unused methods

üst 2cd6e225
...@@ -138,9 +138,6 @@ public: ...@@ -138,9 +138,6 @@ public:
::com::sun::star::linguistic2::XDictionary > GetIgnoreAllList(); ::com::sun::star::linguistic2::XDictionary > GetIgnoreAllList();
static ::com::sun::star::uno::Reference< static ::com::sun::star::uno::Reference<
::com::sun::star::linguistic2::XDictionary > GetChangeAllList(); ::com::sun::star::linguistic2::XDictionary > GetChangeAllList();
// update all configuration entries
static void UpdateAll();
}; };
/////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////
......
...@@ -1029,12 +1029,6 @@ uno::Reference< XThesaurus > LinguMgr::GetThes() ...@@ -1029,12 +1029,6 @@ uno::Reference< XThesaurus > LinguMgr::GetThes()
return xThes; return xThes;
} }
void LinguMgr::UpdateAll()
{
}
uno::Reference< XDictionaryList > LinguMgr::GetDicList() uno::Reference< XDictionaryList > LinguMgr::GetDicList()
{ {
if (bExiting) if (bExiting)
......
...@@ -354,8 +354,6 @@ public: ...@@ -354,8 +354,6 @@ public:
// Check whether DB fields point to an available data source and returns it. // Check whether DB fields point to an available data source and returns it.
sal_Bool IsFieldDataSourceAvailable(String& rUsedDataSource) const; sal_Bool IsFieldDataSourceAvailable(String& rUsedDataSource) const;
void UpdateExpFlds(sal_Bool bCloseDB = sal_False);// nur alle ExpressionFelder updaten void UpdateExpFlds(sal_Bool bCloseDB = sal_False);// nur alle ExpressionFelder updaten
void SetFixFields( sal_Bool bOnlyTimeDate = sal_False,
const DateTime* pNewDateTime = 0 );
void LockExpFlds(); void LockExpFlds();
void UnlockExpFlds(); void UnlockExpFlds();
......
...@@ -493,19 +493,6 @@ SwFldUpdateFlags SwEditShell::GetFldUpdateFlags(sal_Bool bDocSettings) const ...@@ -493,19 +493,6 @@ SwFldUpdateFlags SwEditShell::GetFldUpdateFlags(sal_Bool bDocSettings) const
return getIDocumentSettingAccess()->getFieldUpdateFlags( !bDocSettings ); return getIDocumentSettingAccess()->getFieldUpdateFlags( !bDocSettings );
} }
void SwEditShell::SetFixFields( sal_Bool bOnlyTimeDate,
const DateTime* pNewDateTime )
{
SET_CURR_SHELL( this );
sal_Bool bUnLockView = !IsViewLocked();
LockView( sal_True );
StartAllAction();
GetDoc()->SetFixFields( bOnlyTimeDate, pNewDateTime );
EndAllAction();
if( bUnLockView )
LockView( sal_False );
}
void SwEditShell::SetLabelDoc( sal_Bool bFlag ) void SwEditShell::SetLabelDoc( sal_Bool bFlag )
{ {
GetDoc()->set(IDocumentSettingAccess::LABEL_DOCUMENT, bFlag ); GetDoc()->set(IDocumentSettingAccess::LABEL_DOCUMENT, bFlag );
......
...@@ -82,7 +82,6 @@ struct ImageAryData ...@@ -82,7 +82,6 @@ struct ImageAryData
sal_uInt16 mnId; sal_uInt16 mnId;
BitmapEx maBitmapEx; BitmapEx maBitmapEx;
ImageAryData();
ImageAryData( const rtl::OUString &aName, ImageAryData( const rtl::OUString &aName,
sal_uInt16 nId, const BitmapEx &aBitmap ); sal_uInt16 nId, const BitmapEx &aBitmap );
ImageAryData( const ImageAryData& rData ); ImageAryData( const ImageAryData& rData );
......
...@@ -47,17 +47,6 @@ ...@@ -47,17 +47,6 @@
#define IMPSYSIMAGEITEM_ALPHA ( 0x02 ) #define IMPSYSIMAGEITEM_ALPHA ( 0x02 )
#define DISA_ALL ( 0xffff ) #define DISA_ALL ( 0xffff )
// ----------------
// - ImageAryData -
// ----------------
ImageAryData::ImageAryData() :
maName(),
mnId( 0 ),
maBitmapEx()
{
}
// ----------------------------------------------------------------------- // -----------------------------------------------------------------------
ImageAryData::ImageAryData( const ImageAryData& rData ) : ImageAryData::ImageAryData( const ImageAryData& rData ) :
......
...@@ -741,68 +741,8 @@ SdXMLExport::~SdXMLExport() ...@@ -741,68 +741,8 @@ SdXMLExport::~SdXMLExport()
delete mpAutoLayoutInfoList; delete mpAutoLayoutInfoList;
mpAutoLayoutInfoList = 0L; mpAutoLayoutInfoList = 0L;
} }
// #82003# status indicator stop is called exclusively
// from SdXMLFilter::Export() now.
//
// stop progress view
// if(GetStatusIndicator().is())
// {
// GetStatusIndicator()->end();
// GetStatusIndicator()->reset();
// }
}
//////////////////////////////////////////////////////////////////////////////
// to get default values in XPropertySet use this wrapper class
class ImpDefaultMapper : public ::cppu::WeakAggImplHelper1< beans::XPropertySet >
{
Reference< beans::XPropertyState > mxState;
Reference< beans::XPropertySet > mxSet;
public:
ImpDefaultMapper( Reference< beans::XPropertyState >& rxState );
// Methods
virtual Reference< beans::XPropertySetInfo > SAL_CALL getPropertySetInfo() throw(uno::RuntimeException);
virtual void SAL_CALL setPropertyValue( const OUString& aPropertyName, const Any& aValue ) throw(beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException);
virtual Any SAL_CALL getPropertyValue( const OUString& PropertyName ) throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException);
// empty implementations
virtual void SAL_CALL addPropertyChangeListener( const OUString& aPropertyName, const Reference< beans::XPropertyChangeListener >& xListener ) throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException);
virtual void SAL_CALL removePropertyChangeListener( const OUString& aPropertyName, const Reference< beans::XPropertyChangeListener >& aListener ) throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException);
virtual void SAL_CALL addVetoableChangeListener( const OUString& PropertyName, const Reference< beans::XVetoableChangeListener >& aListener ) throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException);
virtual void SAL_CALL removeVetoableChangeListener( const OUString& PropertyName, const Reference< beans::XVetoableChangeListener >& aListener ) throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException);
};
ImpDefaultMapper::ImpDefaultMapper( Reference< beans::XPropertyState >& rxState )
: mxState( rxState ),
mxSet( rxState, UNO_QUERY )
{
} }
Reference< beans::XPropertySetInfo > SAL_CALL ImpDefaultMapper::getPropertySetInfo() throw(uno::RuntimeException)
{
return mxSet->getPropertySetInfo();
}
void SAL_CALL ImpDefaultMapper::setPropertyValue( const OUString& aPropertyName, const Any& /*aValue*/ ) throw(beans::UnknownPropertyException, beans::PropertyVetoException, lang::IllegalArgumentException, lang::WrappedTargetException, uno::RuntimeException)
{
mxState->setPropertyToDefault( aPropertyName /*, aValue */ );
}
Any SAL_CALL ImpDefaultMapper::getPropertyValue( const OUString& PropertyName ) throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException)
{
return mxState->getPropertyDefault( PropertyName );
}
// empty implementations
void SAL_CALL ImpDefaultMapper::addPropertyChangeListener( const OUString&, const Reference< beans::XPropertyChangeListener >& ) throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) {}
void SAL_CALL ImpDefaultMapper::removePropertyChangeListener( const OUString&, const Reference< beans::XPropertyChangeListener >& ) throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) {}
void SAL_CALL ImpDefaultMapper::addVetoableChangeListener( const OUString&, const Reference< beans::XVetoableChangeListener >& ) throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) {}
void SAL_CALL ImpDefaultMapper::removeVetoableChangeListener( const OUString&, const Reference< beans::XVetoableChangeListener >& ) throw(beans::UnknownPropertyException, lang::WrappedTargetException, uno::RuntimeException) {}
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
void SdXMLExport::ImpPrepAutoLayoutInfos() void SdXMLExport::ImpPrepAutoLayoutInfos()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment