Kaydet (Commit) 6c657296 authored tarafından Caolán McNamara's avatar Caolán McNamara

more valient efforts to remove UniString from ResID ctor

Change-Id: I1227d42f5d24d1743212125ffbeb07513b7d092b
üst 826be413
...@@ -248,9 +248,7 @@ inline SdrGlobalData& GetSdrGlobalData() ...@@ -248,9 +248,7 @@ inline SdrGlobalData& GetSdrGlobalData()
namespace sdr namespace sdr
{ {
SVX_DLLPUBLIC OUString GetResourceString(sal_uInt16 nResID);
SVX_DLLPUBLIC String GetResourceString(sal_uInt16 nResID);
} }
///////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////
......
...@@ -39,7 +39,7 @@ ResMgr* ImpGetResMgr(); ...@@ -39,7 +39,7 @@ ResMgr* ImpGetResMgr();
// SDR_StringCacheBegin (256) to SDR_StringCacheEnd // SDR_StringCacheBegin (256) to SDR_StringCacheEnd
// are cached. // are cached.
// See also SvdStr.Hrc // See also SvdStr.Hrc
SVX_DLLPUBLIC String ImpGetResStr(sal_uInt16 nResID); SVX_DLLPUBLIC OUString ImpGetResStr(sal_uInt16 nResID);
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////
......
...@@ -442,19 +442,19 @@ ResMgr* ImpGetResMgr() ...@@ -442,19 +442,19 @@ ResMgr* ImpGetResMgr()
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////
String ImpGetResStr(sal_uInt16 nResID) OUString ImpGetResStr(sal_uInt16 nResID)
{ {
return String(ResId(nResID, *ImpGetResMgr())); return ResId(nResID, *ImpGetResMgr()).toString();
} }
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////
namespace sdr namespace sdr
{ {
String GetResourceString(sal_uInt16 nResID) OUString GetResourceString(sal_uInt16 nResID)
{ {
return ImpGetResStr( nResID ); return ImpGetResStr(nResID);
} }
} }
//////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment