diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-03-26 10:18:32 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-03-26 12:18:09 +0100 |
commit | e443216ce2eeb2d4c7463bb019eed32f5ca4ad1c (patch) | |
tree | bbfff4052bc3ff4d2b3f9810d34774224ed1e7e1 /cui | |
parent | 723613ab5ca5e59387dcba63d31bdb66b88035c2 (diff) |
readUnicodeString can just return the string
seeing as no-one checks the return value, we don't need
the intermediate temporary string
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/inc/dialmgr.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/inc/dialmgr.hxx b/cui/source/inc/dialmgr.hxx index 29d3eef8bf69..9737fbb6419a 100644 --- a/cui/source/inc/dialmgr.hxx +++ b/cui/source/inc/dialmgr.hxx @@ -34,9 +34,9 @@ // forward --------------------------------------------------------------- -#define CUI_MGR() (*CuiResMgr::GetResMgr()) +#define CUI_MGR() (*CuiResMgr::GetResMgr()) #define CUI_RES(i) ResId(i,CUI_MGR()) -#define CUI_RESSTR(i) UniString(ResId(i,CUI_MGR())) +#define CUI_RESSTR(i) ResId::toString(ResId(i,CUI_MGR())) class ResMgr; struct CuiResMgr |