diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-08-15 15:14:47 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-08-16 09:10:20 +0200 |
commit | 8353793c94416a9a3a5af074d881624e43e5ec2f (patch) | |
tree | 17f6e377b489ccf6439484371d4212e9afe734cd /include/vcl/textdata.hxx | |
parent | Rework loops so to have exit condition on correct unsigned value (diff) | |
download | core-8353793c94416a9a3a5af074d881624e43e5ec2f.tar.gz core-8353793c94416a9a3a5af074d881624e43e5ec2f.zip |
Use constants instead of (possibly wrong) magic numbers
Change-Id: I0829d271337b9fe77341c62a1c2ef4d6ae62c727
Diffstat (limited to 'include/vcl/textdata.hxx')
-rw-r--r-- | include/vcl/textdata.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/vcl/textdata.hxx b/include/vcl/textdata.hxx index d206da947c66..b982b1ecf74e 100644 --- a/include/vcl/textdata.hxx +++ b/include/vcl/textdata.hxx @@ -25,7 +25,8 @@ #include <vcl/dllapi.h> // for Notify, if all paragraphs were deleted -#define TEXT_PARA_ALL 0xFFFFFFFF +#define TEXT_PARA_ALL SAL_MAX_UINT32 +#define TEXT_INDEX_ALL SAL_MAX_INT32 class TextPaM { |