diff options
Diffstat (limited to 'lotuswordpro/source/filter/xfilter/xfcolor.cxx')
-rw-r--r-- | lotuswordpro/source/filter/xfilter/xfcolor.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lotuswordpro/source/filter/xfilter/xfcolor.cxx b/lotuswordpro/source/filter/xfilter/xfcolor.cxx index c2e66be99448..09d505865dd8 100644 --- a/lotuswordpro/source/filter/xfilter/xfcolor.cxx +++ b/lotuswordpro/source/filter/xfilter/xfcolor.cxx @@ -57,14 +57,15 @@ * @file * Color object to serial to xml filter. ************************************************************************/ +#include <string.h> #include <stdio.h> -#include "xfcolor.hxx" +#include "xfcolor.hxx" rtl::OUString XFColor::ToString() const { char buf[8]; - rtl_zeroMemory(buf,8); + memset(buf, 0, 8); sprintf(buf,"#%2x%2x%2x",m_nRed, m_nGreen, m_nBlue); for( int i=1; i<7;i++ ) { |