summaryrefslogtreecommitdiff
path: root/sc/source/ui/Accessibility/AccessibleDocument.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/Accessibility/AccessibleDocument.cxx')
-rw-r--r--sc/source/ui/Accessibility/AccessibleDocument.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx
index 836106cf193e..74d0b60ffe52 100644
--- a/sc/source/ui/Accessibility/AccessibleDocument.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx
@@ -86,6 +86,8 @@ using namespace ::com::sun::star::accessibility;
//===== internal ========================================================
+namespace {
+
struct ScAccessibleShapeData
{
ScAccessibleShapeData(css::uno::Reference< css::drawing::XShape > xShape_);
@@ -100,6 +102,8 @@ struct ScAccessibleShapeData
boost::optional<sal_Int32> mxZOrder;
};
+}
+
ScAccessibleShapeData::ScAccessibleShapeData(css::uno::Reference< css::drawing::XShape > xShape_)
: xShape(xShape_),
bSelected(false), bSelectable(true)
@@ -128,6 +132,8 @@ ScAccessibleShapeData::~ScAccessibleShapeData()
}
}
+namespace {
+
struct ScShapeDataLess
{
static void ConvertLayerId(sal_Int16& rLayerID) // changes the number of the LayerId so it the accessibility order
@@ -193,6 +199,8 @@ struct ScShapeDataLess
}
};
+}
+
class ScChildrenShapes : public SfxListener,
public ::accessibility::IAccessibleParent
{