summaryrefslogtreecommitdiff
path: root/extensions/source/propctrlr/formcomponenthandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/propctrlr/formcomponenthandler.cxx')
-rw-r--r--extensions/source/propctrlr/formcomponenthandler.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/source/propctrlr/formcomponenthandler.cxx b/extensions/source/propctrlr/formcomponenthandler.cxx
index 68775d5c940b..128307f30456 100644
--- a/extensions/source/propctrlr/formcomponenthandler.cxx
+++ b/extensions/source/propctrlr/formcomponenthandler.cxx
@@ -2721,8 +2721,7 @@ namespace pcr
throw RuntimeException(); // caught below
TabPageParent aParent(aDialog.get_content_area(), &aDialog);
- VclPtr<SfxTabPage> xPage = (*fnCreatePage)(aParent, &aCoreSet);
- aDialog.SetTabPage(xPage);
+ aDialog.SetTabPage((*fnCreatePage)(aParent, &aCoreSet));
_rClearBeforeDialog.clear();
if ( RET_OK == aDialog.run() )