diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-06-24 11:11:04 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-06-24 11:11:04 +0000 |
commit | fce7fc1fa7661323fb8cba5109bc5f222f69d6cf (patch) | |
tree | 532da10ceca93431ecb218aca2dfbc289eccceef /slideshow | |
parent | 651402cce056647bcde3c54c7931fb16000ff912 (diff) |
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
Diffstat (limited to 'slideshow')
-rw-r--r-- | slideshow/source/engine/shapes/gdimtftools.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
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 <canvas/debug.hxx> +#include <tools/diagnose_ex.h> #include <gdimtftools.hxx> #include <com/sun/star/document/XExporter.hpp> @@ -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; } |