diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-11-21 13:00:38 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-11-21 13:12:15 +0000 |
commit | 8e89a8af9246da45d78f8d03468cd8eba2369076 (patch) | |
tree | 3575670ceb710a1a3274d78256b76528eed1db5d /svx | |
parent | 69c4340fcea77ac5b74cbde13f44b4f7034398aa (diff) |
these are surely wrong as well
Change-Id: Ib223781621985c3bcf8144a6e0b9d2df8c083f42
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sdr/properties/textproperties.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/sdr/properties/textproperties.cxx b/svx/source/sdr/properties/textproperties.cxx index fa8762ab2164..d2ba014e8494 100644 --- a/svx/source/sdr/properties/textproperties.cxx +++ b/svx/source/sdr/properties/textproperties.cxx @@ -563,7 +563,7 @@ namespace sdr rObj.SetPortionInfoChecked(false); sal_Int32 nText = rTextProvider.getTextCount(); - while( --nText > 0 ) + while( --nText >= 0 ) { OutlinerParaObject* pParaObj = rTextProvider.getText( nText )->GetOutlinerParaObject(); if( pParaObj ) @@ -586,7 +586,7 @@ namespace sdr { rObj.SetPortionInfoChecked(false); sal_Int32 nText = rTextProvider.getTextCount(); - while( --nText > 0 ) + while( --nText >= 0 ) { OutlinerParaObject* pParaObj = rTextProvider.getText( nText )->GetOutlinerParaObject(); if( pParaObj ) |