summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2013-08-10 11:17:05 +0100
committerCaolán McNamara <caolanm@redhat.com>2013-08-10 12:25:10 +0100
commitbfafc8c3a137a98ad2cd939b11161f9961bc48d7 (patch)
treef2f592c370813953e83c0f085ed428b6d67db694 /sw
parent6a84a6ed0b1d30c8feb551a3a4db5aab437a74f7 (diff)
callcatcher: update unused code
mostly ResId using ctors left stranded post .ui conversion Change-Id: I06689eea30ee9146ba05294f52056c0d263695f5
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/inc/numberingtypelistbox.hxx2
-rw-r--r--sw/source/ui/misc/numberingtypelistbox.cxx12
2 files changed, 0 insertions, 14 deletions
diff --git a/sw/source/ui/inc/numberingtypelistbox.hxx b/sw/source/ui/inc/numberingtypelistbox.hxx
index 260fc05cc06a..7eaaa3669ffc 100644
--- a/sw/source/ui/inc/numberingtypelistbox.hxx
+++ b/sw/source/ui/inc/numberingtypelistbox.hxx
@@ -35,8 +35,6 @@ class SW_DLLPUBLIC SwNumberingTypeListBox : public ListBox
SwNumberingTypeListBox_Impl* pImpl;
public:
- SwNumberingTypeListBox( Window* pWin, const ResId& rResId,
- sal_uInt16 nTypeFlags = INSERT_NUM_TYPE_PAGE_STYLE_NUMBERING|INSERT_NUM_TYPE_NO_NUMBERING|INSERT_NUM_EXTENDED_TYPES );
SwNumberingTypeListBox( Window* pWin, WinBits nStyle = WB_BORDER );
~SwNumberingTypeListBox();
diff --git a/sw/source/ui/misc/numberingtypelistbox.cxx b/sw/source/ui/misc/numberingtypelistbox.cxx
index c908fb6e3c42..224dab5a4f3a 100644
--- a/sw/source/ui/misc/numberingtypelistbox.cxx
+++ b/sw/source/ui/misc/numberingtypelistbox.cxx
@@ -36,18 +36,6 @@ struct SwNumberingTypeListBox_Impl
uno::Reference<text::XNumberingTypeInfo> xInfo;
};
-SwNumberingTypeListBox::SwNumberingTypeListBox( Window* pWin, const ResId& rResId,
- sal_uInt16 nTypeFlags ) :
- ListBox(pWin, rResId),
- pImpl(new SwNumberingTypeListBox_Impl)
-{
- uno::Reference<uno::XComponentContext> xContext( ::comphelper::getProcessComponentContext() );
- uno::Reference<text::XDefaultNumberingProvider> xDefNum = text::DefaultNumberingProvider::create(xContext);
-
- pImpl->xInfo = uno::Reference<text::XNumberingTypeInfo>(xDefNum, uno::UNO_QUERY);
- Reload(nTypeFlags);
-}
-
SwNumberingTypeListBox::SwNumberingTypeListBox( Window* pWin, WinBits nStyle ) :
ListBox(pWin, nStyle),
pImpl(new SwNumberingTypeListBox_Impl)