diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-10-04 22:27:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-10-05 08:58:11 +0100 |
commit | f42b66cc5104447a5505cc2c11e89fb42250d24b (patch) | |
tree | bae00a7b45ff5f105d4993e480783c4223840400 | |
parent | 2cd6e2259ce0777644af18b29ff424f10d908231 (diff) |
callcatcher: unused methods
-rw-r--r-- | editeng/inc/editeng/unolingu.hxx | 3 | ||||
-rw-r--r-- | editeng/source/misc/unolingu.cxx | 6 | ||||
-rw-r--r-- | sw/inc/editsh.hxx | 2 | ||||
-rw-r--r-- | sw/source/core/edit/edfld.cxx | 13 | ||||
-rw-r--r-- | vcl/inc/image.h | 1 | ||||
-rw-r--r-- | vcl/source/gdi/impimage.cxx | 11 | ||||
-rw-r--r-- | xmloff/source/draw/sdxmlexp.cxx | 60 |
7 files changed, 0 insertions, 96 deletions
diff --git a/editeng/inc/editeng/unolingu.hxx b/editeng/inc/editeng/unolingu.hxx index 11ed370d9763..27730155f86c 100644 --- a/editeng/inc/editeng/unolingu.hxx +++ b/editeng/inc/editeng/unolingu.hxx @@ -138,9 +138,6 @@ public: ::com::sun::star::linguistic2::XDictionary > GetIgnoreAllList(); static ::com::sun::star::uno::Reference< ::com::sun::star::linguistic2::XDictionary > GetChangeAllList(); - - // update all configuration entries - static void UpdateAll(); }; /////////////////////////////////////////////////////////////////////////// diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx index 605623dc1a8b..017830560f94 100644 --- a/editeng/source/misc/unolingu.cxx +++ b/editeng/source/misc/unolingu.cxx @@ -1029,12 +1029,6 @@ uno::Reference< XThesaurus > LinguMgr::GetThes() return xThes; } - -void LinguMgr::UpdateAll() -{ -} - - uno::Reference< XDictionaryList > LinguMgr::GetDicList() { if (bExiting) diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx index ab77265a3e83..d1e423f88359 100644 --- a/sw/inc/editsh.hxx +++ b/sw/inc/editsh.hxx @@ -354,8 +354,6 @@ public: // Check whether DB fields point to an available data source and returns it. sal_Bool IsFieldDataSourceAvailable(String& rUsedDataSource) const; 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 UnlockExpFlds(); diff --git a/sw/source/core/edit/edfld.cxx b/sw/source/core/edit/edfld.cxx index 9897e0a5f23d..0a074ac5f771 100644 --- a/sw/source/core/edit/edfld.cxx +++ b/sw/source/core/edit/edfld.cxx @@ -493,19 +493,6 @@ SwFldUpdateFlags SwEditShell::GetFldUpdateFlags(sal_Bool bDocSettings) const 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 ) { GetDoc()->set(IDocumentSettingAccess::LABEL_DOCUMENT, bFlag ); diff --git a/vcl/inc/image.h b/vcl/inc/image.h index c7485dd4eb95..1eab7dec707f 100644 --- a/vcl/inc/image.h +++ b/vcl/inc/image.h @@ -82,7 +82,6 @@ struct ImageAryData sal_uInt16 mnId; BitmapEx maBitmapEx; - ImageAryData(); ImageAryData( const rtl::OUString &aName, sal_uInt16 nId, const BitmapEx &aBitmap ); ImageAryData( const ImageAryData& rData ); diff --git a/vcl/source/gdi/impimage.cxx b/vcl/source/gdi/impimage.cxx index 4e979c815543..20b4d7de4d82 100644 --- a/vcl/source/gdi/impimage.cxx +++ b/vcl/source/gdi/impimage.cxx @@ -47,17 +47,6 @@ #define IMPSYSIMAGEITEM_ALPHA ( 0x02 ) #define DISA_ALL ( 0xffff ) -// ---------------- -// - ImageAryData - -// ---------------- - -ImageAryData::ImageAryData() : - maName(), - mnId( 0 ), - maBitmapEx() -{ -} - // ----------------------------------------------------------------------- ImageAryData::ImageAryData( const ImageAryData& rData ) : diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx index 67a007c88d56..13eb605039fe 100644 --- a/xmloff/source/draw/sdxmlexp.cxx +++ b/xmloff/source/draw/sdxmlexp.cxx @@ -741,68 +741,8 @@ SdXMLExport::~SdXMLExport() delete mpAutoLayoutInfoList; 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() |