You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by pf...@apache.org on 2013/01/18 03:44:03 UTC
svn commit: r1435011 - in /openoffice/trunk/main/sc/source/ui/vba:
helperdecl.hxx vbahyperlinks.cxx vbahyperlinks.hxx
Author: pfg
Date: Fri Jan 18 02:44:03 2013
New Revision: 1435011
URL: http://svn.apache.org/viewvc?rev=1435011&view=rev
Log:
Add namespace extension: may reduce some warnings.
Modified:
openoffice/trunk/main/sc/source/ui/vba/helperdecl.hxx
openoffice/trunk/main/sc/source/ui/vba/vbahyperlinks.cxx
openoffice/trunk/main/sc/source/ui/vba/vbahyperlinks.hxx
Modified: openoffice/trunk/main/sc/source/ui/vba/helperdecl.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/vba/helperdecl.hxx?rev=1435011&r1=1435010&r2=1435011&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/vba/helperdecl.hxx (original)
+++ openoffice/trunk/main/sc/source/ui/vba/helperdecl.hxx Fri Jan 18 02:44:03 2013
@@ -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
Modified: openoffice/trunk/main/sc/source/ui/vba/vbahyperlinks.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/vba/vbahyperlinks.cxx?rev=1435011&r1=1435010&r2=1435011&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/vba/vbahyperlinks.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/vba/vbahyperlinks.cxx Fri Jan 18 02:44:03 2013
@@ -109,7 +109,7 @@ bool EqualAnchorFunctor::operator()( con
// ============================================================================
-namespace detail {
+namespace vba_detail {
class ScVbaHlinkContainer : public ::cppu::WeakImplHelper1< container::XIndexAccess >
{
@@ -201,13 +201,13 @@ ScVbaHlinkContainerMember::~ScVbaHlinkCo
{
}
-} // 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
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 )
{
Modified: openoffice/trunk/main/sc/source/ui/vba/vbahyperlinks.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/vba/vbahyperlinks.hxx?rev=1435011&r1=1435010&r2=1435011&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/vba/vbahyperlinks.hxx (original)
+++ openoffice/trunk/main/sc/source/ui/vba/vbahyperlinks.hxx Fri Jan 18 02:44:03 2013
@@ -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::X
End With
*/
-class ScVbaHyperlinks : private detail::ScVbaHlinkContainerMember, public ScVbaHyperlinks_BASE
+class ScVbaHyperlinks : private vba_detail::ScVbaHlinkContainerMember, public ScVbaHyperlinks_BASE
{
public:
explicit ScVbaHyperlinks(