[Libreoffice-commits] core.git: include/svtools sfx2/source svtools/source unusedcode.easy
Caolán McNamara
caolanm at redhat.com
Wed Dec 24 03:27:39 PST 2014
include/svtools/toolbarmenu.hxx | 8 --------
sfx2/source/sidebar/AsynchronousCall.cxx | 11 ++---------
sfx2/source/sidebar/AsynchronousCall.hxx | 1 -
svtools/source/control/toolbarmenu.cxx | 13 -------------
unusedcode.easy | 1 +
5 files changed, 3 insertions(+), 31 deletions(-)
New commits:
commit baa6458c8b1063e3b06f3d6d6ccef54f7e9250dd
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Dec 24 11:03:59 2014 +0000
callcatcher: update unusedcode
Change-Id: I0b75dabfcb4a53dbbe361a34a6d9661a5b4aedd2
diff --git a/include/svtools/toolbarmenu.hxx b/include/svtools/toolbarmenu.hxx
index 230c33d..2b20a31 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 50f1a1c..bdd530a 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 d3ecd5d..665a35b 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 e8af87f..85e73bb 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 68004b9..cf8b3b4 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)
More information about the Libreoffice-commits
mailing list