[Libreoffice-commits] core.git: sfx2/source
Stephan Bergmann
sbergman at redhat.com
Tue Feb 28 19:51:51 UTC 2017
sfx2/source/appl/shutdowniconaqua.mm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
New commits:
commit 0b849247e11729707d46c214f53da7d4eb22c7e0
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Feb 28 20:51:16 2017 +0100
loplugin:unoany
Change-Id: Id50b15bbb9f8c62ac5258358431ff6ce0e7584d1
diff --git a/sfx2/source/appl/shutdowniconaqua.mm b/sfx2/source/appl/shutdowniconaqua.mm
index 8a36273..cd69b46 100644
--- a/sfx2/source/appl/shutdowniconaqua.mm
+++ b/sfx2/source/appl/shutdowniconaqua.mm
@@ -252,11 +252,11 @@ class RecentFilesStringLength : public ::cppu::WeakImplHelper< css::util::XStrin
css::uno::Sequence< css::beans::PropertyValue > aArgsList( NUM_OF_PICKLIST_ARGS );
aArgsList[0].Name = "Referer";
- aArgsList[0].Value = css::uno::makeAny( OUString( "private:user" ) );
+ aArgsList[0].Value <<= OUString( "private:user" );
// documents in the picklist will never be opened as templates
aArgsList[1].Name = "AsTemplate";
- aArgsList[1].Value = css::uno::makeAny( false );
+ aArgsList[1].Value <<= false;
::rtl::OUString aFilter( rRecentFile.aFilter );
sal_Int32 nPos = aFilter.indexOf( '|' );
@@ -268,14 +268,14 @@ class RecentFilesStringLength : public ::cppu::WeakImplHelper< css::util::XStrin
aFilterOptions = aFilter.copy( nPos+1 );
aArgsList[2].Name = "FilterOptions";
- aArgsList[2].Value = css::uno::makeAny( aFilterOptions );
+ aArgsList[2].Value <<= aFilterOptions;
aFilter = aFilter.copy( 0, nPos-1 );
aArgsList.realloc( ++NUM_OF_PICKLIST_ARGS );
}
aArgsList[NUM_OF_PICKLIST_ARGS-1].Name = "FilterName";
- aArgsList[NUM_OF_PICKLIST_ARGS-1].Value = css::uno::makeAny( aFilter );
+ aArgsList[NUM_OF_PICKLIST_ARGS-1].Value <<= aFilter;
ShutdownIcon::OpenURL( rRecentFile.aURL, "_default", aArgsList );
}
More information about the Libreoffice-commits
mailing list