diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-22 21:28:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-22 21:28:18 +0100 |
commit | e6297cf05d943f8dee51dd995e9b8ff039cc9cd1 (patch) | |
tree | 71f96aca4e5dca7ae3f2a6726cc0cae68bc653f6 /xmloff | |
parent | 9df97a7d65a68699f5ee90c2541bd7c8a2df95d9 (diff) |
Use rtl::isAscii* instead of ctype.h is* with sal_Unicode arg
Change-Id: Ieb4bda18ea6ee8d957bb9b9f584e12eb24091513
Diffstat (limited to 'xmloff')
-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]); } |