diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-08-18 11:56:11 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-08-18 12:34:13 +0100 |
commit | 46906b68c443939beb9b0c44d3bef9c1ce9c39d9 (patch) | |
tree | 821088e62be796d8ce7a6110e1aff4f7f8015931 /sfx2 | |
parent | b0041fd68ae1a9df91f8c3274e0b4003ef914a44 (diff) |
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
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/tabdlg.cxx | 25 | ||||
-rw-r--r-- | sfx2/source/sidebar/SidebarPanelBase.cxx | 16 | ||||
-rw-r--r-- | sfx2/source/sidebar/Theme.cxx | 12 | ||||
-rw-r--r-- | sfx2/source/sidebar/Tools.cxx | 12 |
4 files changed, 0 insertions, 65 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index 2a9c6057a404..f37335df5b95 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -398,31 +398,6 @@ void SfxTabPage::AddItemConnection( sfx::ItemConnectionBase* pConnection ) // ----------------------------------------------------------------------- SfxTabDialog::SfxTabDialog - -/* [Description] - - Constructor -*/ - -( - SfxViewFrame* pViewFrame, // Frame, to which the Dialog belongs - Window* pParent, // Parent Window - const ResId& rResId, // ResourceId - const SfxItemSet* pItemSet, // Itemset with the data; - // can be NULL, when Pages are onDemand - sal_Bool bEditFmt, // Flag: templates are processed - // when yes -> additional Button for standard - const String* pUserButtonText // Text for UserButton; - // if != 0, the UserButton is created -) - : TabDialog(pParent, rResId) - , pFrame(pViewFrame) - , INI_LIST(pItemSet) -{ - Init_Impl( bFmt, pUserButtonText, &rResId ); -} - -SfxTabDialog::SfxTabDialog ( SfxViewFrame* pViewFrame, // Frame, to which the Dialog belongs Window* pParent, // Parent Window diff --git a/sfx2/source/sidebar/SidebarPanelBase.cxx b/sfx2/source/sidebar/SidebarPanelBase.cxx index 4e6547189940..c1b0e39d59cf 100644 --- a/sfx2/source/sidebar/SidebarPanelBase.cxx +++ b/sfx2/source/sidebar/SidebarPanelBase.cxx @@ -111,22 +111,6 @@ void SAL_CALL SidebarPanelBase::disposing (void) -void SidebarPanelBase::SetControl (::Window* pControl) -{ - mpControl = pControl; -} - - - - -::Window* SidebarPanelBase::GetControl (void) const -{ - return mpControl; -} - - - - // XContextChangeEventListener void SAL_CALL SidebarPanelBase::notifyContextChangeEvent ( const ui::ContextChangeEventObject& rEvent) diff --git a/sfx2/source/sidebar/Theme.cxx b/sfx2/source/sidebar/Theme.cxx index abc4315d3760..d6d95d78833e 100644 --- a/sfx2/source/sidebar/Theme.cxx +++ b/sfx2/source/sidebar/Theme.cxx @@ -151,18 +151,6 @@ bool Theme::GetBoolean (const ThemeItem eItem) -Rectangle Theme::GetRectangle (const ThemeItem eItem) -{ - const PropertyType eType (GetPropertyType(eItem)); - OSL_ASSERT(eType==PT_Rectangle); - const sal_Int32 nIndex (GetIndex(eItem, eType)); - const Theme& rTheme (GetCurrentTheme()); - return rTheme.maRectangles[nIndex]; -} - - - - bool Theme::IsHighContrastMode (void) { const Theme& rTheme (GetCurrentTheme()); diff --git a/sfx2/source/sidebar/Tools.cxx b/sfx2/source/sidebar/Tools.cxx index 131ef3f49bf4..e3556497c96f 100644 --- a/sfx2/source/sidebar/Tools.cxx +++ b/sfx2/source/sidebar/Tools.cxx @@ -137,18 +137,6 @@ Gradient Tools::AwtToVclGradient (const css::awt::Gradient aAwtGradient) -SvBorder Tools::RectangleToSvBorder (const Rectangle aBox) -{ - return SvBorder( - aBox.Left(), - aBox.Top(), - aBox.Right(), - aBox.Bottom()); -} - - - - util::URL Tools::GetURL (const ::rtl::OUString& rsCommand) { util::URL aURL; |