slideshow/source/engine/animationnodes/basenode.cxx       |    2 +-
 slideshow/source/engine/slide/targetpropertiescreator.cxx |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 75f008ff116f936e51f268c3fa6775de7addee7a
Author:     Stephan Bergmann <[email protected]>
AuthorDate: Tue May 3 23:18:51 2022 +0200
Commit:     Stephan Bergmann <[email protected]>
CommitDate: Wed May 4 06:54:45 2022 +0200

    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 <[email protected]>

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;
                     }
                 }

Reply via email to