diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2014-03-12 13:44:29 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@centrum.cz> | 2014-03-12 14:00:11 +0100 |
commit | da9bd301c6f62e829daadb2af6a6b9633d4f1cb9 (patch) | |
tree | 3134f13707641a854e97c47903c68e4f10cb254d /sc | |
parent | 6ba8668e08813948cf931084d251a724224ba11b (diff) |
std::strlen requires cstring include to build
Or, even simpler, don't bother with the needless namespacing.
Change-Id: I4bbb115c1c2c89881a0bf88ccd54b0f5cb8b3518
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/excel/xestream.cxx | 2 | ||||
-rw-r--r-- | sc/source/filter/qpro/qpro.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/excel/xestream.cxx b/sc/source/filter/excel/xestream.cxx index 6c3aa3ba72d9..289fc62ab441 100644 --- a/sc/source/filter/excel/xestream.cxx +++ b/sc/source/filter/excel/xestream.cxx @@ -988,7 +988,7 @@ sax_fastparser::FSHelperPtr& XclExpXmlStream::WriteAttributesInternal( sal_Int32 rStream->write( " " ) ->writeId( nAttribute ) ->write( "=\"" ) - ->writeEscaped( OUString(pValue, std::strlen(pValue), RTL_TEXTENCODING_UTF8) ) + ->writeEscaped( OUString(pValue, strlen(pValue), RTL_TEXTENCODING_UTF8) ) ->write( "\"" ); } diff --git a/sc/source/filter/qpro/qpro.cxx b/sc/source/filter/qpro/qpro.cxx index 576763459005..2e24dffdc1f8 100644 --- a/sc/source/filter/qpro/qpro.cxx +++ b/sc/source/filter/qpro/qpro.cxx @@ -226,7 +226,7 @@ void ScQProReader::readString( OUString &rString, sal_uInt16 nLength ) sal_Char* pText = new sal_Char[ nLength + 1 ]; nLength = mpStream->Read(pText, nLength); pText[ nLength ] = 0; - rString = OUString( pText, std::strlen(pText), mpStream->GetStreamCharSet() ); + rString = OUString( pText, strlen(pText), mpStream->GetStreamCharSet() ); delete [] pText; } |