[Libreoffice-commits] core.git: vcl/unx
Caolán McNamara
caolanm at redhat.com
Mon Aug 12 04:51:15 PDT 2013
vcl/unx/generic/printer/ppdparser.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6ba253c8b58956e6994e36cbcf319548866d6ab3
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Aug 12 12:50:42 2013 +0100
ignored return value of replaceAt
Change-Id: I65945c6a30603f3cb001bf44b6490d9e0f7ad642
diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx
index 10e5a35..27c5cba 100644
--- a/vcl/unx/generic/printer/ppdparser.cxx
+++ b/vcl/unx/generic/printer/ppdparser.cxx
@@ -594,7 +594,7 @@ OUString PPDParser::getPPDPrinterName( const OUString& rFile )
aCurLine = OStringToOUString(aByteLine, RTL_TEXTENCODING_MS_1252);
if( aCurLine.startsWithIgnoreAsciiCase( "*include:" ) )
{
- aCurLine.replaceAt( 0, 9, "" );
+ aCurLine = aCurLine.replaceAt( 0, 9, "" );
aCurLine = comphelper::string::stripStart(aCurLine, ' ');
aCurLine = comphelper::string::stripEnd(aCurLine, ' ');
aCurLine = comphelper::string::stripStart(aCurLine, '\t');
More information about the Libreoffice-commits
mailing list