more valient efforts to remove UniString from ResID ctor
Change-Id: I1227d42f5d24d1743212125ffbeb07513b7d092b
This commit is contained in:
parent
826be413d6
commit
6c657296f1
3 changed files with 8 additions and 10 deletions
|
@ -248,9 +248,7 @@ inline SdrGlobalData& GetSdrGlobalData()
|
|||
|
||||
namespace sdr
|
||||
{
|
||||
|
||||
SVX_DLLPUBLIC String GetResourceString(sal_uInt16 nResID);
|
||||
|
||||
SVX_DLLPUBLIC OUString GetResourceString(sal_uInt16 nResID);
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -39,7 +39,7 @@ ResMgr* ImpGetResMgr();
|
|||
// SDR_StringCacheBegin (256) to SDR_StringCacheEnd
|
||||
// are cached.
|
||||
// See also SvdStr.Hrc
|
||||
SVX_DLLPUBLIC String ImpGetResStr(sal_uInt16 nResID);
|
||||
SVX_DLLPUBLIC OUString ImpGetResStr(sal_uInt16 nResID);
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
|
|
@ -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
|
||||
{
|
||||
String GetResourceString(sal_uInt16 nResID)
|
||||
{
|
||||
return ImpGetResStr( nResID );
|
||||
}
|
||||
OUString GetResourceString(sal_uInt16 nResID)
|
||||
{
|
||||
return ImpGetResStr(nResID);
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in a new issue