summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sd/source/ui/view/zoomlist.cxx4
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;