diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-12-09 09:22:39 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-12-09 09:30:35 +0000 |
commit | a403bddc0fe29f69e3fb2b0c04fd540fa2cec218 (patch) | |
tree | ac9b63806d14cceed85d4cf8afd91438c38c2c66 /sc/source/core | |
parent | d1efbcd788bcd9e72efaaecc110bbd2d48a966eb (diff) |
surely it makes no sense to ignore return of Sanitize[Col|Row]
Change-Id: I24ef940bcf4b2a7c5f40185f91ee234c844185f8
(cherry picked from commit e5c2fe0412585bc83bd6a99fc37a7c47eb8c3641)
Diffstat (limited to 'sc/source/core')
-rw-r--r-- | sc/source/core/tool/detfunc.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/tool/detfunc.cxx b/sc/source/core/tool/detfunc.cxx index 7a8880b840d3..9dbc3e78308b 100644 --- a/sc/source/core/tool/detfunc.cxx +++ b/sc/source/core/tool/detfunc.cxx @@ -304,8 +304,8 @@ bool ScDetectiveFunc::HasError( const ScRange& rRange, ScAddress& rErrPos ) Point ScDetectiveFunc::GetDrawPos( SCCOL nCol, SCROW nRow, DrawPosMode eMode ) const { OSL_ENSURE( ValidColRow( nCol, nRow ), "ScDetectiveFunc::GetDrawPos - invalid cell address" ); - SanitizeCol( nCol ); - SanitizeRow( nRow ); + nCol = SanitizeCol( nCol ); + nRow = SanitizeRow( nRow ); Point aPos; |