diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-05-04 19:33:06 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-05-04 22:30:38 +0200 |
commit | eae2e1d6d61e7096d3fc0220832a1d1705d70093 (patch) | |
tree | dcfa4be8a742853afe550f4ae0563556ee8926c8 /comphelper/qa/unit/variadictemplates.cxx | |
parent | 158bd4ae5c5fc9a3ab96c46fd20a56bc0d5b81dc (diff) |
Just use Any ctor instead of makeAny in comphelper
Change-Id: Ib3edbef27c2d25dae8bac07e0199af071131170e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133839
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'comphelper/qa/unit/variadictemplates.cxx')
-rw-r--r-- | comphelper/qa/unit/variadictemplates.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/comphelper/qa/unit/variadictemplates.cxx b/comphelper/qa/unit/variadictemplates.cxx index e729d76b24ed..6b62204f487c 100644 --- a/comphelper/qa/unit/variadictemplates.cxx +++ b/comphelper/qa/unit/variadictemplates.cxx @@ -91,22 +91,22 @@ void VariadicTemplatesTest::testUnwrapArgs() { sal_Int32 tmp2 = 42; sal_uInt32 tmp3 = 42; ::com::sun::star::uno::Any tmp6( - ::com::sun::star::uno::makeAny( tmp1 ) + tmp1 ); ::com::sun::star::uno::Any tmp7( - ::com::sun::star::uno::makeAny( tmp2 ) + tmp2 ); ::com::sun::star::uno::Any tmp8( - ::com::sun::star::uno::makeAny( tmp3 ) + tmp3 ); ::com::sun::star::uno::Any tmp9( - ::com::sun::star::uno::makeAny( OUString("Test2") ) + OUString("Test2") ); ::std::optional< ::com::sun::star::uno::Any > tmp10( - ::com::sun::star::uno::makeAny( OUString("Test3") ) + OUString("Test3") ); ::std::optional< ::com::sun::star::uno::Any > tmp11( - ::com::sun::star::uno::makeAny( tmp1 ) + tmp1 ); // test equality with the baseline and template specialization with |