diff --git a/include/svx/swframeposstrings.hxx b/include/svx/swframeposstrings.hxx index a6ecc3a7605e..7b9b7f2bd4be 100644 --- a/include/svx/swframeposstrings.hxx +++ b/include/svx/swframeposstrings.hxx @@ -80,7 +80,7 @@ public: STR_MAX }; - const String& GetString(StringId eId); + const OUString& GetString(StringId eId); }; #endif diff --git a/svx/source/dialog/swframeposstrings.cxx b/svx/source/dialog/swframeposstrings.cxx index ad4f1ecd3e28..3729bb6f5c14 100644 --- a/svx/source/dialog/swframeposstrings.cxx +++ b/svx/source/dialog/swframeposstrings.cxx @@ -26,7 +26,7 @@ class SvxSwFramePosString_Impl : public Resource { friend class SvxSwFramePosString; - String aStrings[SvxSwFramePosString::STR_MAX]; + OUString aStrings[SvxSwFramePosString::STR_MAX]; public: SvxSwFramePosString_Impl(); }; @@ -51,7 +51,7 @@ SvxSwFramePosString::~SvxSwFramePosString() delete pImpl; } -const String& SvxSwFramePosString::GetString(StringId eId) +const OUString& SvxSwFramePosString::GetString(StringId eId) { DBG_ASSERT(eId >= 0 && eId < STR_MAX, "invalid StringId"); if(!(eId >= 0 && eId < STR_MAX))