summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/numfmt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/tabpages/numfmt.cxx')
-rw-r--r--cui/source/tabpages/numfmt.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/tabpages/numfmt.cxx b/cui/source/tabpages/numfmt.cxx
index 3b75d596159b..452866736904 100644
--- a/cui/source/tabpages/numfmt.cxx
+++ b/cui/source/tabpages/numfmt.cxx
@@ -225,7 +225,7 @@ void SvxNumberPreview::DataChanged( const DataChangedEvent& rDCEvt )
SvxNumberFormatTabPage::SvxNumberFormatTabPage(Window* pParent,
const SfxItemSet& rCoreAttrs)
: SfxTabPage(pParent, "NumberingFormatPage",
- "cui/ui/numberingformatpage.ui", rCoreAttrs)
+ "cui/ui/numberingformatpage.ui", &rCoreAttrs)
, pNumItem(NULL)
, pNumFmtShell(NULL)
, nInitFormat(ULONG_MAX)
@@ -360,9 +360,9 @@ const sal_uInt16* SvxNumberFormatTabPage::GetRanges()
#************************************************************************/
SfxTabPage* SvxNumberFormatTabPage::Create( Window* pParent,
- const SfxItemSet& rAttrSet )
+ const SfxItemSet* rAttrSet )
{
- return ( new SvxNumberFormatTabPage( pParent, rAttrSet ) );
+ return ( new SvxNumberFormatTabPage( pParent, *rAttrSet ) );
}