[Libreoffice-commits] core.git: include/svtools include/svx include/unotest svtools/source svx/source unotest/source unusedcode.easy

Petr Vorel petr.vorel at gmail.com
Fri Jan 17 05:50:47 PST 2014


 include/svtools/toolpanel/toolpaneldeck.hxx  |    1 -
 include/svx/dialcontrol.hxx                  |    2 --
 include/unotest/bootstrapfixturebase.hxx     |    3 ---
 svtools/source/toolpanel/toolpaneldeck.cxx   |    6 ------
 svx/source/dialog/dialcontrol.cxx            |    5 -----
 svx/source/sidebar/line/LineWidthControl.cxx |    8 --------
 svx/source/sidebar/line/LineWidthControl.hxx |    1 -
 unotest/source/cpp/bootstrapfixturebase.cxx  |    6 ------
 unusedcode.easy                              |    4 ----
 9 files changed, 36 deletions(-)

New commits:
commit db27efd29761a87fe3ab946c99c18530e828e58a
Author: Petr Vorel <petr.vorel at gmail.com>
Date:   Thu Jan 9 08:52:53 2014 +0100

    removed some unused code (svx, svtools, unotest)
    
    Change-Id: I1250581d69423030bd0a93a1529458b8d424ce3e
    Reviewed-on: https://gerrit.libreoffice.org/7329
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/include/svtools/toolpanel/toolpaneldeck.hxx b/include/svtools/toolpanel/toolpaneldeck.hxx
index 8ba584b..3ad4fcd 100644
--- a/include/svtools/toolpanel/toolpaneldeck.hxx
+++ b/include/svtools/toolpanel/toolpaneldeck.hxx
@@ -155,7 +155,6 @@ namespace svt
 
             Calling this method has no effect if CreateAccessible had always been called.
         */
-        void                SetAccessibleParentWindow( ::Window* i_pAccessibleParent );
         ::Window*           GetAccessibleParentWindow() const;
 
         // IToolPanelDeck
diff --git a/include/svx/dialcontrol.hxx b/include/svx/dialcontrol.hxx
index f50cb59..06fecd1 100644
--- a/include/svx/dialcontrol.hxx
+++ b/include/svx/dialcontrol.hxx
@@ -119,8 +119,6 @@ public:
 
     /** The passed handler is called whenever the totation value changes. */
     void                SetModifyHdl( const Link& rLink );
-    /** Returns the current modify handler. */
-    const Link&         GetModifyHdl() const;
 
     /** Save value for later comparison */
     void                SaveValue();
diff --git a/include/unotest/bootstrapfixturebase.hxx b/include/unotest/bootstrapfixturebase.hxx
index c447f4f..d69be43 100644
--- a/include/unotest/bootstrapfixturebase.hxx
+++ b/include/unotest/bootstrapfixturebase.hxx
@@ -62,12 +62,9 @@ public:
   // return a Path to a given c-str path from the source directory
   OUString getPathFromSrc( const char *pPath );
 
-
   // return a URL to a given c-str path from the workdir directory
   OUString getURLFromWorkdir( const char *pPath );
 
-  // return a Path to a given c-str path from the workdir directory
-  OUString getPathFromWorkdir( const char *pPath );
   virtual void setUp();
   virtual void tearDown();
 
diff --git a/svtools/source/toolpanel/toolpaneldeck.cxx b/svtools/source/toolpanel/toolpaneldeck.cxx
index 81b6dac..92cbc87 100644
--- a/svtools/source/toolpanel/toolpaneldeck.cxx
+++ b/svtools/source/toolpanel/toolpaneldeck.cxx
@@ -516,12 +516,6 @@ namespace svt
     }
 
     //--------------------------------------------------------------------
