summaryrefslogtreecommitdiff
path: root/linguistic
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-04 08:42:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-04 11:57:57 +0200
commitf04375e1cfaadb12b2c42c8f0fbb0c05b223e092 (patch)
tree46c3cff6fe60b6657205f209c0e90ed27c2c8b00 /linguistic
parentb58c0531cfb1bc9d1d948f6298b30e8afe0f6f35 (diff)
Just use Any ctor instead of makeAny in linguistic
Change-Id: I8697999ecedc1c3d368509470581635b087bcea8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133802 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'linguistic')
-rw-r--r--linguistic/source/convdiclist.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/linguistic/source/convdiclist.cxx b/linguistic/source/convdiclist.cxx
index 0104b36df663..396c7427cd3a 100644
--- a/linguistic/source/convdiclist.cxx
+++ b/linguistic/source/convdiclist.cxx
@@ -179,7 +179,7 @@ uno::Any SAL_CALL ConvDicNameContainer::getByName( const OUString& rName )
uno::Reference< XConversionDictionary > xRes( GetByName( rName ) );
if (!xRes.is())
throw NoSuchElementException();
- return makeAny( xRes );
+ return Any( xRes );
}
uno::Sequence< OUString > SAL_CALL ConvDicNameContainer::getElementNames( )
@@ -254,7 +254,7 @@ void SAL_CALL ConvDicNameContainer::removeByName( const OUString& rName )
::ucbhelper::Content aCnt( aObj.GetMainURL( INetURLObject::DecodeMechanism::NONE ),
uno::Reference< css::ucb::XCommandEnvironment >(),
comphelper::getProcessComponentContext() );
- aCnt.executeCommand( "delete", makeAny( true ) );
+ aCnt.executeCommand( "delete", Any( true ) );
}
catch( ... )
{