diff options
author | Eike Rathke <erack@redhat.com> | 2013-10-11 13:12:57 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-10-11 13:13:47 +0200 |
commit | a0f368b657fbba47bd8015cc1c173f38b3f2e8a0 (patch) | |
tree | 9d8fd69124004a6492d07a160ce44530609df6ec /sc | |
parent | c61891c096725cde7241ece415bf299ddb9e725f (diff) |
yes, placement of parentheses is important :-/
Change-Id: I606efefada9529571e5a400da65592905200b987
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/dbgui/csvgrid.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/dbgui/csvgrid.cxx b/sc/source/ui/dbgui/csvgrid.cxx index bc3f4a23ba90..221da159997f 100644 --- a/sc/source/ui/dbgui/csvgrid.cxx +++ b/sc/source/ui/dbgui/csvgrid.cxx @@ -1161,7 +1161,7 @@ void ScCsvGrid::ImplDrawColumnBackgr( sal_uInt32 nColIndex ) if( (nColIndex < rStrVec.size()) && (rStrVec[ nColIndex ].getLength() > nStrPos) ) { const OUString& rStr = rStrVec[ nColIndex ]; - OUString aText = rStr.copy( nStrPos, ::std::min( nStrLen, rStr.getLength()) - nStrPos ); + OUString aText = rStr.copy( nStrPos, ::std::min( nStrLen, rStr.getLength() - nStrPos) ); ImplDrawCellText( Point( nStrX, GetY( GetFirstVisLine() + nLine ) ), aText ); } } |