summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-12-21 20:33:57 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-12-29 18:02:26 +0000
commit5aa0ac02a0cb9b7a387366f841bc603cbe396eaa (patch)
tree01b2f9529a5807c131f1582abbd7c25b93ab4017 /sw/source
parentd906615e35c1a255c58c3f2085c8e2f110eb522a (diff)
callcatcher: update unused code list
Change-Id: I47467b53705f8059a829126a598e29a1105df13c
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/ui/frmdlg/colex.cxx24
-rw-r--r--sw/source/ui/inc/colex.hxx1
2 files changed, 0 insertions, 25 deletions
diff --git a/sw/source/ui/frmdlg/colex.cxx b/sw/source/ui/frmdlg/colex.cxx
index 4a810327a265..147e45f3e59c 100644
--- a/sw/source/ui/frmdlg/colex.cxx
+++ b/sw/source/ui/frmdlg/colex.cxx
@@ -295,30 +295,6 @@ extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeSwColExample(Window *pParen
return new SwColExample(pParent);
}
-SwColumnOnlyExample::SwColumnOnlyExample( Window* pParent, const ResId& rResId)
- : Window(pParent, rResId)
- , m_aFrmSize(1,1)
-{
- SetMapMode( MapMode( MAP_TWIP ) );
- m_aWinSize = GetOutputSizePixel();
- m_aWinSize.Height() -= 4;
- m_aWinSize.Width() -= 4;
-
- m_aWinSize = PixelToLogic( m_aWinSize );
-
- SetBorderStyle( WINDOW_BORDER_MONO );
-
- m_aFrmSize = SvxPaperInfo::GetPaperSize(PAPER_A4);// DIN A4
- ::FitToActualSize(m_aCols, (sal_uInt16)m_aFrmSize.Width());
-
- long nHeight = m_aFrmSize.Height();
- Fraction aScale( m_aWinSize.Height(), nHeight );
- MapMode aMapMode( GetMapMode() );
- aMapMode.SetScaleX( aScale );
- aMapMode.SetScaleY( aScale );
- SetMapMode( aMapMode );
-}
-
SwColumnOnlyExample::SwColumnOnlyExample(Window* pParent)
: Window(pParent)
, m_aFrmSize(1,1)
diff --git a/sw/source/ui/inc/colex.hxx b/sw/source/ui/inc/colex.hxx
index 5bfe2bd7654c..d3263139e82a 100644
--- a/sw/source/ui/inc/colex.hxx
+++ b/sw/source/ui/inc/colex.hxx
@@ -108,7 +108,6 @@ protected:
virtual void Paint( const Rectangle& rRect );
public:
- SwColumnOnlyExample(Window* , const ResId&);
SwColumnOnlyExample(Window*);
void SetColumns(const SwFmtCol& rCol);