diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-29 15:57:22 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-05-05 09:30:40 +0200 |
commit | 03e6cc9130864adcea5a1ae5440f24a9c128e8d6 (patch) | |
tree | 4d8245b295c316bc71dc713c4691322c27a37d12 /sc/source/ui/Accessibility/AccessibleDocument.cxx | |
parent | 6ca16a4cad999dbb0296ea64db2263a26e52f36c (diff) |
loplugin:staticmethods
Change-Id: I912187d6c481a2ba61fed9c01998bf6f3c08a6a0
Diffstat (limited to 'sc/source/ui/Accessibility/AccessibleDocument.cxx')
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleDocument.cxx | 10 |
1 files changed, 5 insertions, 5 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(); } |