diff options
Diffstat (limited to 'xmloff/source/meta/xmlmetai.cxx')
-rw-r--r-- | xmloff/source/meta/xmlmetai.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmloff/source/meta/xmlmetai.cxx b/xmloff/source/meta/xmlmetai.cxx index 82e2d8e4c979..18b1560ead8c 100644 --- a/xmloff/source/meta/xmlmetai.cxx +++ b/xmloff/source/meta/xmlmetai.cxx @@ -24,6 +24,7 @@ #include <com/sun/star/beans/XPropertySet.hpp> #include <com/sun/star/beans/XPropertySetInfo.hpp> #include <comphelper/processfactory.hxx> +#include <rtl/character.hxx> #include <xmloff/xmlmetai.hxx> #include <xmloff/xmlimp.hxx> #include <xmloff/nmspmap.hxx> @@ -274,7 +275,7 @@ void SvXMLMetaDocumentContext::setBuildId(OUString const& i_rBuildId, const uno: OUStringBuffer sNumber; for (sal_Int32 i = 0; i < rest.getLength(); ++i) { - if (isdigit(rest[i])) + if (rtl::isAsciiDigit(rest[i])) { sNumber.append(rest[i]); } |