summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/nameuno.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-03 23:26:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-04 08:09:59 +0200
commit6cd4194e05233e8d1ddb59ffb9703778668b3f1b (patch)
tree7426ebc757cc92988d561b07580854b55160c3b5 /sc/source/ui/unoobj/nameuno.cxx
parent5fc8f8620d0367813d20b9a90ece47f0674996b3 (diff)
Just use Any ctor instead of makeAny in sc
Change-Id: I5c2363ff03ae02274f3c334cc262977c834950d5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133788 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/source/ui/unoobj/nameuno.cxx')
-rw-r--r--sc/source/ui/unoobj/nameuno.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/unoobj/nameuno.cxx b/sc/source/ui/unoobj/nameuno.cxx
index 05cd82fa91a4..9a286bb6d41b 100644
--- a/sc/source/ui/unoobj/nameuno.cxx
+++ b/sc/source/ui/unoobj/nameuno.cxx
@@ -608,7 +608,7 @@ uno::Any SAL_CALL ScNamedRangesObj::getByIndex( sal_Int32 nIndex )
if ( !xRange.is() )
throw lang::IndexOutOfBoundsException();
- return uno::makeAny(xRange);
+ return uno::Any(xRange);
}
uno::Type SAL_CALL ScNamedRangesObj::getElementType()
@@ -659,7 +659,7 @@ uno::Any SAL_CALL ScNamedRangesObj::getByName( const OUString& aName )
if ( !xRange.is() )
throw container::NoSuchElementException();
- return uno::makeAny(xRange);
+ return uno::Any(xRange);
}
uno::Sequence<OUString> SAL_CALL ScNamedRangesObj::getElementNames()
@@ -1143,7 +1143,7 @@ uno::Any SAL_CALL ScLabelRangesObj::getByIndex( sal_Int32 nIndex )
if ( !xRange.is() )
throw lang::IndexOutOfBoundsException();
- return uno::makeAny(xRange);
+ return uno::Any(xRange);
}
uno::Type SAL_CALL ScLabelRangesObj::getElementType()