diff options
-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 ) |