diff options
author | Noel Grandin <noel@peralex.com> | 2014-01-17 08:48:50 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-01-22 22:00:47 +0000 |
commit | 16a2e903356520c90a9bf91c47265f79be12e74a (patch) | |
tree | fe696998dc937562003b0d4273ded896df1ba5f5 /sc/source/filter/inc/xlescher.hxx | |
parent | d803483f6a5938b0d0708b8db74b30c511dd8e31 (diff) |
remove SvStream::operator<< methods
.. and convert the last few places still using those methods.
Change-Id: Id2cd8f9c0dd281df43af439d4fef65881f34a6fd
Reviewed-on: https://gerrit.libreoffice.org/7495
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sc/source/filter/inc/xlescher.hxx')
-rw-r--r-- | sc/source/filter/inc/xlescher.hxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/sc/source/filter/inc/xlescher.hxx b/sc/source/filter/inc/xlescher.hxx index 5ecd2726f9ca..498fb1c3095f 100644 --- a/sc/source/filter/inc/xlescher.hxx +++ b/sc/source/filter/inc/xlescher.hxx @@ -333,6 +333,15 @@ StreamType& operator<<( StreamType& rStrm, const XclObjAnchor& rAnchor ) << static_cast<sal_uInt16>(rAnchor.maLast.mnRow) << static_cast<sal_uInt16>(rAnchor.mnBY); } +inline SvStream& WriteXclObjAnchor( SvStream& rStrm, const XclObjAnchor& rAnchor ) +{ + return rStrm + .WriteUInt16( rAnchor.maFirst.mnCol ).WriteUInt16( rAnchor.mnLX ) + .WriteUInt16( rAnchor.maFirst.mnRow ).WriteUInt16( rAnchor.mnTY ) + .WriteUInt16( rAnchor.maLast.mnCol ).WriteUInt16( rAnchor.mnRX ) + .WriteUInt16( rAnchor.maLast.mnRow).WriteUInt16(rAnchor.mnBY); +} + // ---------------------------------------------------------------------------- struct XclObjLineData |