diff options
Diffstat (limited to 'sc/source/filter/oox/commentsbuffer.cxx')
-rw-r--r-- | sc/source/filter/oox/commentsbuffer.cxx | 3 |
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() ); } |