From 46906b68c443939beb9b0c44d3bef9c1ce9c39d9 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 18 Aug 2013 11:56:11 +0100 Subject: callcatcher: update unused code One of the SfxTabDialog ResID ctors is now gone, progress. Equally pleasing is that the last use of the old PercentField is gone now as well, so that can be removed and the new PercentFieldWrap can be renamed as PercentField to take its place Change-Id: I7a706e98d4dfdc3541da73c3375ee067a799b4bd --- svx/source/dialog/swframeexample.cxx | 17 ----------------- svx/source/sidebar/nbdtmg.cxx | 14 -------------- 2 files changed, 31 deletions(-) (limited to 'svx/source') diff --git a/svx/source/dialog/swframeexample.cxx b/svx/source/dialog/swframeexample.cxx index ee6bfdff4504..a623eff48f6f 100644 --- a/svx/source/dialog/swframeexample.cxx +++ b/svx/source/dialog/swframeexample.cxx @@ -34,23 +34,6 @@ using namespace ::com::sun::star::text; #define FLYINFLY_BORDER 3 #define DEMOTEXT "Ij" -SvxSwFrameExample::SvxSwFrameExample( Window *pParent, const ResId& rResID ) : - - Window(pParent, rResID), - - nHAlign (HoriOrientation::CENTER), - nHRel (RelOrientation::FRAME), - nVAlign (VertOrientation::TOP), - nVRel (RelOrientation::PRINT_AREA), - nWrap (WrapTextMode_NONE), - nAnchor (TextContentAnchorType_AT_PAGE), - bTrans (sal_False), - aRelPos (Point(0,0)) -{ - InitColors_Impl(); - SetMapMode(MAP_PIXEL); -} - SvxSwFrameExample::SvxSwFrameExample( Window *pParent, WinBits nStyle ) : Window(pParent, nStyle), diff --git a/svx/source/sidebar/nbdtmg.cxx b/svx/source/sidebar/nbdtmg.cxx index 288a85ad0112..679aacad6430 100644 --- a/svx/source/sidebar/nbdtmg.cxx +++ b/svx/source/sidebar/nbdtmg.cxx @@ -1654,20 +1654,6 @@ OutlineTypeMgr::OutlineTypeMgr(const NBOType aType): ImplLoad(OUString("standard.syc")); } -OutlineTypeMgr::OutlineTypeMgr(const NBOType aType,const SfxItemSet* pArg): - NBOTypeMgrBase(aType,pArg)//, - //pNumSettingsArrs( new NumSettingsArr_Impl[DEFAULT_NUM_VALUSET_COUNT]) -{ - Init(); - for(sal_Int32 nItem = 0; nItem < DEFAULT_NUM_VALUSET_COUNT; nItem++ ) - { - pDefaultOutlineSettingsArrs[nItem] = pOutlineSettingsArrs[nItem]; - } - //Initial the first time to store the default value. Then do it again for customized value - Init(); - ImplLoad(OUString("standard.syc")); -} - OutlineTypeMgr::OutlineTypeMgr(const OutlineTypeMgr& aTypeMgr): NBOTypeMgrBase(aTypeMgr)//, //pNumSettingsArrs( new NumSettingsArr_Impl[DEFAULT_NUM_VALUSET_COUNT]) -- cgit