summaryrefslogtreecommitdiff
path: root/fpicker/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-04 10:01:05 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-04 11:57:03 +0200
commit5493ddc18ffd256ae85ef6aa26649f177164ac7e (patch)
tree62fc8c6287106d06e2275a74765e03eab2d66fc9 /fpicker/source
parentcceeb407c61e9af14a300e8fcfaa57fd91ede49e (diff)
Just use Any ctor instead of makeAny in fpicker
Change-Id: Ib23b10759bdc7c2eca4b585992756075e2642dd4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/133807 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'fpicker/source')
-rw-r--r--fpicker/source/office/RemoteFilesDialog.cxx2
-rw-r--r--fpicker/source/office/fileview.cxx2
-rw-r--r--fpicker/source/office/iodlg.cxx4
3 files changed, 4 insertions, 4 deletions
diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx
index 21fc6a28d8d1..4536690f9154 100644
--- a/fpicker/source/office/RemoteFilesDialog.cxx
+++ b/fpicker/source/office/RemoteFilesDialog.cxx
@@ -133,7 +133,7 @@ RemoteFilesDialog::~RemoteFilesDialog()
OUString sUserData = m_xFileView->GetConfigString();
aDlgOpt.SetUserItem( "UserData",
- makeAny( sSize + sUserData ) );
+ Any( sSize + sUserData ) );
}
// save services
diff --git a/fpicker/source/office/fileview.cxx b/fpicker/source/office/fileview.cxx
index e83b42bd7ecf..7e78f773ed84 100644
--- a/fpicker/source/office/fileview.cxx
+++ b/fpicker/source/office/fileview.cxx
@@ -771,7 +771,7 @@ bool ViewTabListBox_Impl::Kill( const OUString& rContent )
try
{
::ucbhelper::Content aCnt( rContent, mxCmdEnv, comphelper::getProcessComponentContext() );
- aCnt.executeCommand( "delete", makeAny( true ) );
+ aCnt.executeCommand( "delete", Any( true ) );
}
catch( css::ucb::CommandAbortedException const & )
{
diff --git a/fpicker/source/office/iodlg.cxx b/fpicker/source/office/iodlg.cxx
index 75b51850bf35..44a3fdca23ab 100644
--- a/fpicker/source/office/iodlg.cxx
+++ b/fpicker/source/office/iodlg.cxx
@@ -470,7 +470,7 @@ SvtFileDialog::~SvtFileDialog()
aDlgOpt.SetWindowState(OStringToOUString(m_xDialog->get_window_state(WindowStateMask::All), RTL_TEXTENCODING_UTF8));
OUString sUserData = m_xFileView->GetConfigString();
aDlgOpt.SetUserItem( "UserData",
- makeAny( sUserData ) );
+ Any( sUserData ) );
}
m_xFileView->SetSelectHdl(Link<SvtFileView*,void>());
@@ -1403,7 +1403,7 @@ void SvtFileDialog::displayIOException( const OUString& _rURL, IOErrorCode _eCod
// let and interaction handler handle this exception
rtl::Reference<::comphelper::OInteractionRequest> pRequest =
- new ::comphelper::OInteractionRequest( makeAny( aException ) );
+ new ::comphelper::OInteractionRequest( Any( aException ) );
pRequest->addContinuation( new ::comphelper::OInteractionAbort( ) );
Reference< XInteractionHandler2 > xHandler(