diff --git a/formula/source/ui/dlg/funcpage.cxx b/formula/source/ui/dlg/funcpage.cxx index 7094994f1049..ef38e18b2bce 100644 --- a/formula/source/ui/dlg/funcpage.cxx +++ b/formula/source/ui/dlg/funcpage.cxx @@ -223,7 +223,7 @@ sal_uInt16 FuncPage::GetFunctionEntryCount() return aLbFunction.GetSelectEntryCount(); } -String FuncPage::GetSelFunctionName() const +OUString FuncPage::GetSelFunctionName() const { return aLbFunction.GetSelectEntry(); } diff --git a/formula/source/ui/dlg/funcpage.hxx b/formula/source/ui/dlg/funcpage.hxx index 6a4a36ae8a5f..056c4a5a4399 100644 --- a/formula/source/ui/dlg/funcpage.hxx +++ b/formula/source/ui/dlg/funcpage.hxx @@ -98,7 +98,7 @@ public: sal_uInt16 GetFuncPos(const IFunctionDescription* _pDesc); const IFunctionDescription* GetFuncDesc( sal_uInt16 nPos ) const; - String GetSelFunctionName() const; + OUString GetSelFunctionName() const; void SetDoubleClickHdl( const Link& rLink ) { aDoubleClickLink = rLink; } const Link& GetDoubleClickHdl() const { return aDoubleClickLink; }