[Libreoffice-commits] .: svtools/inc svtools/source unusedcode.easy

Caolán McNamara caolan at kemper.freedesktop.org
Thu Feb 16 03:38:21 PST 2012


 svtools/inc/svtools/svmedit.hxx |    3 ---
 svtools/source/edit/svmedit.cxx |   19 -------------------
 unusedcode.easy                 |    3 ---
 3 files changed, 25 deletions(-)

New commits:
commit 0e31821b12f36bd753f35a73fcaba8ede8eb1359
Author: Szabolcs Dezsi <dezsiszabi at hotmail.com>
Date:   Thu Feb 16 11:38:04 2012 +0000

    Removed unused functions from MultiLineEdit in svtools module

diff --git a/svtools/inc/svtools/svmedit.hxx b/svtools/inc/svtools/svmedit.hxx
index eb855da..bfce316 100644
--- a/svtools/inc/svtools/svmedit.hxx
+++ b/svtools/inc/svtools/svmedit.hxx
@@ -65,7 +65,6 @@ protected:
 
     ExtTextEngine*  GetTextEngine() const;
     ExtTextView*    GetTextView() const;
-    ScrollBar*      GetHScrollBar() const;
     ScrollBar*      GetVScrollBar() const;
 
 public:
@@ -110,7 +109,6 @@ public:
                     { SetText( rStr ); SetSelection( rNewSelection ); }
     String          GetText() const;
     String          GetText( LineEnd aSeparator ) const;
-    String          GetTextLines() const;
     String          GetTextLines( LineEnd aSeparator ) const;
 
     void            SetRightToLeft( sal_Bool bRightToLeft );
@@ -137,7 +135,6 @@ public:
     void            Draw( OutputDevice* pDev, const Point& rPos, const Size& rSize, sal_uLong nFlags );
 
        void         SetLeftMargin( sal_uInt16 n );
-    sal_uInt16          GetLeftMargin() const;
 
     virtual
     ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >
diff --git a/svtools/source/edit/svmedit.cxx b/svtools/source/edit/svmedit.cxx
index 640f05a..bb5f4b3 100644
--- a/svtools/source/edit/svmedit.cxx
+++ b/svtools/source/edit/svmedit.cxx
@@ -1215,11 +1215,6 @@ String MultiLineEdit::GetText( LineEnd aSeparator ) const
     return pImpSvMEdit->GetText( aSeparator );
 }
 
-String MultiLineEdit::GetTextLines() const
-{
-    return pImpSvMEdit->GetTextLines();
-}
-
 String MultiLineEdit::GetTextLines(  LineEnd aSeparator ) const
 {
     return pImpSvMEdit->GetTextLines( aSeparator );
@@ -1559,12 +1554,6 @@ ExtTextView* MultiLineEdit::GetTextView() const
     return pImpSvMEdit->GetTextWindow()->GetTextView();
 }
 
-ScrollBar* MultiLineEdit::GetHScrollBar() const
-{
-    return pImpSvMEdit->GetHScrollBar();
-}
-
-
 ScrollBar* MultiLineEdit::GetVScrollBar() const
 {
     return pImpSvMEdit->GetVScrollBar();
@@ -1581,14 +1570,6 @@ void MultiLineEdit::SetLeftMargin( sal_uInt16 n )
         GetTextEngine()->SetLeftMargin( n );
 }
 
-sal_uInt16 MultiLineEdit::GetLeftMargin() const
-{
-    if ( GetTextEngine() )
-        return GetTextEngine()->GetLeftMargin();
-    else
-        return 0;
-}
-
 void MultiLineEdit::SetRightToLeft( sal_Bool bRightToLeft )
 {
     if ( GetTextEngine() )
diff --git a/unusedcode.easy b/unusedcode.easy
index 3dd0f66..647b4f3 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -42,9 +42,6 @@ Matrix3d::Inverse() const
 Matrix3d::Matrix3d()
 MenuBar::MenuBar(ResId const&)
 MergeData::Dump()
-MultiLineEdit::GetHScrollBar() const
-MultiLineEdit::GetLeftMargin() const
-MultiLineEdit::GetTextLines() const
 NfCurrencyEntry::NfCurrencyEntry()
 NumberFormatCodeWrapper::getDefault(short, short) const
 NumericBox::GetValue(unsigned short) const


More information about the Libreoffice-commits mailing list