summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorDaniel Rentz [dr] <daniel.rentz@oracle.com>2011-02-02 18:41:04 +0100
committerDaniel Rentz [dr] <daniel.rentz@oracle.com>2011-02-02 18:41:04 +0100
commitcbcb63fd212d7044a7b4020e84c0adae258f5399 (patch)
tree38147d5f79b021fdcbea144aeec0d11f00b1fd03 /io
parentdde4826512be5dfa10e6df34eb238440bcd70113 (diff)
dr78: fix com.sun.star.io.XTextInputStream.readString implementation() when parameter bRemoveDelimiter is set to False
Diffstat (limited to 'io')
-rw-r--r--io/source/TextInputStream/TextInputStream.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/io/source/TextInputStream/TextInputStream.cxx b/io/source/TextInputStream/TextInputStream.cxx
index bb91337fc40a..5829fe43cce3 100644
--- a/io/source/TextInputStream/TextInputStream.cxx
+++ b/io/source/TextInputStream/TextInputStream.cxx
@@ -171,10 +171,10 @@ OUString OTextInputStream::readLine( )
return implReadString( aDummySeq, sal_True, sal_True );
}
-OUString OTextInputStream::readString( const Sequence< sal_Unicode >& Delimiters, sal_Bool )
+OUString OTextInputStream::readString( const Sequence< sal_Unicode >& Delimiters, sal_Bool bRemoveDelimiter )
throw(IOException, RuntimeException)
{
- return implReadString( Delimiters, sal_True, sal_False );
+ return implReadString( Delimiters, bRemoveDelimiter, sal_False );
}
sal_Bool OTextInputStream::isEOF()