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 --- sd/source/ui/unoidl/sddetect.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd/source/ui/unoidl') diff --git a/sd/source/ui/unoidl/sddetect.cxx b/sd/source/ui/unoidl/sddetect.cxx index f962b9c82c03..8ade5b964c12 100644 --- a/sd/source/ui/unoidl/sddetect.cxx +++ b/sd/source/ui/unoidl/sddetect.cxx @@ -394,7 +394,7 @@ OUString SAL_CALL SdFilterDetect::detect( Sequence< beans::PropertyValue >& lDes { sal_uInt8 n8; pStm->Seek( STREAM_SEEK_TO_BEGIN ); - *pStm >> n8; + pStm->ReadUChar( n8 ); if ( ( n8 & 0xf0 ) == 0 ) // we are supporting binary cgm format only, so { // this is a small test to exclude cgm text SfxFilterMatcher aMatch(OUString("simpress")); -- cgit