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 | |
parent | Export this to get it to build in forms. (diff) | |
download | core-70d27eddd2e86fc525c0c482496f4f4803efafae.tar.gz core-70d27eddd2e86fc525c0c482496f4f4803efafae.zip |
This must be const.
-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: */ |