diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-08-12 12:50:42 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-08-12 12:50:42 +0100 |
commit | 6ba253c8b58956e6994e36cbcf319548866d6ab3 (patch) | |
tree | b9e7bd96eaf38f6e01669011d3f618cb8e79d5a7 /vcl | |
parent | 1b40fa9b6d318debf97e934894c81f2bf99ebe40 (diff) |
ignored return value of replaceAt
Change-Id: I65945c6a30603f3cb001bf44b6490d9e0f7ad642
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/generic/printer/ppdparser.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/generic/printer/ppdparser.cxx b/vcl/unx/generic/printer/ppdparser.cxx index 10e5a354517c..27c5cba18216 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'); |