From 15535e32ddcfee451d4dbc9be9de0b8c9f9d78d4 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 5 Feb 2014 10:41:04 +0200 Subject: convert SvStream::operator>> methods to ReadXXX methods First, I updated the clang rewriter to do the conversion. Then I lightly hand-tweaked the output for the few places where the rewriter messed up, mostly when dealing with calls on "this". Change-Id: I40a6a977959cd97415c678eafc8507de8aa3b1a9 Reviewed-on: https://gerrit.libreoffice.org/7879 Reviewed-by: Michael Stahl Tested-by: Michael Stahl --- basctl/source/basicide/bastypes.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'basctl/source/basicide/bastypes.cxx') diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx index 5194385df519..eb1299947a31 100644 --- a/basctl/source/basicide/bastypes.cxx +++ b/basctl/source/basicide/bastypes.cxx @@ -707,14 +707,14 @@ sal_uLong CalcLineCount( SvStream& rStream ) char c; rStream.Seek( 0 ); - rStream >> c; + rStream.ReadChar( c ); while ( !rStream.IsEof() ) { if ( c == '\n' ) nLFs++; else if ( c == '\r' ) nCRs++; - rStream >> c; + rStream.ReadChar( c ); } rStream.Seek( 0 ); -- cgit v1.2.3