summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2014-03-31 23:34:57 +0200
committerMatteo Casalin <matteo.casalin@yahoo.com>2014-04-06 22:12:48 +0200
commit8f77b01856b2e086cd8965af158e114b2ce70bf2 (patch)
tree3ce60549184c980214eeb3a2b54c9d3dc2a2a0d1 /sw
parenta0e0d5f9cb280178cdcf8eed40e5775b3e9cf1ab (diff)
Avoid magic number for array size
Change-Id: I79267391286855859d2a7d6ccff1500dc096a023
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/envelp/envprt.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/envelp/envprt.hxx b/sw/source/ui/envelp/envprt.hxx
index b1941e8608a6..8b0f3eaee87e 100644
--- a/sw/source/ui/envelp/envprt.hxx
+++ b/sw/source/ui/envelp/envprt.hxx
@@ -44,7 +44,7 @@ class SwEnvPrtPage : public SfxTabPage
FixedText* m_pPrinterInfo;
PushButton* m_pPrtSetup;
- sal_uInt16 m_aIds[6];
+ sal_uInt16 m_aIds[ENV_VER_RGHT-ENV_HOR_LEFT+1];
Printer* pPrt;