diff options
-rw-r--r-- | writerfilter/source/rtftok/rtfcontrolwords.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/writerfilter/source/rtftok/rtfcontrolwords.cxx b/writerfilter/source/rtftok/rtfcontrolwords.cxx index e25aa4c5deb7..18a6b3e42706 100644 --- a/writerfilter/source/rtftok/rtfcontrolwords.cxx +++ b/writerfilter/source/rtftok/rtfcontrolwords.cxx @@ -10,7 +10,7 @@ #include <rtflistener.hxx> #include <oox/token/namespaces.hxx> #include <oox/token/tokens.hxx> -#include <string.h> +#include <cstring> namespace writerfilter { @@ -1850,7 +1850,7 @@ int nRTFControlWords = SAL_N_ELEMENTS(aRTFControlWords); bool RTFSymbol::operator<(const RTFSymbol& rOther) const { - return strcmp(sKeyword, rOther.sKeyword) < 0; + return std::strcmp(sKeyword, rOther.sKeyword) < 0; } RTFMathSymbol aRTFMathControlWords[] = |