diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 12:53:59 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-11-10 12:53:59 +0100 |
commit | 66094c6ab5776d0ce871621922b90140e01982a6 (patch) | |
tree | f5f2286e5237d14bf84c6383081f7f735f653485 /sfx2/source | |
parent | 40f3a942448facb900b422d30f64b75d7cac7f0f (diff) |
loplugin:oncevar
Change-Id: Iee9987aeafed126e4324d8d487289469577fafa2
Diffstat (limited to 'sfx2/source')
-rw-r--r-- | sfx2/source/appl/shutdowniconaqua.mm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sfx2/source/appl/shutdowniconaqua.mm b/sfx2/source/appl/shutdowniconaqua.mm index e231aac97a2b..f18791b6d517 100644 --- a/sfx2/source/appl/shutdowniconaqua.mm +++ b/sfx2/source/appl/shutdowniconaqua.mm @@ -411,14 +411,13 @@ void aqua_init_systray() std::set< rtl::OUString > aFileNewAppsAvailable; SvtDynamicMenuOptions aOpt; css::uno::Sequence < css::uno::Sequence < css::beans::PropertyValue > > aNewMenu = aOpt.GetMenu( E_NEWMENU ); - const rtl::OUString sURLKey( "URL" ); const css::uno::Sequence< css::beans::PropertyValue >* pNewMenu = aNewMenu.getConstArray(); const css::uno::Sequence< css::beans::PropertyValue >* pNewMenuEnd = aNewMenu.getConstArray() + aNewMenu.getLength(); for ( ; pNewMenu != pNewMenuEnd; ++pNewMenu ) { comphelper::SequenceAsHashMap aEntryItems( *pNewMenu ); - rtl::OUString sURL( aEntryItems.getUnpackedValueOrDefault( sURLKey, rtl::OUString() ) ); + rtl::OUString sURL( aEntryItems.getUnpackedValueOrDefault( "URL", rtl::OUString() ) ); if ( sURL.getLength() ) aFileNewAppsAvailable.insert( sURL ); } |