summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-11-21 13:00:38 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-11-21 13:12:15 +0000
commit8e89a8af9246da45d78f8d03468cd8eba2369076 (patch)
tree3575670ceb710a1a3274d78256b76528eed1db5d /svx
parent69c4340fcea77ac5b74cbde13f44b4f7034398aa (diff)
these are surely wrong as well
Change-Id: Ib223781621985c3bcf8144a6e0b9d2df8c083f42
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sdr/properties/textproperties.cxx4
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 )