sd/source/ui/view/zoomlist.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 9dce6f74b1b43293b40217c1163c8d4285251e97 Author: Andrea Gelmini <andrea.gelm...@gelma.net> AuthorDate: Fri Apr 12 10:22:05 2019 +0000 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Sat Apr 13 08:47:50 2019 +0200 Fix typo in code Change-Id: Iaa14545a19956b675ba8bbe0baf5d4ca8d86f518 Reviewed-on: https://gerrit.libreoffice.org/70692 Reviewed-by: Julien Nabet <serval2...@yahoo.fr> Tested-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/sd/source/ui/view/zoomlist.cxx b/sd/source/ui/view/zoomlist.cxx index f9a77e6b54d2..fe2fffbb1b70 100644 --- a/sd/source/ui/view/zoomlist.cxx +++ b/sd/source/ui/view/zoomlist.cxx @@ -28,7 +28,7 @@ namespace sd { -#define MAX_ENTRYS 10 +#define MAX_ENTRIES 10 ZoomList::ZoomList(ViewShell* pViewShell) : mpViewShell (pViewShell) @@ -40,7 +40,7 @@ void ZoomList::InsertZoomRect(const ::tools::Rectangle& rRect) { size_t nRectCount = maRectangles.size(); - if (nRectCount >= MAX_ENTRYS) + if (nRectCount >= MAX_ENTRIES) maRectangles.erase(maRectangles.begin()); else if (nRectCount == 0) mnCurPos = 0; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits