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 @@
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
......
......@@ -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 )
{
......
......@@ -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(
......
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