diff options
Diffstat (limited to 'sc/source/ui/Accessibility')
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleDocument.cxx | 10 | ||||
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx index 4b1c96b071c9..a4e94cc9ecab 100644 --- a/sc/source/ui/Accessibility/AccessibleDocument.cxx +++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx @@ -133,7 +133,7 @@ struct ScShapeDataLess msZOrder( "ZOrder" ) { } - void ConvertLayerId(sal_Int16& rLayerID) const // changes the number of the LayerId so it the accessibility order + static void ConvertLayerId(sal_Int16& rLayerID) // changes the number of the LayerId so it the accessibility order { switch (rLayerID) { @@ -330,8 +330,8 @@ private: bool FindShape(const uno::Reference<drawing::XShape>& xShape, SortedShapes::iterator& rItr) const; - sal_Int8 Compare(const ScAccessibleShapeData* pData1, - const ScAccessibleShapeData* pData2) const; + static sal_Int8 Compare(const ScAccessibleShapeData* pData1, + const ScAccessibleShapeData* pData2); }; ScChildrenShapes::ScChildrenShapes(ScAccessibleDocument* pAccessibleDocument, ScTabViewShell* pViewShell, ScSplitPos eSplitPos) @@ -1361,7 +1361,7 @@ bool ScChildrenShapes::FindShape(const uno::Reference<drawing::XShape>& xShape, } sal_Int8 ScChildrenShapes::Compare(const ScAccessibleShapeData* pData1, - const ScAccessibleShapeData* pData2) const + const ScAccessibleShapeData* pData2) { ScShapeDataLess aLess; @@ -2343,7 +2343,7 @@ OUString ScAccessibleDocument::GetCurrentCellName() const return sName; } -OUString ScAccessibleDocument::GetCurrentCellDescription() const +OUString ScAccessibleDocument::GetCurrentCellDescription() { return OUString(); } diff --git a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx index 08db9aa7fc63..c127841e54f0 100644 --- a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx +++ b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx @@ -106,8 +106,8 @@ private: ::accessibility::AccessibleTextHelper* CreateTextHelper(const OUString& rString, const Rectangle& rVisRect, const ScAddress& aCellPos, bool bMarkNote, sal_Int32 nChildOffset) const; sal_Int32 AddNotes(const ScPreviewLocationData& rData, const Rectangle& rVisRect, bool bMark, ScAccNotes& rNotes); - sal_Int8 CompareCell(const ScAddress& aCell1, const ScAddress& aCell2); - void CollectChildren(const ScAccNote& rNote, ScXAccList& rList); + static sal_Int8 CompareCell(const ScAddress& aCell1, const ScAddress& aCell2); + static void CollectChildren(const ScAccNote& rNote, ScXAccList& rList); sal_Int32 CheckChanges(const ScPreviewLocationData& rData, const Rectangle& rVisRect, bool bMark, ScAccNotes& rOldNotes, ScAccNotes& rNewNotes, ScXAccList& rOldParas, ScXAccList& rNewParas); |