diff options
-rw-r--r-- | include/svtools/toolbarmenu.hxx | 8 | ||||
-rw-r--r-- | sfx2/source/sidebar/AsynchronousCall.cxx | 11 | ||||
-rw-r--r-- | sfx2/source/sidebar/AsynchronousCall.hxx | 1 | ||||
-rw-r--r-- | svtools/source/control/toolbarmenu.cxx | 13 | ||||
-rw-r--r-- | unusedcode.easy | 1 |
5 files changed, 3 insertions, 31 deletions
diff --git a/include/svtools/toolbarmenu.hxx b/include/svtools/toolbarmenu.hxx index 230c33d0f97d..2b20a31c5f2f 100644 --- a/include/svtools/toolbarmenu.hxx +++ b/include/svtools/toolbarmenu.hxx @@ -50,14 +50,6 @@ public: vcl::Window* pParentWindow, WinBits nBits ); - ToolbarMenu( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& rFrame, - vcl::Window* pParentWindow, - const ResId& rResId ); - - ToolbarMenu(vcl::Window* pParentWindow, - const OString& rID, const OUString& rUIXMLDescription, - const css::uno::Reference<css::frame::XFrame>& rFrame); - virtual ~ToolbarMenu(); virtual void MouseMove( const MouseEvent& rMEvt ) SAL_OVERRIDE; diff --git a/sfx2/source/sidebar/AsynchronousCall.cxx b/sfx2/source/sidebar/AsynchronousCall.cxx index 50f1a1cc982c..bdd530a5dd5c 100644 --- a/sfx2/source/sidebar/AsynchronousCall.cxx +++ b/sfx2/source/sidebar/AsynchronousCall.cxx @@ -40,14 +40,7 @@ AsynchronousCall::~AsynchronousCall (void) CancelRequest(); } -void AsynchronousCall::RequestCall (const Action& rAction) -{ - CancelRequest(); - maAction = rAction; - RequestCall(); -} - -void AsynchronousCall::RequestCall (void) +void AsynchronousCall::RequestCall() { if (mnCallId == 0) { @@ -56,7 +49,7 @@ void AsynchronousCall::RequestCall (void) } } -void AsynchronousCall::CancelRequest (void) +void AsynchronousCall::CancelRequest() { if (mnCallId != 0) { diff --git a/sfx2/source/sidebar/AsynchronousCall.hxx b/sfx2/source/sidebar/AsynchronousCall.hxx index d3ecd5dcf98c..665a35b9bf5c 100644 --- a/sfx2/source/sidebar/AsynchronousCall.hxx +++ b/sfx2/source/sidebar/AsynchronousCall.hxx @@ -38,7 +38,6 @@ public: AsynchronousCall (const Action& rAction); ~AsynchronousCall (void); - void RequestCall (const Action& rAction); void RequestCall (void); void CancelRequest (void); diff --git a/svtools/source/control/toolbarmenu.cxx b/svtools/source/control/toolbarmenu.cxx index e8af87f1d3e2..85e73bbbc381 100644 --- a/svtools/source/control/toolbarmenu.cxx +++ b/svtools/source/control/toolbarmenu.cxx @@ -441,19 +441,6 @@ ToolbarMenu::ToolbarMenu( const Reference< XFrame >& rFrame, vcl::Window* pParen implInit(rFrame); } -ToolbarMenu::ToolbarMenu( const Reference< XFrame >& rFrame, vcl::Window* pParentWindow, const ResId& rResId ) - : DockingWindow(pParentWindow, rResId) -{ - implInit(rFrame); -} - -ToolbarMenu::ToolbarMenu(vcl::Window* pParentWindow, const OString& rID, - const OUString& rUIXMLDescription, const Reference< XFrame >& rFrame) - : DockingWindow(pParentWindow, rID, rUIXMLDescription, rFrame) -{ - implInit(rFrame); -} - void ToolbarMenu::implInit(const Reference< XFrame >& rFrame) { mpImpl = new ToolbarMenu_Impl( *this, rFrame ); diff --git a/unusedcode.easy b/unusedcode.easy index 68004b9246ba..cf8b3b4ad854 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -192,6 +192,7 @@ sc::FormulaGroupAreaListener::isStartFixed() const sd::LeftDrawPaneShell::RegisterInterface(SfxModule*) sd::LeftImpressPaneShell::RegisterInterface(SfxModule*) sdr::contact::ViewContactOfTextObj::GetTextObj() const +sfx2::sidebar::AsynchronousCall::RequestCall(boost::function<void ()> const&) std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString const, (anonymous namespace)::TemplateId>, std::_Select1st<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> >, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> > >::_Rb_tree(std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString const, (anonymous namespace)::TemplateId>, std::_Select1st<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> >, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> > >&&) std::__cxx1998::vector<rtl::Reference<oox::xls::(anonymous namespace)::WorkerThread>, std::allocator<rtl::Reference<oox::xls::(anonymous namespace)::WorkerThread> > >::reserve(unsigned long) vcl::MapChar(vcl::_TrueTypeFont*, unsigned short, bool) |