diff options
author | Pedro Giffuni <pfg@apache.org> | 2013-01-18 01:44:03 +0000 |
---|---|---|
committer | Pedro Giffuni <pfg@apache.org> | 2013-01-18 01:44:03 +0000 |
commit | c48e84dd084ab687fef8574a2c52b86d20fe724d (patch) | |
tree | e23d66ee4e6309995c15a404f1dcf19717ead0d3 | |
parent | 8befe68b418bc82eca13f553b3488bcdcdb6aaac (diff) |
Add namespace extension: may reduce some warnings.
Notes
Notes:
ignore: does not seem necessary
-rw-r--r-- | sc/source/ui/vba/helperdecl.hxx | 2 | ||||
-rw-r--r-- | sc/source/ui/vba/vbahyperlinks.cxx | 8 | ||||
-rwxr-xr-x | sc/source/ui/vba/vbahyperlinks.hxx | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/ui/vba/helperdecl.hxx b/sc/source/ui/vba/helperdecl.hxx index dad87770b1db..aa1cb71a0aba 100644 --- a/sc/source/ui/vba/helperdecl.hxx +++ b/sc/source/ui/vba/helperdecl.hxx @@ -26,7 +26,7 @@ namespace comphelper { namespace service_decl { template <typename ImplT_, typename WithArgsT = with_args<false> > -struct vba_service_class_ : public serviceimpl_base< detail::OwnServiceImpl<ImplT_>, WithArgsT > +struct vba_service_class_ : public serviceimpl_base< vba_detail::OwnServiceImpl<ImplT_>, WithArgsT > { typedef serviceimpl_base< detail::OwnServiceImpl<ImplT_>, WithArgsT > baseT; /** Default ctor. Implementation class without args, expecting diff --git a/sc/source/ui/vba/vbahyperlinks.cxx b/sc/source/ui/vba/vbahyperlinks.cxx index 2475f67450cc..7ad8e41744c2 100644 --- a/sc/source/ui/vba/vbahyperlinks.cxx +++ b/sc/source/ui/vba/vbahyperlinks.cxx @@ -109,7 +109,7 @@ bool EqualAnchorFunctor::operator()( const uno::Reference< excel::XHyperlink >& // ============================================================================ -namespace detail { +namespace vba_detail { class ScVbaHlinkContainer : public ::cppu::WeakImplHelper1< container::XIndexAccess > { @@ -201,13 +201,13 @@ ScVbaHlinkContainerMember::~ScVbaHlinkContainerMember() { } -} // namespace detail +} // namespace vba_detail // ============================================================================ ScVbaHyperlinks::ScVbaHyperlinks( const uno::Reference< XHelperInterface >& rxParent, const uno::Reference< uno::XComponentContext >& rxContext ) throw (uno::RuntimeException) : - detail::ScVbaHlinkContainerMember( new detail::ScVbaHlinkContainer ), + vba_detail::ScVbaHlinkContainerMember( new vba_detail::ScVbaHlinkContainer ), ScVbaHyperlinks_BASE( rxParent, rxContext, uno::Reference< container::XIndexAccess >( mxContainer.get() ) ) { } @@ -215,7 +215,7 @@ ScVbaHyperlinks::ScVbaHyperlinks( const uno::Reference< XHelperInterface >& rxPa ScVbaHyperlinks::ScVbaHyperlinks( const uno::Reference< XHelperInterface >& rxParent, const uno::Reference< uno::XComponentContext >& rxContext, const ScVbaHyperlinksRef& rxSheetHlinks, const ScRangeList& rScRanges ) throw (uno::RuntimeException) : - detail::ScVbaHlinkContainerMember( new detail::ScVbaHlinkContainer( rxSheetHlinks->mxContainer, rScRanges ) ), + vba_detail::ScVbaHlinkContainerMember( new vba_detail::ScVbaHlinkContainer( rxSheetHlinks->mxContainer, rScRanges ) ), ScVbaHyperlinks_BASE( rxParent, rxContext, uno::Reference< container::XIndexAccess >( mxContainer.get() ) ), mxSheetHlinks( rxSheetHlinks ) { diff --git a/sc/source/ui/vba/vbahyperlinks.hxx b/sc/source/ui/vba/vbahyperlinks.hxx index ba95b8a0e567..20cbdfec4c74 100755 --- a/sc/source/ui/vba/vbahyperlinks.hxx +++ b/sc/source/ui/vba/vbahyperlinks.hxx @@ -32,7 +32,7 @@ class ScRangeList; // ============================================================================ -namespace detail { +namespace vba_detail { class ScVbaHlinkContainer; typedef ::rtl::Reference< ScVbaHlinkContainer > ScVbaHlinkContainerRef; @@ -48,7 +48,7 @@ struct ScVbaHlinkContainerMember ~ScVbaHlinkContainerMember(); }; -} // namespace detail +} // namespace vba_detail // ============================================================================ @@ -103,7 +103,7 @@ typedef CollTestImplHelper< ov::excel::XHyperlinks > ScVbaHyperlinks_BASE; End With */ -class ScVbaHyperlinks : private detail::ScVbaHlinkContainerMember, public ScVbaHyperlinks_BASE +class ScVbaHyperlinks : private vba_detail::ScVbaHlinkContainerMember, public ScVbaHyperlinks_BASE { public: explicit ScVbaHyperlinks( |