diff options
Diffstat (limited to 'sw/source/ui/envelp/labelcfg.cxx')
-rw-r--r-- | sw/source/ui/envelp/labelcfg.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/ui/envelp/labelcfg.cxx b/sw/source/ui/envelp/labelcfg.cxx index a2a8fb33134d..d8dc95333717 100644 --- a/sw/source/ui/envelp/labelcfg.cxx +++ b/sw/source/ui/envelp/labelcfg.cxx @@ -31,6 +31,7 @@ #include <swtypes.hxx> #include <labelcfg.hxx> #include <labimp.hxx> +#include <comphelper/string.hxx> #include <unotools/configpathes.hxx> #include <unomid.h> @@ -89,7 +90,7 @@ SwLabRec* lcl_CreateSwLabRec(Sequence<Any>& rValues, const OUString& rManufactur //except for the continuous flag ('C'/'S') pValues[nProp] >>= sTmp; String sMeasure(sTmp); - sal_uInt16 nTokenCount = sMeasure.GetTokenCount(';'); + sal_uInt16 nTokenCount = comphelper::string::getTokenCount(sMeasure, ';'); for(sal_uInt16 i = 0; i < nTokenCount; i++) { String sToken(sMeasure.GetToken(i, ';' )); |