summaryrefslogtreecommitdiff
path: root/vcl/source/filter/ipict/ipict.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/filter/ipict/ipict.cxx')
-rw-r--r--vcl/source/filter/ipict/ipict.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/filter/ipict/ipict.cxx b/vcl/source/filter/ipict/ipict.cxx
index 0f8fd5ba0c3a..447d1c153625 100644
--- a/vcl/source/filter/ipict/ipict.cxx
+++ b/vcl/source/filter/ipict/ipict.cxx
@@ -1337,8 +1337,8 @@ sal_uInt64 PictReader::ReadData(sal_uInt16 nOpcode)
// before drawing some text and also to draw this text.
// So using a too small region can lead to clip the end of the text ;
// but this can be discussable...
- aRect.setWidth(aRect.getWidth()+1);
- aRect.setHeight(aRect.getHeight()+1);
+ aRect.setWidth(aRect.getOpenWidth()+1);
+ aRect.setHeight(aRect.getOpenHeight()+1);
pVirDev->SetClipRegion( vcl::Region( aRect ) );
break;
}