diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-05-03 11:20:57 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-05-03 16:00:02 +0200 |
commit | 54d6e9f7dcea00761a47121994dd9121f54e1798 (patch) | |
tree | 9c6014aaa83c4fcee4479ea82a143fc51f7d4269 /include/unotools/sharedunocomponent.hxx | |
parent | 8cc937d73ccb1108c7b9c869aa6ae40d630fbdac (diff) |
Just use Any ctor instead of makeAny in unotools
Change-Id: I58d2020035396da0b3580b058d87c8e2d3f2df40
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133750
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'include/unotools/sharedunocomponent.hxx')
-rw-r--r-- | include/unotools/sharedunocomponent.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/unotools/sharedunocomponent.hxx b/include/unotools/sharedunocomponent.hxx index 169e899ca75b..8acc64b1f905 100644 --- a/include/unotools/sharedunocomponent.hxx +++ b/include/unotools/sharedunocomponent.hxx @@ -232,7 +232,7 @@ namespace utl template < class INTERFACE, class COMPONENT > inline css::uno::Any SAL_CALL makeAny( const SharedUNOComponent< INTERFACE, COMPONENT >& value ) { - return makeAny( value.getTyped() ); + return css::uno::Any( value.getTyped() ); } template < class INTERFACE, class COMPONENT > |