diff options
author | Tor Lillqvist <tml@iki.fi> | 2013-07-19 19:15:48 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2013-07-19 19:15:48 +0300 |
commit | b5e915acd523fa0d2ebbd6629e96b61975de59c0 (patch) | |
tree | ca57bde9be79c4729d3a1521758be14ee1d8285d /chart2 | |
parent | 226ae6dfd00b748753804c11690089e4346b5eb2 (diff) |
WaE: unused function
Change-Id: Ib89d2f1321c5a926f67ad473c1612b550025cdfc
Diffstat (limited to 'chart2')
-rw-r--r-- | chart2/source/controller/dialogs/res_Trendline.cxx | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/chart2/source/controller/dialogs/res_Trendline.cxx b/chart2/source/controller/dialogs/res_Trendline.cxx index f3dde064dcd1..df44c8b2e86e 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 { |