summaryrefslogtreecommitdiff
path: root/xmloff/source/draw/animexp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/draw/animexp.cxx')
-rw-r--r--xmloff/source/draw/animexp.cxx11
1 files changed, 7 insertions, 4 deletions
diff --git a/xmloff/source/draw/animexp.cxx b/xmloff/source/draw/animexp.cxx
index b2611dbc1e8f..312b7d7ab5fc 100644
--- a/xmloff/source/draw/animexp.cxx
+++ b/xmloff/source/draw/animexp.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -186,7 +187,7 @@ void SdXMLImplSetEffect( AnimationEffect eEffect, XMLEffect& eKind, XMLEffectDir
{
if( eEffect < AnimationEffect_NONE || eEffect > AnimationEffect_ZOOM_OUT_FROM_CENTER )
{
- DBG_ERROR( "unknown animation effect!" );
+ OSL_FAIL( "unknown animation effect!" );
eEffect = AnimationEffect_NONE;
}
@@ -307,7 +308,7 @@ void XMLAnimationsExporter::prepare( Reference< XShape > xShape, SvXMLExport& )
}
catch( Exception e )
{
- DBG_ERROR("exception catched while collection animation information!");
+ OSL_FAIL("exception catched while collection animation information!");
}
}
@@ -438,7 +439,7 @@ void XMLAnimationsExporter::collect( Reference< XShape > xShape, SvXMLExport& rE
}
catch( Exception e )
{
- DBG_ERROR("exception catched while collection animation information!");
+ OSL_FAIL("exception catched while collection animation information!");
}
}
@@ -544,10 +545,12 @@ void XMLAnimationsExporter::exportAnimations( SvXMLExport& rExport )
}
}
- aIter++;
+ ++aIter;
}
while( aIter != aEnd );
}
mpImpl->maEffects.clear();
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */