summaryrefslogtreecommitdiff
path: root/svx/source/svdraw/svdattr.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-02-05 10:41:04 +0200
committerMichael Stahl <mstahl@redhat.com>2014-02-12 15:31:40 +0000
commit15535e32ddcfee451d4dbc9be9de0b8c9f9d78d4 (patch)
treedb4badc477cea1ecd51f5fab82ce0f24ae20f155 /svx/source/svdraw/svdattr.cxx
parent7accbd8c0d7f1d0b87748f0de599c4d8b469a61e (diff)
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 <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'svx/source/svdraw/svdattr.cxx')
-rw-r--r--svx/source/svdraw/svdattr.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/svdraw/svdattr.cxx b/svx/source/svdraw/svdattr.cxx
index d532d0826827..7ddfb3b1132a 100644
--- a/svx/source/svdraw/svdattr.cxx
+++ b/svx/source/svdraw/svdattr.cxx
@@ -650,8 +650,8 @@ SdrFractionItem::SdrFractionItem(sal_uInt16 nId, SvStream& rIn):
SfxPoolItem(nId)
{
sal_Int32 nMul,nDiv;
- rIn>>nMul;
- rIn>>nDiv;
+ rIn.ReadInt32( nMul );
+ rIn.ReadInt32( nDiv );
nValue=Fraction(nMul,nDiv);
}
@@ -1396,7 +1396,7 @@ SdrTextFixedCellHeightItem::SdrTextFixedCellHeightItem( SvStream & rStream, sal_
if ( nVersion )
{
sal_Bool bValue;
- rStream >> bValue;
+ rStream.ReadUChar( bValue );
SetValue( bValue );
}
}
@@ -1462,10 +1462,10 @@ SdrCustomShapeAdjustmentItem::SdrCustomShapeAdjustmentItem( SvStream& rIn, sal_u
{
SdrCustomShapeAdjustmentValue aVal;
sal_uInt32 i, nCount;
- rIn >> nCount;
+ rIn.ReadUInt32( nCount );
for ( i = 0; i < nCount; i++ )
{
- rIn >> aVal.nValue;
+ rIn.ReadUInt32( aVal.nValue );
SetValue( i, aVal );
}
}