summaryrefslogtreecommitdiff
path: root/vbahelper/source/vbahelper/vbacommandbarcontrols.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vbahelper/source/vbahelper/vbacommandbarcontrols.cxx')
-rw-r--r--vbahelper/source/vbahelper/vbacommandbarcontrols.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/vbahelper/source/vbahelper/vbacommandbarcontrols.cxx b/vbahelper/source/vbahelper/vbacommandbarcontrols.cxx
index f789a487f6b2..cb83e51c8204 100644
--- a/vbahelper/source/vbahelper/vbacommandbarcontrols.cxx
+++ b/vbahelper/source/vbahelper/vbacommandbarcontrols.cxx
@@ -23,6 +23,8 @@
using namespace com::sun::star;
using namespace ooo::vba;
+namespace {
+
class CommandBarControlEnumeration : public ::cppu::WeakImplHelper< container::XEnumeration >
{
//uno::Reference< uno::XComponentContext > m_xContext;
@@ -45,6 +47,8 @@ public:
}
};
+}
+
ScVbaCommandBarControls::ScVbaCommandBarControls( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< container::XIndexAccess>& xIndexAccess, VbaCommandBarHelperRef const & pHelper, const uno::Reference< container::XIndexAccess>& xBarSettings, const OUString& sResourceUrl ) : CommandBarControls_BASE( xParent, xContext, xIndexAccess ), pCBarHelper( pHelper ), m_xBarSettings( xBarSettings ), m_sResourceUrl( sResourceUrl )
{
m_bIsMenu = sResourceUrl == ITEM_MENUBAR_URL;
@@ -243,6 +247,7 @@ ScVbaCommandBarControls::getServiceNames()
return aServiceNames;
}
+namespace {
class VbaDummyIndexAccess : public ::cppu::WeakImplHelper< container::XIndexAccess >
{
@@ -260,6 +265,7 @@ public:
{ return false; }
};
+}
VbaDummyCommandBarControls::VbaDummyCommandBarControls(
const uno::Reference< XHelperInterface >& xParent,