summaryrefslogtreecommitdiff
path: root/svtools/source/control/indexentryres.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/control/indexentryres.cxx')
-rw-r--r--svtools/source/control/indexentryres.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/control/indexentryres.cxx b/svtools/source/control/indexentryres.cxx
index 5a741122a9cd..3b0007ce304b 100644
--- a/svtools/source/control/indexentryres.cxx
+++ b/svtools/source/control/indexentryres.cxx
@@ -76,7 +76,7 @@ IndexEntryRessource::IndexEntryRessource()
mp_Data = new IndexEntryRessourceData[INDEXENTRY_RESSOURCE_COUNT];
#define ASCSTR(str) rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(str))
- #define RESSTR(rid) ResId::toString(SvtResId(rid))
+ #define RESSTR(rid) SvtResId(rid).toString()
mp_Data[STR_SVT_INDEXENTRY_ALPHANUMERIC - STR_SVT_INDEXENTRY_START] =
IndexEntryRessourceData (ASCSTR("alphanumeric"), RESSTR(STR_SVT_INDEXENTRY_ALPHANUMERIC));