diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-20 12:17:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-20 12:55:51 +0200 |
commit | b2764a9b66d1bab85256e5f9c3577b994448ce4a (patch) | |
tree | 5e55c3ae1d7e3aa48897fb37b35c77880cfd3b3a /svtools/source/config | |
parent | 2373babc6888e840d44ed2db80567acccb9ba993 (diff) |
convert EDynamicMenuType to scoped enum
and drop unused E_HELPBOOKMARKS
Change-Id: I5756ea326bdc1a99f7d6f1ba43baf6aca9f7f2fc
Reviewed-on: https://gerrit.libreoffice.org/36728
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svtools/source/config')
-rw-r--r-- | svtools/source/config/test/test.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/svtools/source/config/test/test.cxx b/svtools/source/config/test/test.cxx index 362089fb4e66..4fd54c54142e 100644 --- a/svtools/source/config/test/test.cxx +++ b/svtools/source/config/test/test.cxx @@ -129,25 +129,25 @@ void TestApplication::impl_testDynamicMenuOptions() // } // output content - Sequence< Sequence< PropertyValue > > lNewMenu = aCFG.GetMenu( E_NEWMENU ); - Sequence< Sequence< PropertyValue > > lWizardMenu = aCFG.GetMenu( E_WIZARDMENU ); + Sequence< Sequence< PropertyValue > > lNewMenu = aCFG.GetMenu( EDynamicMenuType::NewMenu ); + Sequence< Sequence< PropertyValue > > lWizardMenu = aCFG.GetMenu( EDynamicMenuType::WizardMenu ); if( lNewMenu.getLength() < 1 ) { - aCFG.AppendItem( E_NEWMENU, "private:factory/swriter", "new writer", "icon_writer", "_blank"); - aCFG.AppendItem( E_NEWMENU, "private:factory/scalc", "new calc", "icon_calc", "_blank"); - aCFG.AppendItem( E_NEWMENU, "private:factory/sdraw", "new draw", "icon_draw", "_blank"); + aCFG.AppendItem( EDynamicMenuType::NewMenu, "private:factory/swriter", "new writer", "icon_writer", "_blank"); + aCFG.AppendItem( EDynamicMenuType::NewMenu, "private:factory/scalc", "new calc", "icon_calc", "_blank"); + aCFG.AppendItem( EDynamicMenuType::NewMenu, "private:factory/sdraw", "new draw", "icon_draw", "_blank"); - lNewMenu = aCFG.GetMenu( E_NEWMENU ); + lNewMenu = aCFG.GetMenu( EDynamicMenuType::NewMenu ); } if( lWizardMenu.getLength() < 1 ) { - aCFG.AppendItem( E_WIZARDMENU, "file://a", "system file", "icon_file", "_self"); - aCFG.AppendItem( E_WIZARDMENU, "ftp://b", "ftp host", "icon_ftp", "_self"); - aCFG.AppendItem( E_WIZARDMENU, "http://c", "www", "icon_www", "_self"); + aCFG.AppendItem( EDynamicMenuType::WizardMenu, "file://a", "system file", "icon_file", "_self"); + aCFG.AppendItem( EDynamicMenuType::WizardMenu, "ftp://b", "ftp host", "icon_ftp", "_self"); + aCFG.AppendItem( EDynamicMenuType::WizardMenu, "http://c", "www", "icon_www", "_self"); - lWizardMenu = aCFG.GetMenu( E_WIZARDMENU ); + lWizardMenu = aCFG.GetMenu( EDynamicMenuType::WizardMenu ); } sal_uInt32 nItemCount ; |