diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-04-01 22:09:59 +0200 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-04-01 22:45:37 +0200 |
commit | 7215fae352b8956ae1c9b1f629189c5fd2ab4d4c (patch) | |
tree | 8bbe4c30fca7be96ef98f02c33caf71733c141f4 /desktop/source | |
parent | 909fd7e71d0a075bf1318f5df062345f5c059c14 (diff) |
expand some more namespace macros
Change-Id: If4b335b238f1fa62d2e3f658429cdec63d561faf
Diffstat (limited to 'desktop/source')
-rw-r--r-- | desktop/source/migration/migration_impl.hxx | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/desktop/source/migration/migration_impl.hxx b/desktop/source/migration/migration_impl.hxx index 653813fbd2dd..714a7e485ce5 100644 --- a/desktop/source/migration/migration_impl.hxx +++ b/desktop/source/migration/migration_impl.hxx @@ -41,9 +41,6 @@ #include <com/sun/star/ui/XUIConfigurationManager.hpp> #include <com/sun/star/ui/XUIConfigurationPersistence.hpp> -#define NS_CSS com::sun::star -#define NS_UNO com::sun::star::uno - namespace desktop { @@ -89,7 +86,7 @@ struct MigrationItem ::rtl::OUString m_sParentNodeName; ::rtl::OUString m_sPrevSibling; ::rtl::OUString m_sCommandURL; - NS_UNO::Reference< NS_CSS::container::XIndexContainer > m_xPopupMenu; + css::uno::Reference< css::container::XIndexContainer > m_xPopupMenu; MigrationItem() :m_xPopupMenu(0) @@ -99,7 +96,7 @@ struct MigrationItem MigrationItem(const ::rtl::OUString& sParentNodeName, const ::rtl::OUString& sPrevSibling, const ::rtl::OUString& sCommandURL, - const NS_UNO::Reference< NS_CSS::container::XIndexContainer > xPopupMenu) + const css::uno::Reference< css::container::XIndexContainer > xPopupMenu) { m_sParentNodeName = sParentNodeName; m_sPrevSibling = sPrevSibling; @@ -167,16 +164,16 @@ class NewVersionUIInfo { public: - NS_UNO::Reference< NS_CSS::ui::XUIConfigurationManager > getConfigManager(const ::rtl::OUString& sModuleShortName) const; - NS_UNO::Reference< NS_CSS::container::XIndexContainer > getNewMenubarSettings(const ::rtl::OUString& sModuleShortName) const; - NS_UNO::Reference< NS_CSS::container::XIndexContainer > getNewToolbarSettings(const ::rtl::OUString& sModuleShortName, const ::rtl::OUString& sToolbarName) const; + css::uno::Reference< css::ui::XUIConfigurationManager > getConfigManager(const ::rtl::OUString& sModuleShortName) const; + css::uno::Reference< css::container::XIndexContainer > getNewMenubarSettings(const ::rtl::OUString& sModuleShortName) const; + css::uno::Reference< css::container::XIndexContainer > getNewToolbarSettings(const ::rtl::OUString& sModuleShortName, const ::rtl::OUString& sToolbarName) const; void init(const ::std::vector< MigrationModuleInfo >& vModulesInfo); private: - NS_UNO::Sequence< NS_CSS::beans::PropertyValue > m_lCfgManagerSeq; - NS_UNO::Sequence< NS_CSS::beans::PropertyValue > m_lNewVersionMenubarSettingsSeq; - NS_UNO::Sequence< NS_CSS::beans::PropertyValue > m_lNewVersionToolbarSettingsSeq; + css::uno::Sequence< css::beans::PropertyValue > m_lCfgManagerSeq; + css::uno::Sequence< css::beans::PropertyValue > m_lNewVersionMenubarSettingsSeq; + css::uno::Sequence< css::beans::PropertyValue > m_lNewVersionToolbarSettingsSeq; }; class MigrationImpl @@ -208,15 +205,15 @@ private: // helpers strings_vr getAllFiles(const rtl::OUString& baseURL) const; strings_vr applyPatterns(const strings_v& vSet, const strings_v& vPatterns) const; - NS_UNO::Reference< NS_CSS::container::XNameAccess > getConfigAccess(const sal_Char* path, sal_Bool rw=sal_False); + css::uno::Reference< css::container::XNameAccess > getConfigAccess(const sal_Char* path, sal_Bool rw=sal_False); ::std::vector< MigrationModuleInfo > dectectUIChangesForAllModules() const; void compareOldAndNewConfig(const ::rtl::OUString& sParentNodeName, - const NS_UNO::Reference< NS_CSS::container::XIndexContainer >& xOldIndexContainer, - const NS_UNO::Reference< NS_CSS::container::XIndexContainer >& xNewIndexContainer, + const css::uno::Reference< css::container::XIndexContainer >& xOldIndexContainer, + const css::uno::Reference< css::container::XIndexContainer >& xNewIndexContainer, const ::rtl::OUString& sToolbarName); - void mergeOldToNewVersion(const NS_UNO::Reference< NS_CSS::ui::XUIConfigurationManager >& xCfgManager, - const NS_UNO::Reference< NS_CSS::container::XIndexContainer>& xIndexContainer, + void mergeOldToNewVersion(const css::uno::Reference< css::ui::XUIConfigurationManager >& xCfgManager, + const css::uno::Reference< css::container::XIndexContainer>& xIndexContainer, const ::rtl::OUString& sModuleIdentifier, const ::rtl::OUString& sResourceURL); @@ -237,8 +234,6 @@ public: rtl::OUString getOldVersionName(); }; } -#undef NS_CSS -#undef NS_UNO #endif |