summaryrefslogtreecommitdiff
path: root/sc/source/ui/attrdlg/tabpages.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/attrdlg/tabpages.cxx')
-rw-r--r--sc/source/ui/attrdlg/tabpages.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/attrdlg/tabpages.cxx b/sc/source/ui/attrdlg/tabpages.cxx
index 2df9dedf9e06..8c728c512d19 100644
--- a/sc/source/ui/attrdlg/tabpages.cxx
+++ b/sc/source/ui/attrdlg/tabpages.cxx
@@ -44,7 +44,7 @@ static const sal_uInt16 pProtectionRanges[] =
ScTabPageProtection::ScTabPageProtection(Window* pParent, const SfxItemSet& rCoreAttrs)
: SfxTabPage(pParent, "CellProtectionPage",
- "modules/scalc/ui/cellprotectionpage.ui", rCoreAttrs)
+ "modules/scalc/ui/cellprotectionpage.ui", &rCoreAttrs)
{
get(m_pBtnHideCell,"checkHideAll");
get(m_pBtnProtect,"checkProtected");
@@ -68,9 +68,9 @@ const sal_uInt16* ScTabPageProtection::GetRanges()
return pProtectionRanges;
}
-SfxTabPage* ScTabPageProtection::Create( Window* pParent, const SfxItemSet& rAttrSet )
+SfxTabPage* ScTabPageProtection::Create( Window* pParent, const SfxItemSet* rAttrSet )
{
- return ( new ScTabPageProtection( pParent, rAttrSet ) );
+ return ( new ScTabPageProtection( pParent, *rAttrSet ) );
}
void ScTabPageProtection::Reset( const SfxItemSet* rCoreAttrs )