[Libreoffice-commits] .: sc/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Dec 19 07:55:35 PST 2012
sc/source/ui/view/cellsh.cxx | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 4ecfcfebbabb950654f699f0168fd3823ea60b94
Author: Rodolfo Ribeiro Gomes <rodolforg at gmail.com>
Date: Wed Dec 19 12:06:55 2012 -0200
Little optimization when detecting if there is cell notes to be deleted
Change-Id: I6f7a79459f3d0431adc45f339854b1a9339444c0
Reviewed-on: https://gerrit.libreoffice.org/1415
Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
diff --git a/sc/source/ui/view/cellsh.cxx b/sc/source/ui/view/cellsh.cxx
index 72c8be3..ade336a 100644
--- a/sc/source/ui/view/cellsh.cxx
+++ b/sc/source/ui/view/cellsh.cxx
@@ -929,7 +929,10 @@ void ScCellShell::GetState(SfxItemSet &rSet)
if ( nCol <= aRanges[nPos]->aEnd.Col() && nRow <= aRanges[nPos]->aEnd.Row()
&& nCol >= aRanges[nPos]->aStart.Col() && nRow >= aRanges[nPos]->aStart.Row() )
+ {
bEnable = true; //note found
+ break;
+ }
}
}
}
More information about the Libreoffice-commits
mailing list