summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-03 23:18:51 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-04 06:54:45 +0200
commit75f008ff116f936e51f268c3fa6775de7addee7a (patch)
treed9d84671414bd546c72d1da4276775c92e7ea4b6
parent0bfa6a180850898ec5038ad70e09a2ff7baafa1a (diff)
Just use Any ctor instead of makeAny in slideshow
Change-Id: I9b006826fe4a859e07340c8e39d99fd89d4f31c3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133781 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--slideshow/source/engine/animationnodes/basenode.cxx2
-rw-r--r--slideshow/source/engine/slide/targetpropertiescreator.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/slideshow/source/engine/animationnodes/basenode.cxx b/slideshow/source/engine/animationnodes/basenode.cxx
index cf732f89701f..5e98b63bbd65 100644
--- a/slideshow/source/engine/animationnodes/basenode.cxx
+++ b/slideshow/source/engine/animationnodes/basenode.cxx
@@ -245,7 +245,7 @@ bool isMainSequenceRootNode_(
// end-of-mainsequence signalling below)
beans::NamedValue const aSearchKey(
"node-type",
- uno::makeAny( presentation::EffectNodeType::MAIN_SEQUENCE ) );
+ uno::Any( presentation::EffectNodeType::MAIN_SEQUENCE ) );
uno::Sequence<beans::NamedValue> const userData(xNode->getUserData());
return findNamedValue( userData, aSearchKey );
diff --git a/slideshow/source/engine/slide/targetpropertiescreator.cxx b/slideshow/source/engine/slide/targetpropertiescreator.cxx
index 035b6e6e1a98..fdc45c3daac6 100644
--- a/slideshow/source/engine/slide/targetpropertiescreator.cxx
+++ b/slideshow/source/engine/slide/targetpropertiescreator.cxx
@@ -300,7 +300,7 @@ namespace slideshow::internal
beans::NamedValue(
//xAnimateNode->getAttributeName(),
"visibility",
- uno::makeAny( bVisible ) ) ) );
+ uno::Any( bVisible ) ) ) );
break;
}
}