summaryrefslogtreecommitdiff
path: root/basebmp
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@suse.com>2011-10-28 17:16:35 +0200
committerThorsten Behrens <tbehrens@suse.com>2011-11-02 23:58:27 +0100
commit207bcfc5b9d3e857741cd973c3ee9615bdeb2563 (patch)
tree1464c2bbb62adb3a98aaae4535847c1421a31363 /basebmp
parent543c57eb87cf3f37c36c0f3d8cf669d9acbb9286 (diff)
Revert "basebmp: B2IRange::isEmpty is surprisingly, unhelpfully lame - workaround"
Diffstat (limited to 'basebmp')
-rw-r--r--basebmp/source/bitmapdevice.cxx16
1 files changed, 0 insertions, 16 deletions
diff --git a/basebmp/source/bitmapdevice.cxx b/basebmp/source/bitmapdevice.cxx
index f7f139b47a1d..a483197aa54d 100644
--- a/basebmp/source/bitmapdevice.cxx
+++ b/basebmp/source/bitmapdevice.cxx
@@ -1343,10 +1343,6 @@ namespace
if( aLocalSourceArea.isEmpty() )
return false;
- // isEmpty is not what we want I think ...
- if( aLocalSourceArea.getWidth() <= 0 || aLocalSourceArea.getHeight() <= 0 )
- return false;
-
// calc relative new source area points (relative to orig
// source area)
const ::basegfx::B2IVector aUpperLeftOffset(
@@ -1363,10 +1359,6 @@ namespace
if( aLocalDestArea.isEmpty() )
return false;
- // isEmpty is not what we want I think ...
- if( aLocalDestArea.getWidth() <= 0 || aLocalDestArea.getHeight() <= 0 )
- return false;
-
// calc relative new dest area points (relative to orig
// source area)
const ::basegfx::B2IVector aDestUpperLeftOffset(
@@ -1406,10 +1398,6 @@ namespace
if( aLocalSourceArea.isEmpty() )
return false;
- // sadly isEmpty is not what we want I think ...
- if( aLocalSourceArea.getWidth() <= 0 || aLocalSourceArea.getHeight() <= 0 )
- return false;
-
// calc relative new source area points (relative to orig
// source area)
const ::basegfx::B2IVector aUpperLeftOffset(
@@ -1428,10 +1416,6 @@ namespace
if( aLocalDestArea.isEmpty() )
return false;
- // isEmpty is not what we want I think ...
- if( aLocalDestArea.getWidth() <= 0 || aLocalDestArea.getHeight() <= 0 )
- return false;
-
// calc relative new dest area points (relative to orig
// source area)
const ::basegfx::B2IVector aDestUpperLeftOffset(