diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-11-05 11:06:57 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-11-05 14:58:01 +0000 |
commit | b7804c42c2bb86bdd7824cf07905d843e671df40 (patch) | |
tree | e6b60d5dfc92813412f276119f584137f048e8b9 | |
parent | 12bcfec04fcbe6425e327109ad47cd2b2b80d2bd (diff) |
callcatcher: update unused code
Change-Id: I792c007541d4d703f17c8cdcd2d441ca505acc52
-rw-r--r-- | sd/source/ui/framework/tools/FrameworkHelper.cxx | 20 | ||||
-rw-r--r-- | sd/source/ui/inc/framework/FrameworkHelper.hxx | 3 | ||||
-rw-r--r-- | svx/source/sidebar/paragraph/ParaPropertyPanel.cxx | 5 | ||||
-rw-r--r-- | svx/source/sidebar/paragraph/ParaPropertyPanel.hxx | 1 | ||||
-rw-r--r-- | unusedcode.easy | 5 |
5 files changed, 3 insertions, 31 deletions
diff --git a/sd/source/ui/framework/tools/FrameworkHelper.cxx b/sd/source/ui/framework/tools/FrameworkHelper.cxx index 539f07f99ca5..a22e70ba9c87 100644 --- a/sd/source/ui/framework/tools/FrameworkHelper.cxx +++ b/sd/source/ui/framework/tools/FrameworkHelper.cxx @@ -324,26 +324,6 @@ public: FrameworkHelper::InstanceMap FrameworkHelper::maInstanceMap; -::boost::shared_ptr<FrameworkHelper> FrameworkHelper::Instance ( - const Reference<frame::XController>& rxController) -{ - // Tunnel through the controller to obtain a ViewShellBase. - Reference<lang::XUnoTunnel> xTunnel (rxController, UNO_QUERY); - if (xTunnel.is()) - { - ::sd::DrawController* pController = reinterpret_cast<sd::DrawController*>( - xTunnel->getSomething(sd::DrawController::getUnoTunnelId())); - if (pController != NULL) - { - ViewShellBase* pBase = pController->GetViewShellBase(); - if (pBase != NULL) - return Instance(*pBase); - } - } - - return ::boost::shared_ptr<FrameworkHelper>(); -} - ::boost::shared_ptr<FrameworkHelper> FrameworkHelper::Instance (ViewShellBase& rBase) { diff --git a/sd/source/ui/inc/framework/FrameworkHelper.hxx b/sd/source/ui/inc/framework/FrameworkHelper.hxx index a5d29a28b939..ca2a33db4919 100644 --- a/sd/source/ui/inc/framework/FrameworkHelper.hxx +++ b/sd/source/ui/inc/framework/FrameworkHelper.hxx @@ -109,9 +109,6 @@ public: */ static ::boost::shared_ptr<FrameworkHelper> Instance (ViewShellBase& rBase); - static ::boost::shared_ptr<FrameworkHelper> Instance ( - const css::uno::Reference<css::frame::XController>& rxController); - /** Mark the FrameworkHelper object for the given ViewShellBase as disposed. A following ReleaseInstance() call will destroy the FrameworkHelper object. diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx index e683e6d73453..b11818518f71 100644 --- a/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx +++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.cxx @@ -219,11 +219,6 @@ void ParaPropertyPanel::ReSize(bool /* bSize */) mxSidebar->requestLayout(); } -void ParaPropertyPanel::EndSpacingPopupMode (void) -{ - //maLineSpacePopup.Hide(); -} - void ParaPropertyPanel::EndBulletsPopupMode (void) { //i122054, Missed following line, for collapse the bullets popup diff --git a/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx b/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx index 56179def9973..f8443b6a86a8 100644 --- a/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx +++ b/svx/source/sidebar/paragraph/ParaPropertyPanel.hxx @@ -77,7 +77,6 @@ public: sal_uInt16 GetNumTypeIndex(){ return mnNumTypeIndex; } FieldUnit GetCurrentUnit( SfxItemState eState, const SfxPoolItem* pState ); - void EndSpacingPopupMode (void); void EndBulletsPopupMode (void); void EndNumberingPopupMode (void); diff --git a/unusedcode.easy b/unusedcode.easy index 31486fb09ad2..f22f7b1ab269 100644 --- a/unusedcode.easy +++ b/unusedcode.easy @@ -1,5 +1,6 @@ BigInt::BigInt(unsigned int) CalcUnoApiTest::CalcUnoApiTest(rtl::OUString const&) +Chart2ImportTest::testTextCanOverlapXLSX() FontCharMap::GetDefaultMap(bool) GDriveDocument::GDriveDocument(GDriveSession*) GDriveFolder::GDriveFolder(GDriveSession*) @@ -18,6 +19,8 @@ OutputDevice::PixelToLogic(vcl::Region const&, MapMode const&) const Primitive2dXmlDump::filterActionType(unsigned short, bool) Primitive2dXmlDump::filterAllActionTypes() SalGraphics::drawTransformedBitmap(basegfx::B2DPoint const&, basegfx::B2DPoint const&, basegfx::B2DPoint const&, SalBitmap const&, SalBitmap const*) +ScBroadcastAreaSlotMachine::AreaBroadcastInRange(ScRange const&, ScHint const&) const +ScColumn::MarkSubTotalCells(sc::ColumnSpanSet&, int, int, bool) const ScDocument::CreateFormatTable() const ScFormulaCellGroup::scheduleCompilation() ScRawToken::Clone() const @@ -177,7 +180,6 @@ connectivity::firebird::release(int&, cppu::OBroadcastHelperVar<cppu::OMultiType connectivity::odbc::appendSQLWCHARs(rtl::OUStringBuffer&, wchar_t const*, int) connectivity::sdbcx::OGroup::OGroup(bool) connectivity::sdbcx::OGroup::OGroup(rtl::OUString const&, bool) -dbaccess::ORowSetCacheIterator::getMutex() const oglcanvas::CanvasHelper::flush() const oglcanvas::TextLayout::draw(com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&, com::sun::star::uno::Reference<com::sun::star::rendering::XGraphicDevice> const&) const oox::drawingml::TextListStyle::dump() const @@ -189,7 +191,6 @@ sc::CLBuildKernelThread::produce() sc::CellValues::transferTo(ScColumn&, int) sd::LeftDrawPaneShell::RegisterInterface(SfxModule*) sd::LeftImpressPaneShell::RegisterInterface(SfxModule*) -sd::framework::FrameworkHelper::Instance(com::sun::star::uno::Reference<com::sun::star::frame::XController> const&) sfx2::SvBaseLink::SvBaseLink(rtl::OUString const&, unsigned short, sfx2::SvLinkSource*) 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) |