summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-09-14 14:00:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-09-14 14:01:10 +0100
commit767a65d9dd11308cb8f1384f80a7aab8c7ff5a38 (patch)
tree2ea29b764112b1725a50a339eb7818f1b004f43b /svx
parentaddf8139b7672e3264515be6d0ce51cdf43754c9 (diff)
callcatcher: update unused code list
No TriStateBoxes are loaded from .res files anymore. Change-Id: Ie897dc9a46a4e09e7fb1160a5bd4a65c63ba7979
Diffstat (limited to 'svx')
-rw-r--r--svx/source/dialog/measctrl.cxx29
1 files changed, 0 insertions, 29 deletions
diff --git a/svx/source/dialog/measctrl.cxx b/svx/source/dialog/measctrl.cxx
index 1a630eeb3236..e63d0befdef0 100644
--- a/svx/source/dialog/measctrl.cxx
+++ b/svx/source/dialog/measctrl.cxx
@@ -25,35 +25,6 @@
#include "svx/dlgutil.hxx"
#include <vcl/builder.hxx>
-SvxXMeasurePreview::SvxXMeasurePreview( Window* pParent,const ResId& rResId,const SfxItemSet& rInAttrs)
-: Control ( pParent, rResId )
-
-{
- SetMapMode( MAP_100TH_MM );
-
- Size aSize = GetOutputSize();
-
- // Scale: 1:2
- MapMode aMapMode = GetMapMode();
- aMapMode.SetScaleX( Fraction( 1, 2 ) );
- aMapMode.SetScaleY( Fraction( 1, 2 ) );
- SetMapMode( aMapMode );
-
- aSize = GetOutputSize();
- Point aPt1 = Point( aSize.Width() / 5, (long) ( aSize.Height() / 2 ) );
- Point aPt2 = Point( aSize.Width() * 4 / 5, (long) ( aSize.Height() / 2 ) );
-
- pMeasureObj = new SdrMeasureObj( aPt1, aPt2 );
- pModel = new SdrModel();
- pMeasureObj->SetModel( pModel );
-
- pMeasureObj->SetMergedItemSetAndBroadcast(rInAttrs);
-
- SetDrawMode( GetSettings().GetStyleSettings().GetHighContrastMode() ? OUTPUT_DRAWMODE_CONTRAST : OUTPUT_DRAWMODE_COLOR );
-
- Invalidate();
-}
-
SvxXMeasurePreview::SvxXMeasurePreview( Window* pParent, WinBits nStyle)
: Control(pParent, nStyle)
{