summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/border.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cui/source/tabpages/border.cxx')
-rw-r--r--cui/source/tabpages/border.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/tabpages/border.cxx b/cui/source/tabpages/border.cxx
index 120b554bc21d..a9cbdd3244e9 100644
--- a/cui/source/tabpages/border.cxx
+++ b/cui/source/tabpages/border.cxx
@@ -86,7 +86,7 @@ static void lcl_SetDecimalDigitsTo1(MetricField& rField)
SvxBorderTabPage::SvxBorderTabPage(Window* pParent, const SfxItemSet& rCoreAttrs)
- : SfxTabPage(pParent, "BorderPage", "cui/ui/borderpage.ui", rCoreAttrs)
+ : SfxTabPage(pParent, "BorderPage", "cui/ui/borderpage.ui", &rCoreAttrs)
,
@@ -350,9 +350,9 @@ const sal_uInt16* SvxBorderTabPage::GetRanges()
SfxTabPage* SvxBorderTabPage::Create( Window* pParent,
- const SfxItemSet& rAttrSet )
+ const SfxItemSet* rAttrSet )
{
- return ( new SvxBorderTabPage( pParent, rAttrSet ) );
+ return ( new SvxBorderTabPage( pParent, *rAttrSet ) );
}