diff options
Diffstat (limited to 'svx/source/sidebar/text/TextPropertyPanel.cxx')
-rw-r--r-- | svx/source/sidebar/text/TextPropertyPanel.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/svx/source/sidebar/text/TextPropertyPanel.cxx b/svx/source/sidebar/text/TextPropertyPanel.cxx index 295e3e2409ad..35a9aca940d3 100644 --- a/svx/source/sidebar/text/TextPropertyPanel.cxx +++ b/svx/source/sidebar/text/TextPropertyPanel.cxx @@ -75,14 +75,11 @@ VclPtr<vcl::Window> TextPropertyPanel::Create ( if (pBindings == NULL) throw lang::IllegalArgumentException("no SfxBindings given to TextPropertyPanel::Create", NULL, 2); - return VclPtr< vcl::Window >( - VclPtr<TextPropertyPanel>::Create( - + return VclPtr<TextPropertyPanel>::Create( pParent, rxFrame, pBindings, - rContext), - SAL_NO_ACQUIRE); + rContext); } |