summaryrefslogtreecommitdiffstats
path: root/sc/source/ui/vba/vbaborders.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/vba/vbaborders.cxx')
-rw-r--r--sc/source/ui/vba/vbaborders.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/sc/source/ui/vba/vbaborders.cxx b/sc/source/ui/vba/vbaborders.cxx
index 815f007676fa..406cea8a410b 100644
--- a/sc/source/ui/vba/vbaborders.cxx
+++ b/sc/source/ui/vba/vbaborders.cxx
@@ -49,6 +49,8 @@ const static sal_Int32 OOLineMedium = 88;
const static sal_Int32 OOLineThick = 141;
const static sal_Int32 OOLineHairline = 2;
+namespace {
+
class ScVbaBorder : public ScVbaBorder_Base
{
private:
@@ -350,12 +352,16 @@ public:
}
};
+}
+
static uno::Reference< container::XIndexAccess >
rangeToBorderIndexAccess( const uno::Reference< table::XCellRange >& xRange, const uno::Reference< uno::XComponentContext > & xContext, const ScVbaPalette& rPalette )
{
return new RangeBorders( xRange, xContext, rPalette );
}
+namespace {
+
class RangeBorderEnumWrapper : public EnumerationHelper_BASE
{
uno::Reference<container::XIndexAccess > m_xIndexAccess;
@@ -375,6 +381,8 @@ public:
}
};
+}
+
ScVbaBorders::ScVbaBorders( const uno::Reference< XHelperInterface >& xParent,
const uno::Reference< uno::XComponentContext > & xContext,
const uno::Reference< table::XCellRange >& xRange,