summaryrefslogtreecommitdiff
path: root/include/svx/langbox.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/svx/langbox.hxx')
-rw-r--r--include/svx/langbox.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/langbox.hxx b/include/svx/langbox.hxx
index 848d93a2de72..9b130559320f 100644
--- a/include/svx/langbox.hxx
+++ b/include/svx/langbox.hxx
@@ -160,7 +160,7 @@ private:
SVX_DLLPRIVATE void ImplClear();
DECL_LINK(ChangeHdl, weld::ComboBoxText&, void);
public:
- LanguageBox(weld::ComboBoxText* pControl);
+ LanguageBox(std::unique_ptr<weld::ComboBoxText> pControl);
void SetLanguageList( SvxLanguageListFlags nLangList,
bool bHasLangNone, bool bLangNoneIsLangAll = false );
void AddLanguages( const std::vector< LanguageType >& rLanguageTypes, SvxLanguageListFlags nLangList );