From e443216ce2eeb2d4c7463bb019eed32f5ca4ad1c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 26 Mar 2012 10:18:32 +0100 Subject: readUnicodeString can just return the string seeing as no-one checks the return value, we don't need the intermediate temporary string --- cui/source/inc/dialmgr.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cui') 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 -- cgit