summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-06-16 12:44:24 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-06-16 12:44:24 +0000
commitd7c7ad554e52f9f720d1ae2dda4f2b052bb522c0 (patch)
tree014ca860e7227c572a4f70130990ca7544c68ea1
parent6378a5b0ae62416432b0af49a60d079fc4456fe6 (diff)
INTEGRATION: CWS hr51 (1.33.10); FILE MERGED
2008/06/06 13:56:35 hr 1.33.10.1: #i88947#: fixes for compiling with SunStudio12 (WaE, compiler provided STL)
-rw-r--r--psprint/source/helper/helper.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/psprint/source/helper/helper.cxx b/psprint/source/helper/helper.cxx
index a98e76a3719c..0df9a3400870 100644
--- a/psprint/source/helper/helper.cxx
+++ b/psprint/source/helper/helper.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: helper.cxx,v $
- * $Revision: 1.33 $
+ * $Revision: 1.34 $
*
* This file is part of OpenOffice.org.
*
@@ -293,8 +293,8 @@ bool psp::convertPfbToPfa( ::osl::File& rInFile, ::osl::File& rOutFile )
// this migt be a pfa font already
sal_uInt64 nWrite = 0;
if( ! rInFile.read( buffer+6, 9, nRead ) && nRead == 9 &&
- ( ! strncmp( (char*)buffer, "%!FontType1-", 12 ) ||
- ! strncmp( (char*)buffer, "%!PS-AdobeFont-", 15 ) ) )
+ ( ! std::strncmp( (char*)buffer, "%!FontType1-", 12 ) ||
+ ! std::strncmp( (char*)buffer, "%!PS-AdobeFont-", 15 ) ) )
{
if( rOutFile.write( buffer, 15, nWrite ) || nWrite != 15 )
bSuccess = false;