summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbatabstops.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-03 16:22:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-03 21:38:56 +0200
commitca734f7cfa55814a85d5940e5f64d7c53638f6a7 (patch)
tree6958c7a84693891a687f29eead25297da0470e46 /sw/source/ui/vba/vbatabstops.cxx
parentdc3b0983561f9166da9f3d48f8c64f9077193b0c (diff)
Just use Any ctor instead of makeAny in sw
Change-Id: I2c9023ba8d07314d23ae7a65e670e8748c5e9322 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133766 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source/ui/vba/vbatabstops.cxx')
-rw-r--r--sw/source/ui/vba/vbatabstops.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/vba/vbatabstops.cxx b/sw/source/ui/vba/vbatabstops.cxx
index b790db76805b..ac93903cd901 100644
--- a/sw/source/ui/vba/vbatabstops.cxx
+++ b/sw/source/ui/vba/vbatabstops.cxx
@@ -40,7 +40,7 @@ static uno::Sequence< style::TabStop > lcl_getTabStops( const uno::Reference< be
/// @throws uno::RuntimeException
static void lcl_setTabStops( const uno::Reference< beans::XPropertySet >& xParaProps, const uno::Sequence< style::TabStop >& aSeq )
{
- xParaProps->setPropertyValue("ParaTabStops", uno::makeAny( aSeq ) );
+ xParaProps->setPropertyValue("ParaTabStops", uno::Any( aSeq ) );
}
namespace {
@@ -92,7 +92,7 @@ public:
if ( Index < 0 || Index >= getCount() )
throw css::lang::IndexOutOfBoundsException();
- return uno::makeAny( uno::Reference< word::XTabStop >( new SwVbaTabStop( mxParent, mxContext ) ) );
+ return uno::Any( uno::Reference< word::XTabStop >( new SwVbaTabStop( mxParent, mxContext ) ) );
}
virtual uno::Type SAL_CALL getElementType( ) override
{