summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/tabpages.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/inc/tabpages.hxx')
-rw-r--r--sc/source/ui/inc/tabpages.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/inc/tabpages.hxx b/sc/source/ui/inc/tabpages.hxx
index f31f93a0300c..777390c65b62 100644
--- a/sc/source/ui/inc/tabpages.hxx
+++ b/sc/source/ui/inc/tabpages.hxx
@@ -28,7 +28,7 @@ class ScTabPageProtection : public SfxTabPage
{
static const sal_uInt16 pProtectionRanges[];
public:
- static SfxTabPage* Create ( vcl::Window* pParent,
+ static VclPtr<SfxTabPage> Create ( vcl::Window* pParent,
const SfxItemSet* rAttrSet );
static const sal_uInt16* GetRanges () { return pProtectionRanges; }
virtual bool FillItemSet ( SfxItemSet* rCoreAttrs ) SAL_OVERRIDE;