diff options
Diffstat (limited to 'svx/source/dialog/langbox.cxx')
-rw-r--r-- | svx/source/dialog/langbox.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/dialog/langbox.cxx b/svx/source/dialog/langbox.cxx index d61862794f66..9311c53b9207 100644 --- a/svx/source/dialog/langbox.cxx +++ b/svx/source/dialog/langbox.cxx @@ -111,7 +111,7 @@ VCL_BUILDER_DECL_FACTORY(SvxLanguageBox) nBits |= WB_DROPDOWN; else nBits |= WB_BORDER; - VclPtrInstance<SvxLanguageBox> pLanguageBox(pParent, nBits); + SvxLanguageBox *pLanguageBox = new SvxLanguageBox(pParent, nBits); pLanguageBox->EnableAutoSize(true); return pLanguageBox; } @@ -124,7 +124,7 @@ VCL_BUILDER_DECL_FACTORY(SvxLanguageComboBox) nBits |= WB_DROPDOWN; else nBits |= WB_BORDER; - VclPtrInstance<SvxLanguageComboBox> pLanguageBox(pParent, nBits); + SvxLanguageComboBox *pLanguageBox = new SvxLanguageComboBox(pParent, nBits); pLanguageBox->EnableAutoSize(true); return pLanguageBox; } |