diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-01-14 16:29:24 +0000 |
---|---|---|
committer | Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> | 2015-01-14 19:28:42 +0000 |
commit | bd84dcc53f46d9aecf10224af7210c598646a19e (patch) | |
tree | 83eaa4253f020ddc6337f5730dae3217d91f2892 | |
parent | fdo#86772 show localized filter names in Save dialog (diff) | |
download | core-bd84dcc53f46d9aecf10224af7210c598646a19e.tar.gz core-bd84dcc53f46d9aecf10224af7210c598646a19e.zip |
classic draw rectangles "fit to contour" utterly broken
regression from
commit 3cbfcee36dd16e451d76c561eaaaee0ff29b01a5
Date: Sun Feb 2 22:16:48 2014 -0600
xub_StrLen and tools/string.hxx final straw
There is still some 0xffff limit left and possibly some
less than gracefully handled overflow/error cases
Change-Id: I82bdcb6951c42fdcaa68808a251f9b2f76f8ed0b
(cherry picked from commit 9977cbba8a36d3e6365cf886630d213ec7c1240c)
Reviewed-on: https://gerrit.libreoffice.org/13904
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
-rw-r--r-- | editeng/source/editeng/impedit3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/editeng/impedit3.cxx b/editeng/source/editeng/impedit3.cxx index d717b1adbc34..d21b375cc037 100644 --- a/editeng/source/editeng/impedit3.cxx +++ b/editeng/source/editeng/impedit3.cxx @@ -845,7 +845,7 @@ bool ImpEditEngine::CreateLines( sal_Int32 nPara, sal_uInt32 nStartPosY ) if ( pTextRanges->size() ) { long nA = pTextRanges->at(0); - long nB = pTextRanges->at(0); + long nB = pTextRanges->at(1); DBG_ASSERT( nA <= nB, "TextRange distorted?" ); long nW = nB - nA; if ( nW > nMaxRangeWidth ) |