Just use Any ctor instead of makeAny in sdext
Change-Id: I78f6972f0fe94423e00f2c3766df694d8e118439 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133784 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
parent
6d6b84db61
commit
b0f42b588f
@ -73,7 +73,7 @@ private:
|
||||
|
||||
PDFPasswordRequest::PDFPasswordRequest( bool bFirstTry, const OUString& rName ) :
|
||||
m_aRequest(
|
||||
uno::makeAny(
|
||||
uno::Any(
|
||||
task::DocumentPasswordRequest(
|
||||
OUString(), uno::Reference< uno::XInterface >(),
|
||||
task::InteractionClassification_QUERY,
|
||||
@ -127,7 +127,7 @@ private:
|
||||
virtual ~UnsupportedEncryptionFormatRequest() override {}
|
||||
|
||||
virtual uno::Any SAL_CALL getRequest() override {
|
||||
return uno::makeAny(
|
||||
return uno::Any(
|
||||
task::ErrorCodeRequest(
|
||||
OUString(), uno::Reference< uno::XInterface >(),
|
||||
sal_uInt32(ERRCODE_IO_WRONGVERSION)));
|
||||
|
@ -717,9 +717,9 @@ uno::Sequence<beans::PropertyValue> LineParser::readImageImpl()
|
||||
uno::UNO_QUERY_THROW );
|
||||
|
||||
uno::Sequence<beans::PropertyValue> aSequence( comphelper::InitPropertySequence({
|
||||
{ "URL", uno::makeAny(aFileName) },
|
||||
{ "InputStream", uno::makeAny( xDataStream ) },
|
||||
{ "InputSequence", uno::makeAny(aDataSequence) }
|
||||
{ "URL", uno::Any(aFileName) },
|
||||
{ "InputStream", uno::Any( xDataStream ) },
|
||||
{ "InputSequence", uno::Any(aDataSequence) }
|
||||
}));
|
||||
|
||||
return aSequence;
|
||||
|
Loading…
x
Reference in New Issue
Block a user