summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/tpstat.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/docshell/tpstat.cxx')
-rw-r--r--sc/source/ui/docshell/tpstat.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/tpstat.cxx b/sc/source/ui/docshell/tpstat.cxx
index c18f331790e1..0be22a9b0428 100644
--- a/sc/source/ui/docshell/tpstat.cxx
+++ b/sc/source/ui/docshell/tpstat.cxx
@@ -29,7 +29,7 @@
VclPtr<SfxTabPage> ScDocStatPage::Create( vcl::Window *pParent, const SfxItemSet* rSet )
{
- return VclPtr<SfxTabPage>( new ScDocStatPage ( pParent, *rSet ), SAL_NO_ACQUIRE );
+ return VclPtr<ScDocStatPage>::Create( pParent, *rSet );
}
ScDocStatPage::ScDocStatPage( vcl::Window *pParent, const SfxItemSet& rSet )