diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2019-04-12 10:22:05 +0000 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2019-04-13 08:47:50 +0200 |
commit | 9dce6f74b1b43293b40217c1163c8d4285251e97 (patch) | |
tree | 12b6229f9c66998b3f14c32219ca71cef71c1ebc /sd/source/ui | |
parent | 34d012a128dfa959aa345672ebf4f9de80253b63 (diff) |
Fix typo in code
Change-Id: Iaa14545a19956b675ba8bbe0baf5d4ca8d86f518
Reviewed-on: https://gerrit.libreoffice.org/70692
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'sd/source/ui')
-rw-r--r-- | sd/source/ui/view/zoomlist.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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; |