diff options
author | Noel Grandin <noel@peralex.com> | 2014-01-30 13:46:42 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-02-04 22:50:39 +0000 |
commit | 186b4ebc99a2e80740fee51f9d0276886a003617 (patch) | |
tree | a86a4ff5fe3cd36add7053212ef37531540be253 /svl | |
parent | 95a7e952552adb834f92d1477f83938e7c8d0204 (diff) |
convert specialised SvStream::operator>> methods to ReadXXX methods
as preparation for converting the SvStream::operator>> methods on
primitive types
Change-Id: I62f134bced15c687d6e0d46924f56e8d1c3d95b9
Reviewed-on: https://gerrit.libreoffice.org/7798
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'svl')
-rw-r--r-- | svl/source/items/ptitem.cxx | 2 | ||||
-rw-r--r-- | svl/source/items/rectitem.cxx | 2 | ||||
-rw-r--r-- | svl/source/items/szitem.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/svl/source/items/ptitem.cxx b/svl/source/items/ptitem.cxx index 92c78256f99b..5adf1b9b6e50 100644 --- a/svl/source/items/ptitem.cxx +++ b/svl/source/items/ptitem.cxx @@ -102,7 +102,7 @@ SfxPoolItem* SfxPointItem::Create(SvStream &rStream, sal_uInt16 ) const { DBG_CHKTHIS(SfxPointItem, 0); Point aStr; - rStream >> aStr; + ReadPair( rStream, aStr ); return new SfxPointItem(Which(), aStr); } diff --git a/svl/source/items/rectitem.cxx b/svl/source/items/rectitem.cxx index d9e9677e784a..1c676767bc20 100644 --- a/svl/source/items/rectitem.cxx +++ b/svl/source/items/rectitem.cxx @@ -102,7 +102,7 @@ SfxPoolItem* SfxRectangleItem::Create(SvStream &rStream, sal_uInt16 ) const { DBG_CHKTHIS(SfxRectangleItem, 0); Rectangle aStr; - rStream >> aStr; + ReadRectangle( rStream, aStr ); return new SfxRectangleItem(Which(), aStr); } diff --git a/svl/source/items/szitem.cxx b/svl/source/items/szitem.cxx index 6889a78eb36c..b5d09d19e9bc 100644 --- a/svl/source/items/szitem.cxx +++ b/svl/source/items/szitem.cxx @@ -98,7 +98,7 @@ SfxPoolItem* SfxSizeItem::Create(SvStream &rStream, sal_uInt16 ) const { DBG_CHKTHIS(SfxSizeItem, 0); Size aStr; - rStream >> aStr; + ReadPair( rStream, aStr ); return new SfxSizeItem(Which(), aStr); } |