writerfilter/source/rtftok/rtfcontrolwords.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit c415f37a40fdca0492ef0bdedbbf4ffcd567b386 Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Thu Jul 14 15:54:20 2016 +0200 writerfilter: avoid inclusion of deprecated C++ header Change-Id: I2eb6dd36a51ffc2c48e5f4951fd6250e12e9aad3 diff --git a/writerfilter/source/rtftok/rtfcontrolwords.cxx b/writerfilter/source/rtftok/rtfcontrolwords.cxx index e25aa4c..18a6b3e 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[] = _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits