summaryrefslogtreecommitdiff
path: root/slideshow/source/engine/slideshowimpl.cxx
diff options
context:
space:
mode:
authorJean-Noël Rouvignac <jn.rouvignac@gmail.com>2013-01-30 11:44:23 +0100
committerLuboš Luňák <l.lunak@suse.cz>2013-01-30 12:54:40 +0000
commit97eb8a6e0eb830f37dcba64a51d725aab4c5ff53 (patch)
treea1a95b8249052d846a997ad1729758168d6a3b24 /slideshow/source/engine/slideshowimpl.cxx
parentf8569cd9a28a3a8856dba4ad53218aa6cc073521 (diff)
Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRING
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd Reviewed-on: https://gerrit.libreoffice.org/1924 Tested-by: Luboš Luňák <l.lunak@suse.cz> Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Diffstat (limited to 'slideshow/source/engine/slideshowimpl.cxx')
-rw-r--r--slideshow/source/engine/slideshowimpl.cxx20
1 files changed, 10 insertions, 10 deletions
diff --git a/slideshow/source/engine/slideshowimpl.cxx b/slideshow/source/engine/slideshowimpl.cxx
index cf672ae296ac..f64f68136da4 100644
--- a/slideshow/source/engine/slideshowimpl.cxx
+++ b/slideshow/source/engine/slideshowimpl.cxx
@@ -767,7 +767,7 @@ ActivitySharedPtr SlideShowImpl::createSlideTransition(
sal_Int16 nTransitionType(0);
if( !getPropertyValue( nTransitionType,
xPropSet,
- OUSTR("TransitionType" )) )
+ "TransitionType") )
{
OSL_TRACE( "createSlideTransition(): "
"Could not extract slide transition type from XDrawPage - assuming no transition\n" );
@@ -777,7 +777,7 @@ ActivitySharedPtr SlideShowImpl::createSlideTransition(
sal_Int16 nTransitionSubType(0);
if( !getPropertyValue( nTransitionSubType,
xPropSet,
- OUSTR("TransitionSubtype" )) )
+ "TransitionSubtype") )
{
OSL_TRACE( "createSlideTransition(): "
"Could not extract slide transition subtype from XDrawPage - assuming no transition\n" );
@@ -787,7 +787,7 @@ ActivitySharedPtr SlideShowImpl::createSlideTransition(
bool bTransitionDirection(false);
if( !getPropertyValue( bTransitionDirection,
xPropSet,
- OUSTR("TransitionDirection")) )
+ "TransitionDirection") )
{
OSL_TRACE( "createSlideTransition(): "
"Could not extract slide transition direction from XDrawPage - assuming default direction\n" );
@@ -796,7 +796,7 @@ ActivitySharedPtr SlideShowImpl::createSlideTransition(
sal_Int32 aUnoColor(0);
if( !getPropertyValue( aUnoColor,
xPropSet,
- OUSTR("TransitionFadeColor")) )
+ "TransitionFadeColor") )
{
OSL_TRACE( "createSlideTransition(): "
"Could not extract slide transition fade color from XDrawPage - assuming black\n" );
@@ -807,10 +807,10 @@ ActivitySharedPtr SlideShowImpl::createSlideTransition(
uno::Any aSound;
sal_Bool bLoopSound = sal_False;
- if( !getPropertyValue( aSound, xPropSet, OUSTR("Sound")) )
+ if( !getPropertyValue( aSound, xPropSet, "Sound") )
OSL_TRACE( "createSlideTransition(): Could not determine transition sound effect URL from XDrawPage - using no sound" );
- if( !getPropertyValue( bLoopSound, xPropSet, OUSTR("LoopSound") ) )
+ if( !getPropertyValue( bLoopSound, xPropSet, "LoopSound" ) )
OSL_TRACE( "createSlideTransition(): Could not get slide property 'LoopSound' - using no sound" );
NumberAnimationSharedPtr pTransition(
@@ -836,7 +836,7 @@ ActivitySharedPtr SlideShowImpl::createSlideTransition(
double nTransitionDuration(0.0);
if( !getPropertyValue( nTransitionDuration,
xPropSet,
- OUSTR("TransitionDuration")) )
+ "TransitionDuration") )
{
OSL_TRACE( "createSlideTransition(): "
"Could not extract slide transition duration from XDrawPage - assuming no transition\n" );
@@ -846,7 +846,7 @@ ActivitySharedPtr SlideShowImpl::createSlideTransition(
sal_Int32 nMinFrames(5);
if( !getPropertyValue( nMinFrames,
xPropSet,
- OUSTR("MinimalFrameNumber")) )
+ "MinimalFrameNumber") )
{
OSL_TRACE( "createSlideTransition(): "
"No minimal number of frames given - assuming 5\n" );
@@ -2310,10 +2310,10 @@ void SlideShowImpl::notifySlideEnded (const bool bReverse)
if (xPropSet.is())
{
xPropSet->setPropertyValue(
- OUSTR("Change"),
+ "Change",
uno::Any( static_cast<sal_Int32>(1) ) );
xPropSet->setPropertyValue(
- OUSTR("Duration"),
+ "Duration",
uno::Any( static_cast<sal_Int32>(time) ) );
}
}