summaryrefslogtreecommitdiff
path: root/canvas/source
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-01-29 08:49:42 +0100
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-01-29 08:49:42 +0100
commit40ae7d9aca558a8ebfd3279b9bc96ec0e03bbd48 (patch)
tree3adc5149d0b31cb840c7039913c0936d0a993f09 /canvas/source
parentb418f6485a7e703c334f40c6b9ac2d4613ccb992 (diff)
autorecovery: ENSURE_OR_RETURN => ENSURE_OR_RETURN_FALSE, added new ENSURE_OR_RETURN taking a return value
Diffstat (limited to 'canvas/source')
-rwxr-xr-xcanvas/source/directx/dx_5rm.cxx2
-rwxr-xr-xcanvas/source/directx/dx_9rm.cxx2
-rwxr-xr-xcanvas/source/directx/dx_canvashelper_texturefill.cxx2
-rw-r--r--canvas/source/vcl/canvashelper.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/canvas/source/directx/dx_5rm.cxx b/canvas/source/directx/dx_5rm.cxx
index 4937934732cd..71c65feb3b6f 100755
--- a/canvas/source/directx/dx_5rm.cxx
+++ b/canvas/source/directx/dx_5rm.cxx
@@ -1008,7 +1008,7 @@ namespace dxcanvas
break;
default:
- ENSURE_OR_RETURN(false,
+ ENSURE_OR_RETURN_FALSE(false,
"DXSurface::update(): Unknown/unimplemented buffer format" );
break;
}
diff --git a/canvas/source/directx/dx_9rm.cxx b/canvas/source/directx/dx_9rm.cxx
index acef323ddc1b..a50d0d5abeb7 100755
--- a/canvas/source/directx/dx_9rm.cxx
+++ b/canvas/source/directx/dx_9rm.cxx
@@ -544,7 +544,7 @@ namespace dxcanvas
break;
default:
- ENSURE_OR_RETURN(false,
+ ENSURE_OR_RETURN_FALSE(false,
"DXSurface::update(): Unknown/unimplemented buffer format" );
break;
}
diff --git a/canvas/source/directx/dx_canvashelper_texturefill.cxx b/canvas/source/directx/dx_canvashelper_texturefill.cxx
index 73a2d49bfb62..f5836e56d668 100755
--- a/canvas/source/directx/dx_canvashelper_texturefill.cxx
+++ b/canvas/source/directx/dx_canvashelper_texturefill.cxx
@@ -345,7 +345,7 @@ namespace dxcanvas
GraphicsPathSharedPtr pGradientPath(
tools::graphicsPathFromB2DPolygon( rValues.maGradientPoly ) );
- ENSURE_OR_RETURN( pGradientPath.get(),
+ ENSURE_OR_RETURN_FALSE( pGradientPath.get(),
"ParametricPolyPolygon::fillPolygonalGradient(): Could not clone path" );
PathGradientBrushSharedPtr pGradientBrush;
diff --git a/canvas/source/vcl/canvashelper.cxx b/canvas/source/vcl/canvashelper.cxx
index 20b489144d0e..144a41fb0212 100644
--- a/canvas/source/vcl/canvashelper.cxx
+++ b/canvas/source/vcl/canvashelper.cxx
@@ -1390,7 +1390,7 @@ namespace vclcanvas
const ::Size& rSz,
const GraphicAttr& rAttr ) const
{
- ENSURE_OR_RETURN( rGrf,
+ ENSURE_OR_RETURN_FALSE( rGrf,
"Invalid Graphic" );
if( !mpOutDev )