diff options
author | Louis-Francis Ratté-Boulianne <lfrb@collabora.com> | 2014-11-19 14:10:22 -0500 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-11-22 20:14:18 +0100 |
commit | 622f8bc53c49873f9afc9315dc96230dbd37b188 (patch) | |
tree | d2b6265537c0d9d64d9e9677de3e9b6ab6737663 /vcl/source | |
parent | 56e112aace06ece44c0e8ae55b5733fb0fe21806 (diff) |
vcl: Actually returns the number of rectangles for the RegionBand
Change-Id: I6be30b28fa608855919890dc47145ef5a3648021
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/gdi/regionband.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/regionband.cxx b/vcl/source/gdi/regionband.cxx index 05f3f7f83595..0503ef2be248 100644 --- a/vcl/source/gdi/regionband.cxx +++ b/vcl/source/gdi/regionband.cxx @@ -1272,7 +1272,7 @@ sal_uInt32 RegionBand::getRectangleCount() const pBand = pBand->mpNextBand; } - return 0; + return nCount; } #ifdef DBG_UTIL |