-    void ToolPanelDeck::SetAccessibleParentWindow( Window* i_pAccessibleParent )
-    {
-        m_pImpl->SetAccessibleParentWindow( i_pAccessibleParent );
-    }
-
-    //--------------------------------------------------------------------
     Window* ToolPanelDeck::GetAccessibleParentWindow() const
     {
         Window* pAccessibleParent( m_pImpl->GetAccessibleParentWindow() );
diff --git a/svx/source/dialog/dialcontrol.cxx b/svx/source/dialog/dialcontrol.cxx
index 4a780a6..2e21ec9 100644
--- a/svx/source/dialog/dialcontrol.cxx
+++ b/svx/source/dialog/dialcontrol.cxx
@@ -432,11 +432,6 @@ void DialControl::SetModifyHdl( const Link& rLink )
     mpImpl->maModifyHdl = rLink;
 }
 
-const Link& DialControl::GetModifyHdl() const
-{
-    return mpImpl->maModifyHdl;
-}
-
 // private --------------------------------------------------------------------
 
 void DialControl::Init( const Size& rWinSize, const Font& rWinFont )
diff --git a/svx/source/sidebar/line/LineWidthControl.cxx b/svx/source/sidebar/line/LineWidthControl.cxx
index 816f34e..7db6d4c 100644
--- a/svx/source/sidebar/line/LineWidthControl.cxx
+++ b/svx/source/sidebar/line/LineWidthControl.cxx
@@ -192,14 +192,6 @@ void LineWidthControl::GetFocus()
 
 
 
-ValueSet& LineWidthControl::GetValueSet()
-{
-    return maVSWidth;
-}
-
-
-
-
 void LineWidthControl::SetWidthSelect( long lValue, bool bValuable, SfxMapUnit eMapUnit)
 {
     mbVSFocus = true;
diff --git a/svx/source/sidebar/line/LineWidthControl.hxx b/svx/source/sidebar/line/LineWidthControl.hxx
index e4060f9..b9808f1 100644
--- a/svx/source/sidebar/line/LineWidthControl.hxx
+++ b/svx/source/sidebar/line/LineWidthControl.hxx
@@ -38,7 +38,6 @@ public:
     virtual void Paint(const Rectangle& rect);
 
     void SetWidthSelect( long lValue, bool bValuable, SfxMapUnit eMapUnit);
-    ValueSet& GetValueSet();
     bool IsCloseByEdit();
     long GetTmpCustomWidth();
 
diff --git a/unotest/source/cpp/bootstrapfixturebase.cxx b/unotest/source/cpp/bootstrapfixturebase.cxx
index 4fd1e78..cc8ae3f 100644
--- a/unotest/source/cpp/bootstrapfixturebase.cxx
+++ b/unotest/source/cpp/bootstrapfixturebase.cxx
@@ -83,12 +83,6 @@ OUString test::BootstrapFixtureBase::getURLFromWorkdir( const char *pPath )
     return m_aWorkdirRootURL + OUString::createFromAscii( pPath );
 }
 
-OUString test::BootstrapFixtureBase::getPathFromWorkdir( const char *pPath )
-{
-    return m_aWorkdirRootPath + OUString::createFromAscii( pPath );
-
-}
-
 void test::BootstrapFixtureBase::setUp()
 {
     // set UserInstallation to user profile dir in test/user-template
diff --git a/unusedcode.easy b/unusedcode.easy
index 5c244f6..db50bbf 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -174,9 +174,5 @@ std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString const, (anonymous namespace
 std::auto_ptr<formula::FormulaTokenArray>::auto_ptr(std::auto_ptr<formula::FormulaTokenArray>&)
 std::auto_ptr<formula::FormulaTokenArray>::auto_ptr(std::auto_ptr_ref<formula::FormulaTokenArray>)
 svl::SharedStringPool::SharedStringPool()
-svt::ToolPanelDeck::SetAccessibleParentWindow(Window*)
-svx::DialControl::GetModifyHdl() const
-svx::sidebar::LineWidthControl::GetValueSet()
-test::BootstrapFixtureBase::getPathFromWorkdir(char const*)
 utl::toISO8601(com::sun::star::util::Time const&)
 vclmain::createApplication()


More information about the Libreoffice-commits mailing list