diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-04-14 00:42:50 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-04-14 00:42:50 -0400 |
commit | 70d27eddd2e86fc525c0c482496f4f4803efafae (patch) | |
tree | 974d131bbb0794bb702890189b92b71a3db427d5 /editeng | |
parent | 7b74902db2ad3185e7b61ab4a15385e5a6db06a8 (diff) |
This must be const.
Diffstat (limited to 'editeng')
-rw-r--r-- | editeng/inc/editeng/editdata.hxx | 2 | ||||
-rw-r--r-- | editeng/source/editeng/editdata.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/editeng/inc/editeng/editdata.hxx b/editeng/inc/editeng/editdata.hxx index 4cedc89ae955..9fbbc9264ab4 100644 --- a/editeng/inc/editeng/editdata.hxx +++ b/editeng/inc/editeng/editdata.hxx @@ -54,7 +54,7 @@ enum EVAnchorMode { #define EE_PARA_ALL 0xFFFF #define EE_INDEX_NOT_FOUND 0xFFFF -EDITENG_DLLPUBLIC extern size_t EE_APPEND; +EDITENG_DLLPUBLIC extern const size_t EE_APPEND; // Error messages for Read / Write Method #define EE_READWRITE_OK (SVSTREAM_OK) diff --git a/editeng/source/editeng/editdata.cxx b/editeng/source/editeng/editdata.cxx index 2aaa093706ae..f06a9c70a0d7 100644 --- a/editeng/source/editeng/editdata.cxx +++ b/editeng/source/editeng/editdata.cxx @@ -30,6 +30,6 @@ #include <limits> -size_t EE_APPEND = std::numeric_limits<size_t>::max(); +const size_t EE_APPEND = std::numeric_limits<size_t>::max(); /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |