diff options
-rw-r--r-- | sfx2/source/dialog/tabdlg.cxx | 16 | ||||
-rw-r--r-- | svl/inc/svl/style.hxx | 1 | ||||
-rw-r--r-- | svl/source/items/style.cxx | 19 | ||||
-rw-r--r-- | unusedcode.easy | 2 |
4 files changed, 2 insertions, 36 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index 738041f9fbef..57e60136b617 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -144,7 +144,6 @@ public: ~SfxTabDialogController(); - DECL_LINK( Execute_Impl, void* ); virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ); }; @@ -153,21 +152,6 @@ SfxTabDialogController::~SfxTabDialogController() delete pSet; } -IMPL_LINK( SfxTabDialogController, Execute_Impl, void*, pVoid ) -{ - (void)pVoid; //unused - if ( pDialog->OK_Impl() && pDialog->Ok() ) - { - const SfxPoolItem* aItems[2]; - SfxTabDialogItem aItem( GetId(), *pDialog->GetOutputItemSet() ); - aItems[0] = &aItem; - aItems[1] = NULL; - GetBindings().Execute( GetId(), aItems ); - } - - return 0; -} - void SfxTabDialogController::StateChanged( sal_uInt16 /*nSID*/, SfxItemState /*eState*/, const SfxPoolItem* pState ) { const SfxSetItem* pSetItem = PTR_CAST( SfxSetItem, pState ); diff --git a/svl/inc/svl/style.hxx b/svl/inc/svl/style.hxx index ceb8050f31c8..c948c58043ce 100644 --- a/svl/inc/svl/style.hxx +++ b/svl/inc/svl/style.hxx @@ -100,7 +100,6 @@ protected: sal_Bool bMySet; // sal_True: Set loeschen im dtor - SfxStyleSheetBase(); // do not use! SfxStyleSheetBase( const UniString&, SfxStyleSheetBasePool&, SfxStyleFamily eFam, sal_uInt16 mask ); SfxStyleSheetBase( const SfxStyleSheetBase& ); virtual ~SfxStyleSheetBase(); diff --git a/svl/source/items/style.cxx b/svl/source/items/style.cxx index 2a1929e78fb0..595ed7b41ae8 100644 --- a/svl/source/items/style.cxx +++ b/svl/source/items/style.cxx @@ -154,25 +154,6 @@ SfxStyleSheetBase::SfxStyleSheetBase( const SfxStyleSheetBase& r ) pSet = NULL; } -static SfxStyleSheetBasePool& implGetStaticPool() -{ - static SfxStyleSheetBasePool* pSheetPool = 0; - static SfxItemPool* pBasePool = 0; - if( !pSheetPool ) - { - UniString aName; - pBasePool = new SfxItemPool( aName, 0, 0, 0 ); - pSheetPool = new SfxStyleSheetBasePool(*pBasePool); - } - return *pSheetPool; -} - -SfxStyleSheetBase::SfxStyleSheetBase() -: comphelper::OWeakTypeObject() -, rPool( implGetStaticPool() ) -{ -} - SfxStyleSheetBase::~SfxStyleSheetBase() { #ifdef DBG_UTIL diff --git a/unusedcode.easy b/unusedcode.easy index c4495d2ae1f0..a613b741a93f 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -2032,6 +2032,8 @@ chart::EquidistantTickIter::gotoIndex(int) chart::UndoContext::UndoContext(com::sun::star::uno::Reference<com::sun::star::document::XUndoManager> const&, rtl::OUString const&) chart::UndoContext::~UndoContext() chelp::Databases::getInstallPathAsSystemPath() +cmis::Content::exchangeIdentity(com::sun::star::uno::Reference<com::sun::star::ucb::XContentIdentifier> const&) +cmis::Content::queryChildren(std::list<rtl::Reference<cmis::Content>, std::allocator<rtl::Reference<cmis::Content> > >&) codemaker::cpp::typeToPrefix(TypeManager const&, rtl::OString const&) comphelper::AccessibleEventBuffer::AccessibleEventBuffer() comphelper::AccessibleEventBuffer::sendEvents() const |