diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-08-27 09:16:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-08-27 09:58:35 +0100 |
commit | f00cd93a66a6cf236114e810b1470e562315b777 (patch) | |
tree | 7edff4a18f651eb90b000a661d25883410f784bd /sw/source/ui | |
parent | 93be66f98f3180cbbe358bb5b38f64852a0d30fc (diff) |
callcatcher: update unused code, esp unused Resource based ctor
e.g. no ImageRadioButton is now loaded from any res/rsc file, so
that ctor and associated code paths can be stripped out
Change-Id: Ic4cf19d45adb7c734f150e0b89eef193157a74a7
Diffstat (limited to 'sw/source/ui')
-rw-r--r-- | sw/source/ui/fldui/fldpage.cxx | 16 | ||||
-rw-r--r-- | sw/source/ui/fldui/fldpage.hxx | 4 | ||||
-rw-r--r-- | sw/source/ui/inc/condedit.hxx | 1 | ||||
-rw-r--r-- | sw/source/ui/inc/numfmtlb.hxx | 4 | ||||
-rw-r--r-- | sw/source/ui/utlui/condedit.cxx | 8 | ||||
-rw-r--r-- | sw/source/ui/utlui/numfmtlb.cxx | 16 |
6 files changed, 0 insertions, 49 deletions
diff --git a/sw/source/ui/fldui/fldpage.cxx b/sw/source/ui/fldui/fldpage.cxx index 0096bc5d6fc6..ffbd02285f83 100644 --- a/sw/source/ui/fldui/fldpage.cxx +++ b/sw/source/ui/fldui/fldpage.cxx @@ -41,22 +41,6 @@ using namespace ::com::sun::star; -SwFldPage::SwFldPage( Window *pParent, const ResId &rId, - const SfxItemSet &rAttrSet ) - :SfxTabPage (pParent, rId, rAttrSet), - m_pCurFld (0), - m_pWrtShell (0), - m_nTypeSel (LISTBOX_ENTRY_NOTFOUND), - m_nSelectionSel (LISTBOX_ENTRY_NOTFOUND), - m_bFldEdit (false), - m_bInsert (sal_True), - m_bFldDlgHtmlMode (sal_False), - m_bRefresh (sal_False), - m_bFirstHTMLInit (sal_True) -{ - -} - SwFldPage::SwFldPage(Window *pParent, const OString& rID, const OUString& rUIXMLDescription, const SfxItemSet &rAttrSet) : SfxTabPage(pParent, rID, rUIXMLDescription, rAttrSet) diff --git a/sw/source/ui/fldui/fldpage.hxx b/sw/source/ui/fldui/fldpage.hxx index 83c86bd3e232..4593ed873b37 100644 --- a/sw/source/ui/fldui/fldpage.hxx +++ b/sw/source/ui/fldui/fldpage.hxx @@ -77,10 +77,6 @@ protected: using SfxTabPage::ActivatePage; public: - SwFldPage( Window *pParent, - const ResId &rId, - const SfxItemSet &rAttrSet ); - SwFldPage(Window *pParent, const OString& rID, const OUString& rUIXMLDescription, const SfxItemSet &rAttrSet); diff --git a/sw/source/ui/inc/condedit.hxx b/sw/source/ui/inc/condedit.hxx index b55c48ba32ab..fce123ab5e9b 100644 --- a/sw/source/ui/inc/condedit.hxx +++ b/sw/source/ui/inc/condedit.hxx @@ -31,7 +31,6 @@ class SW_DLLPUBLIC ConditionEdit : public Edit, public DropTargetHelper SW_DLLPRIVATE virtual sal_Int8 ExecuteDrop( const ExecuteDropEvent& rEvt ); public: - ConditionEdit(Window* pParent, const ResId& rResId); ConditionEdit(Window* pParent, WinBits nStyle); void ShowBrackets(bool bShow) diff --git a/sw/source/ui/inc/numfmtlb.hxx b/sw/source/ui/inc/numfmtlb.hxx index 28cfd6e4425b..2dd2de9198a6 100644 --- a/sw/source/ui/inc/numfmtlb.hxx +++ b/sw/source/ui/inc/numfmtlb.hxx @@ -47,10 +47,6 @@ class SW_DLLPUBLIC NumFormatListBox : public ListBox public: NumFormatListBox(Window* pWin, WinBits nStyle); - NumFormatListBox( Window* pWin, const ResId& rResId, - short nFormatType = NUMBERFORMAT_NUMBER, sal_uLong nDefFmt = 0, - sal_Bool bUsrFmts = sal_True ); - NumFormatListBox( Window* pWin, SwView* pView, const ResId& rResId, short nFormatType = NUMBERFORMAT_NUMBER, sal_uLong nDefFmt = 0, sal_Bool bUsrFmts = sal_True ); diff --git a/sw/source/ui/utlui/condedit.cxx b/sw/source/ui/utlui/condedit.cxx index dc088bbaa2d6..e8f2b875fce8 100644 --- a/sw/source/ui/utlui/condedit.cxx +++ b/sw/source/ui/utlui/condedit.cxx @@ -27,14 +27,6 @@ using namespace ::svx; using namespace ::com::sun::star::uno; -ConditionEdit::ConditionEdit(Window* pParent, const ResId& rResId) - : Edit(pParent, rResId) - , DropTargetHelper(this) - , bBrackets(true) - , bEnableDrop(true) -{ -} - ConditionEdit::ConditionEdit(Window* pParent, WinBits nStyle) : Edit(pParent, nStyle) , DropTargetHelper(this) diff --git a/sw/source/ui/utlui/numfmtlb.cxx b/sw/source/ui/utlui/numfmtlb.cxx index f3e8de296bfa..b09ead625f91 100644 --- a/sw/source/ui/utlui/numfmtlb.cxx +++ b/sw/source/ui/utlui/numfmtlb.cxx @@ -54,22 +54,6 @@ using namespace ::com::sun::star::lang; * nDefFmt: Select this format and possibly insert it */ -NumFormatListBox::NumFormatListBox( Window* pWin, const ResId& rResId, - short nFormatType, sal_uLong nDefFmt, - sal_Bool bUsrFmts ) : - ListBox ( pWin, rResId ), - nCurrFormatType (-1), - nStdEntry (0), - bOneArea (sal_False), - nDefFormat (nDefFmt), - pVw (0), - pOwnFormatter (0), - bShowLanguageControl(sal_False), - bUseAutomaticLanguage(sal_True) -{ - Init(nFormatType, bUsrFmts); -} - NumFormatListBox::NumFormatListBox(Window* pWin, WinBits nStyle) : ListBox ( pWin, nStyle ), nCurrFormatType (-1), |