[Libreoffice-commits] core.git: sd/source svtools/source unusedcode.easy

Caolán McNamara caolanm at redhat.com
Sat Jun 6 07:00:32 PDT 2015


 sd/source/ui/inc/ViewShellBase.hxx  |    4 ----
 sd/source/ui/view/ViewShellBase.cxx |    8 --------
 svtools/source/contnr/imivctl.hxx   |    1 -
 svtools/source/contnr/imivctl1.cxx  |   12 ------------
 unusedcode.easy                     |    3 +--
 5 files changed, 1 insertion(+), 27 deletions(-)

New commits:
commit dd46a9b3b0ea909f45bb1ac5cb5c907dfa7b07b3
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Sat Jun 6 14:27:40 2015 +0100

    callcatcher: update unused code
    
    Change-Id: I1d26c96a2f7e5351e24b931971d5ca80161acec5

diff --git a/sd/source/ui/inc/ViewShellBase.hxx b/sd/source/ui/inc/ViewShellBase.hxx
index b4e86bb..f67da17 100644
--- a/sd/source/ui/inc/ViewShellBase.hxx
+++ b/sd/source/ui/inc/ViewShellBase.hxx
@@ -198,10 +198,6 @@ public:
     */
     void ShowUIControls (bool bVisible);
 
-    /** this method starts the presentation by
-        executing the slot SID_PRESENTATION asynchronous */
-    void StartPresentation();
-
     /** Return an event multiplexer.  It is a single class that forwards
         events from various sources.  This method must not be called before
         LateInit() has terminated.
diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx
index 440030f..d67a1ab 100644
--- a/sd/source/ui/view/ViewShellBase.cxx
+++ b/sd/source/ui/view/ViewShellBase.cxx
@@ -905,14 +905,6 @@ OUString ViewShellBase::GetInitialViewShellType()
     return sRequestedView;
 }
 
-/** this method starts the presentation by
-    executing the slot SID_PRESENTATION asynchronous */
-void ViewShellBase::StartPresentation()
-{
-    if( GetViewFrame() && GetViewFrame()->GetDispatcher() )
-        GetViewFrame()->GetDispatcher()->Execute(SID_PRESENTATION, SfxCallMode::ASYNCHRON | SfxCallMode::RECORD );
-}
-
 ::boost::shared_ptr<tools::EventMultiplexer> ViewShellBase::GetEventMultiplexer()
 {
     OSL_ASSERT(mpImpl.get()!=NULL);
diff --git a/svtools/source/contnr/imivctl.hxx b/svtools/source/contnr/imivctl.hxx
index c3e2da9..73d1930 100644
--- a/svtools/source/contnr/imivctl.hxx
+++ b/svtools/source/contnr/imivctl.hxx
@@ -524,7 +524,6 @@ public:
                             SvxIconChoiceCtrlEntry* pEntry,
                             bool bKeepHighlightFlags = false
                         );
-    void                HideEntryHighlightFrame();
     void                DrawHighlightFrame(vcl::RenderContext& rRenderContext, const Rectangle& rBmpRect, bool bHide);
     void                StopSelectTimer() { aCallSelectHdlIdle.Stop(); }
 
diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx
index 53fe772..636e9fb 100644
--- a/svtools/source/contnr/imivctl1.cxx
+++ b/svtools/source/contnr/imivctl1.cxx
@@ -3597,18 +3597,6 @@ void SvxIconChoiceCtrl_Impl::SetEntryHighlightFrame( SvxIconChoiceCtrlEntry* pEn
     }
 }
 
-void SvxIconChoiceCtrl_Impl::HideEntryHighlightFrame()
-{
-    if( !pCurHighlightFrame )
-        return;
-
-    SvxIconChoiceCtrlEntry* pEntry = pCurHighlightFrame;
-    pCurHighlightFrame = nullptr;
-    Rectangle aInvalidationRect(GetEntryBoundRect(pEntry));
-    aInvalidationRect.expand(5);
-    pView->Invalidate(aInvalidationRect);
-}
-
 void SvxIconChoiceCtrl_Impl::CallSelectHandler( SvxIconChoiceCtrlEntry* )
 {
     // When single-click mode is active, the selection handler should be called
diff --git a/unusedcode.easy b/unusedcode.easy
index d9780e0..949dbfa 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -68,7 +68,6 @@ apitest::XNameReplace::testReplaceByName()
 apitest::XNamedRanges::XNamedRanges(rtl::OUString const&)
 apitest::XNamedRanges::testRemoveByName()
 apitest::XSpreadsheetDocument::testGetSheets()
-apitest::XText::testInsertRemoveTextContent()
 basegfx::tools::containsOnlyHorizontalAndVerticalEdges(basegfx::B2DPolyPolygon const&)
 canvas::createSurfaceProxyManager(boost::shared_ptr<canvas::IRenderModule> const&)
 chart::DataBrowser::SetCellModifiedHdl(Link<void*, long> const&)
@@ -94,6 +93,7 @@ sc::ColumnSpanSet::swap(sc::ColumnSpanSet&)
 sc::FormulaGroupAreaListener::getGroupLength() const
 sc::FormulaGroupAreaListener::getRange() const
 sc::FormulaGroupAreaListener::getTopCellPos() const
+sc_apitest::main()
 sd::LeftDrawPaneShell::RegisterInterface(SfxModule*)
 sd::LeftImpressPaneShell::RegisterInterface(SfxModule*)
 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> > >::_M_move_data(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::integral_constant<bool, true>)
@@ -110,4 +110,3 @@ vclcanvas::CanvasBitmapHelper::setPixel(com::sun::star::uno::Sequence<signed cha
 vclcanvas::CanvasHelper::drawPoint(com::sun::star::rendering::XCanvas const*, com::sun::star::geometry::RealPoint2D const&, com::sun::star::rendering::ViewState const&, com::sun::star::rendering::RenderState const&)
 vclcanvas::CanvasHelper::setData(com::sun::star::uno::Sequence<signed char> const&, com::sun::star::rendering::IntegerBitmapLayout const&, com::sun::star::geometry::IntegerRectangle2D const&)
 vclcanvas::CanvasHelper::setPixel(com::sun::star::uno::Sequence<signed char> const&, com::sun::star::rendering::IntegerBitmapLayout const&, com::sun::star::geometry::IntegerPoint2D const&)
-vclcanvas::DeviceHelper::enterFullScreenMode(bool)


More information about the Libreoffice-commits mailing list