summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox/commentsbuffer.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-12-15 10:28:41 +0200
committerNoel Grandin <noel@peralex.com>2014-12-19 08:50:30 +0200
commitae5d78d605bcb2a849f88cdfddfaf5cf1d5ebf64 (patch)
tree805c70a6595d9031e9bd5a08dd740439345f6a7b /sc/source/filter/oox/commentsbuffer.cxx
parent4cbba98601ae16cda1739e1e81d697592bb31213 (diff)
remove operator>> and operator<< methods
in favour of ReadXXX/WriteXXX methods Change-Id: I75fcb04cb9e2981a10146a96de27916ca7f6bc57
Diffstat (limited to 'sc/source/filter/oox/commentsbuffer.cxx')
-rw-r--r--sc/source/filter/oox/commentsbuffer.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sc/source/filter/oox/commentsbuffer.cxx b/sc/source/filter/oox/commentsbuffer.cxx
index bd5e1c3dbadf..9f74748c5779 100644
--- a/sc/source/filter/oox/commentsbuffer.cxx
+++ b/sc/source/filter/oox/commentsbuffer.cxx
@@ -121,7 +121,8 @@ void Comment::importCommentPr( const AttributeList& rAttribs )
void Comment::importComment( SequenceInputStream& rStrm )
{
BinRange aBinRange;
- rStrm >> maModel.mnAuthorId >> aBinRange;
+ maModel.mnAuthorId = rStrm.readInt32();
+ rStrm >> aBinRange;
// cell range will be checked while inserting the comment into the document
getAddressConverter().convertToCellRangeUnchecked( maModel.maRange, aBinRange, getSheetIndex() );
}