summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/printopt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/dialog/printopt.cxx')
-rw-r--r--sfx2/source/dialog/printopt.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/dialog/printopt.cxx b/sfx2/source/dialog/printopt.cxx
index 0c00b345bb5b..da1a4770912d 100644
--- a/sfx2/source/dialog/printopt.cxx
+++ b/sfx2/source/dialog/printopt.cxx
@@ -117,7 +117,7 @@ void SfxCommonPrintOptionsTabPage::dispose()
SfxTabPage* SfxCommonPrintOptionsTabPage::Create( vcl::Window* pParent, const SfxItemSet* rAttrSet )
{
- return( new SfxCommonPrintOptionsTabPage( pParent, *rAttrSet ) );
+ return( VclPtr<SfxCommonPrintOptionsTabPage>::Create( pParent, *rAttrSet ) );
}
vcl::Window* SfxCommonPrintOptionsTabPage::GetParentLabeledBy( const vcl::Window* pWindow ) const