diff options
Diffstat (limited to 'sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx')
-rw-r--r-- | sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx index 035b65bb1b55..3d59a6dfce51 100644 --- a/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx +++ b/sc/source/ui/sidebar/NumberFormatPropertyPanel.cxx @@ -194,10 +194,8 @@ VclPtr<vcl::Window> NumberFormatPropertyPanel::Create ( if (pBindings == NULL) throw lang::IllegalArgumentException("no SfxBindings given to NumberFormatPropertyPanel::Create", NULL, 2); - return VclPtr<vcl::Window>( - new NumberFormatPropertyPanel( - pParent, rxFrame, pBindings), - SAL_NO_ACQUIRE); + return VclPtr<NumberFormatPropertyPanel>::Create( + pParent, rxFrame, pBindings); } void NumberFormatPropertyPanel::DataChanged( |