[Libreoffice-commits] core.git: chart2/source

Tor Lillqvist tml at iki.fi
Fri Jul 19 09:16:23 PDT 2013


 chart2/source/controller/dialogs/res_Trendline.cxx |   25 ---------------------
 1 file changed, 25 deletions(-)

New commits:
commit b5e915acd523fa0d2ebbd6629e96b61975de59c0
Author: Tor Lillqvist <tml at iki.fi>
Date:   Fri Jul 19 19:15:48 2013 +0300

    WaE: unused function
    
    Change-Id: Ib89d2f1321c5a926f67ad473c1612b550025cdfc

diff --git a/chart2/source/controller/dialogs/res_Trendline.cxx b/chart2/source/controller/dialogs/res_Trendline.cxx
index f3dde06..df44c8b 100644
--- a/chart2/source/controller/dialogs/res_Trendline.cxx
+++ b/chart2/source/controller/dialogs/res_Trendline.cxx
@@ -30,31 +30,6 @@
 #include <vector>
 #include <algorithm>
 
-namespace
-{
-
-    template< class T > long lcl_getRightEdge( T & rControl )
-    {
-        return rControl.CalcMinimumSize().Width() + rControl.GetPosPixel().X() - rControl.GetParent()->GetPosPixel().X();
-    }
-
-    template< class T > void lcl_AdjustControlSize( T & rControl )
-    {
-        Size aSize( rControl.GetSizePixel());
-        aSize.setWidth( rControl.CalcMinimumSize().Width());
-        rControl.SetSizePixel( aSize );
-    }
-
-    void lcl_AdjustControlSize( Control & rControl, long nRightEdge )
-    {
-        Size aSize( rControl.GetSizePixel());
-        Point aPosition( rControl.GetPosPixel());
-        aSize.setWidth( nRightEdge - aPosition.getX());
-        rControl.SetSizePixel( aSize );
-    }
-
-} // anonymous namespace
-
 namespace chart
 {
 


More information about the Libreoffice-commits mailing list