summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-03-26 10:18:32 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-03-26 12:18:09 +0100
commite443216ce2eeb2d4c7463bb019eed32f5ca4ad1c (patch)
treebbfff4052bc3ff4d2b3f9810d34774224ed1e7e1 /svx
parent723613ab5ca5e59387dcba63d31bdb66b88035c2 (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 'svx')
-rw-r--r--svx/inc/svx/dialmgr.hxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/inc/svx/dialmgr.hxx b/svx/inc/svx/dialmgr.hxx
index 2dbe32f32303..41c4028c0637 100644
--- a/svx/inc/svx/dialmgr.hxx
+++ b/svx/inc/svx/dialmgr.hxx
@@ -43,8 +43,7 @@ struct SVX_DLLPUBLIC DialogsResMgr
#define DIALOG_MGR() (*DialogsResMgr::GetResMgr())
#define SVX_RES(i) ResId(i,DIALOG_MGR())
-#define SVX_RESSTR(i) UniString(ResId(i,DIALOG_MGR()))
-#define SVX_RESSSTR(i) String(ResId(i,DIALOG_MGR()))
+#define SVX_RESSTR(i) ResId::toString(ResId(i,DIALOG_MGR()))
#endif