From fce7fc1fa7661323fb8cba5109bc5f222f69d6cf Mon Sep 17 00:00:00 2001 From: Kurt Zenker Date: Tue, 24 Jun 2008 11:11:04 +0000 Subject: INTEGRATION: CWS canvas05 (1.2.18); FILE MERGED 2008/04/21 07:55:12 thb 1.2.18.2: RESYNC: (1.2-1.3); FILE MERGED 2007/10/01 13:49:13 thb 1.2.18.1: #i79258# Merge from CWS picom --- slideshow/source/engine/shapes/gdimtftools.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'slideshow') diff --git a/slideshow/source/engine/shapes/gdimtftools.cxx b/slideshow/source/engine/shapes/gdimtftools.cxx index a820aaafe670..718b575a14de 100644 --- a/slideshow/source/engine/shapes/gdimtftools.cxx +++ b/slideshow/source/engine/shapes/gdimtftools.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: gdimtftools.cxx,v $ - * $Revision: 1.3 $ + * $Revision: 1.4 $ * * This file is part of OpenOffice.org. * @@ -33,6 +33,7 @@ // must be first #include +#include #include #include @@ -188,7 +189,7 @@ bool getMetaFile( const uno::Reference< lang::XComponent >& xSource, int mtfLoadFlags, const uno::Reference< uno::XComponentContext >& rxContext ) { - ENSURE_AND_RETURN( rxContext.is(), + ENSURE_OR_RETURN( rxContext.is(), "getMetaFile(): Invalid context" ); // create dummy XGraphicRenderer, which receives the @@ -388,7 +389,7 @@ bool getAnimationFromGraphic( VectorOfMtfAnimationFrames& o_rFrames, break; default: - ENSURE_AND_RETURN(false, + ENSURE_OR_RETURN(false, "getAnimationFromGraphic(): Unexpected case" ); break; } -- cgit