diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-19 09:22:44 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-03-19 09:00:26 +0000 |
commit | 8b27d78b4afaa9c47ca0fda144c8060f2f14046b (patch) | |
tree | 2dbddceebf0f96492adc5652697e8efce8a8ba06 /slideshow/source/engine/animationnodes | |
parent | fe8eba5faa59ddf9ee82f3eb009daac72a0ec846 (diff) |
automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings
Done with a perl regex:
s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms
Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec
Reviewed-on: https://gerrit.libreoffice.org/2832
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'slideshow/source/engine/animationnodes')
-rw-r--r-- | slideshow/source/engine/animationnodes/animationtransformnode.cxx | 9 | ||||
-rw-r--r-- | slideshow/source/engine/animationnodes/basenode.cxx | 4 |
2 files changed, 5 insertions, 8 deletions
diff --git a/slideshow/source/engine/animationnodes/animationtransformnode.cxx b/slideshow/source/engine/animationnodes/animationtransformnode.cxx index 737bbb9aa8e9..4ea1d9b8c220 100644 --- a/slideshow/source/engine/animationnodes/animationtransformnode.cxx +++ b/slideshow/source/engine/animationnodes/animationtransformnode.cxx @@ -69,8 +69,7 @@ AnimationActivitySharedPtr AnimationTransformNode::createActivity() const return ActivitiesFactory::createAnimateActivity( aParms, AnimationFactory::createNumberPropertyAnimation( - ::rtl::OUString( - RTL_CONSTASCII_USTRINGPARAM("Rotate") ), + ::rtl::OUString("Rotate"), rShape, getContext().mpSubsettableShapeManager, getSlideSize() ), @@ -80,8 +79,7 @@ AnimationActivitySharedPtr AnimationTransformNode::createActivity() const return ActivitiesFactory::createAnimateActivity( aParms, AnimationFactory::createNumberPropertyAnimation( - ::rtl::OUString( - RTL_CONSTASCII_USTRINGPARAM("SkewX") ), + ::rtl::OUString("SkewX"), rShape, getContext().mpSubsettableShapeManager, getSlideSize() ), @@ -91,8 +89,7 @@ AnimationActivitySharedPtr AnimationTransformNode::createActivity() const return ActivitiesFactory::createAnimateActivity( aParms, AnimationFactory::createNumberPropertyAnimation( - ::rtl::OUString( - RTL_CONSTASCII_USTRINGPARAM("SkewY") ), + ::rtl::OUString("SkewY"), rShape, getContext().mpSubsettableShapeManager, getSlideSize() ), diff --git a/slideshow/source/engine/animationnodes/basenode.cxx b/slideshow/source/engine/animationnodes/basenode.cxx index e0b894ebbb65..b803b441a39f 100644 --- a/slideshow/source/engine/animationnodes/basenode.cxx +++ b/slideshow/source/engine/animationnodes/basenode.cxx @@ -249,7 +249,7 @@ bool isMainSequenceRootNode_( // detect main sequence root node (need that for // end-of-mainsequence signalling below) beans::NamedValue const aSearchKey( - rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( "node-type" ) ), + rtl::OUString( "node-type" ), uno::makeAny( presentation::EffectNodeType::MAIN_SEQUENCE ) ); uno::Sequence<beans::NamedValue> const userData(xNode->getUserData()); @@ -719,7 +719,7 @@ void BaseNode::showState() const // read shape name ::rtl::OUString aName; if( (xPropSet->getPropertyValue( - ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("Name") ) ) + ::rtl::OUString("Name") ) >>= aName) ) { const ::rtl::OString& rAsciiName( |