Kaydet (Commit) c48e84dd authored tarafından Pedro Giffuni's avatar Pedro Giffuni

Add namespace extension: may reduce some warnings.

üst 8befe68b
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
namespace comphelper { namespace comphelper {
namespace service_decl { namespace service_decl {
template <typename ImplT_, typename WithArgsT = with_args<false> > 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; typedef serviceimpl_base< detail::OwnServiceImpl<ImplT_>, WithArgsT > baseT;
/** Default ctor. Implementation class without args, expecting /** Default ctor. Implementation class without args, expecting
......
...@@ -109,7 +109,7 @@ bool EqualAnchorFunctor::operator()( const uno::Reference< excel::XHyperlink >& ...@@ -109,7 +109,7 @@ bool EqualAnchorFunctor::operator()( const uno::Reference< excel::XHyperlink >&
// ============================================================================ // ============================================================================
namespace detail { namespace vba_detail {
class ScVbaHlinkContainer : public ::cppu::WeakImplHelper1< container::XIndexAccess > class ScVbaHlinkContainer : public ::cppu::WeakImplHelper1< container::XIndexAccess >
{ {
...@@ -201,13 +201,13 @@ ScVbaHlinkContainerMember::~ScVbaHlinkContainerMember() ...@@ -201,13 +201,13 @@ ScVbaHlinkContainerMember::~ScVbaHlinkContainerMember()
{ {
} }
} // namespace detail } // namespace vba_detail
// ============================================================================ // ============================================================================
ScVbaHyperlinks::ScVbaHyperlinks( const uno::Reference< XHelperInterface >& rxParent, ScVbaHyperlinks::ScVbaHyperlinks( const uno::Reference< XHelperInterface >& rxParent,
const uno::Reference< uno::XComponentContext >& rxContext ) throw (uno::RuntimeException) : 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() ) ) ScVbaHyperlinks_BASE( rxParent, rxContext, uno::Reference< container::XIndexAccess >( mxContainer.get() ) )
{ {
} }
...@@ -215,7 +215,7 @@ ScVbaHyperlinks::ScVbaHyperlinks( const uno::Reference< XHelperInterface >& rxPa ...@@ -215,7 +215,7 @@ ScVbaHyperlinks::ScVbaHyperlinks( const uno::Reference< XHelperInterface >& rxPa
ScVbaHyperlinks::ScVbaHyperlinks( const uno::Reference< XHelperInterface >& rxParent, ScVbaHyperlinks::ScVbaHyperlinks( const uno::Reference< XHelperInterface >& rxParent,
const uno::Reference< uno::XComponentContext >& rxContext, const uno::Reference< uno::XComponentContext >& rxContext,
const ScVbaHyperlinksRef& rxSheetHlinks, const ScRangeList& rScRanges ) throw (uno::RuntimeException) : 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() ) ), ScVbaHyperlinks_BASE( rxParent, rxContext, uno::Reference< container::XIndexAccess >( mxContainer.get() ) ),
mxSheetHlinks( rxSheetHlinks ) mxSheetHlinks( rxSheetHlinks )
{ {
......
...@@ -32,7 +32,7 @@ class ScRangeList; ...@@ -32,7 +32,7 @@ class ScRangeList;
// ============================================================================ // ============================================================================
namespace detail { namespace vba_detail {
class ScVbaHlinkContainer; class ScVbaHlinkContainer;
typedef ::rtl::Reference< ScVbaHlinkContainer > ScVbaHlinkContainerRef; typedef ::rtl::Reference< ScVbaHlinkContainer > ScVbaHlinkContainerRef;
...@@ -48,7 +48,7 @@ struct ScVbaHlinkContainerMember ...@@ -48,7 +48,7 @@ struct ScVbaHlinkContainerMember
~ScVbaHlinkContainerMember(); ~ScVbaHlinkContainerMember();
}; };
} // namespace detail } // namespace vba_detail
// ============================================================================ // ============================================================================
...@@ -103,7 +103,7 @@ typedef CollTestImplHelper< ov::excel::XHyperlinks > ScVbaHyperlinks_BASE; ...@@ -103,7 +103,7 @@ typedef CollTestImplHelper< ov::excel::XHyperlinks > ScVbaHyperlinks_BASE;
End With End With
*/ */
class ScVbaHyperlinks : private detail::ScVbaHlinkContainerMember, public ScVbaHyperlinks_BASE class ScVbaHyperlinks : private vba_detail::ScVbaHlinkContainerMember, public ScVbaHyperlinks_BASE
{ {
public: public:
explicit ScVbaHyperlinks( explicit ScVbaHyperlinks(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment