diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-05-03 23:21:30 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-05-04 06:54:23 +0200 |
commit | 0bfa6a180850898ec5038ad70e09a2ff7baafa1a (patch) | |
tree | 616bad3d3714b562da478768455cdb3797da63ba /sfx2/source/doc/docmacromode.cxx | |
parent | b34f6f3b5ae6b889fbfd84719ee255282cb45e0e (diff) |
Just use Any ctor instead of makeAny in sfx2
Change-Id: Ie707881d6f4cd4a2f92f4f5a89aa9e0b051db8a7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133783
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sfx2/source/doc/docmacromode.cxx')
-rw-r--r-- | sfx2/source/doc/docmacromode.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/docmacromode.cxx b/sfx2/source/doc/docmacromode.cxx index 10630d0f3eae..3a868411375d 100644 --- a/sfx2/source/doc/docmacromode.cxx +++ b/sfx2/source/doc/docmacromode.cxx @@ -91,7 +91,7 @@ namespace sfx2 ErrorCodeRequest aErrorCodeRequest; aErrorCodeRequest.ErrCode = sal_uInt32(nSfxErrorCode); - SfxMedium::CallApproveHandler( rxHandler, makeAny( aErrorCodeRequest ), false ); + SfxMedium::CallApproveHandler( rxHandler, Any( aErrorCodeRequest ), false ); rbAlreadyShown = true; } @@ -121,7 +121,7 @@ namespace sfx2 { DocumentMacroConfirmationRequest aRequest; aRequest.DocumentURL = rDocumentLocation; - return SfxMedium::CallApproveHandler( rxHandler, makeAny( aRequest ), true ); + return SfxMedium::CallApproveHandler( rxHandler, Any( aRequest ), true ); } } |