sc/source/ui/undo/undosort.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)
New commits: commit 413a0655adec3e9364bc94afff638a5a9f88560c Author: Eike Rathke <er...@redhat.com> Date: Sun Dec 7 19:55:56 2014 +0100 umm.. row is row and col is col Change-Id: I26c62fa1fc97aa0dd4eda1102422e5f012a126eb diff --git a/sc/source/ui/undo/undosort.cxx b/sc/source/ui/undo/undosort.cxx index bd8ed83..acdac40 100644 --- a/sc/source/ui/undo/undosort.cxx +++ b/sc/source/ui/undo/undosort.cxx @@ -49,13 +49,13 @@ void UndoSort::Execute( bool bUndo ) ScRange aMarkRange( maParam.maSortRange); if (maParam.mbByRow) { - if (aMarkRange.aStart.Col() > 0) - aMarkRange.aStart.IncCol(-1); + if (aMarkRange.aStart.Row() > 0) + aMarkRange.aStart.IncRow(-1); } else { - if (aMarkRange.aStart.Row() > 0) - aMarkRange.aStart.IncRow(-1); + if (aMarkRange.aStart.Col() > 0) + aMarkRange.aStart.IncCol(-1); } ScUndoUtil::MarkSimpleBlock(pDocShell, aMarkRange); } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits