diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-16 18:22:54 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-16 18:22:54 +0100 |
commit | 60b14d663ec561a8606170cf0b7af13725265b01 (patch) | |
tree | 825ebb89350d1c04d775709a87039c9a62e7a786 /sw/inc/PostItMgr.hxx | |
parent | 9b6ed11d58b9f9d0310f95f914a3d354fc813b54 (diff) |
Clean up integers representing "redline authors"
Unlinke in previous such clean-up commits, there appears to be no sufficiently
exposed container type whose size_type could be used throughout, so resorting to
the generic std::size_t in this case.
Change-Id: I3cfbcbe5cce1bfcff2efbb4f8a509fe80ab12151
Diffstat (limited to 'sw/inc/PostItMgr.hxx')
-rw-r--r-- | sw/inc/PostItMgr.hxx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sw/inc/PostItMgr.hxx b/sw/inc/PostItMgr.hxx index 38c24ba78bf2..83e3ba469af8 100644 --- a/sw/inc/PostItMgr.hxx +++ b/sw/inc/PostItMgr.hxx @@ -20,6 +20,9 @@ #ifndef INCLUDED_SW_INC_POSTITMGR_HXX #define INCLUDED_SW_INC_POSTITMGR_HXX +#include <sal/config.h> + +#include <cstddef> #include <list> #include <vector> #include <editeng/outlobj.hxx> @@ -262,9 +265,9 @@ class SwPostItMgr: public SfxListener void SetSpellChecking(); - static Color GetColorDark(sal_uInt16 aAuthorIndex); - static Color GetColorLight(sal_uInt16 aAuthorIndex); - static Color GetColorAnchor(sal_uInt16 aAuthorIndex); + static Color GetColorDark(std::size_t aAuthorIndex); + static Color GetColorLight(std::size_t aAuthorIndex); + static Color GetColorAnchor(std::size_t aAuthorIndex); void RegisterAnswer(OutlinerParaObject* pAnswer) { mpAnswer = pAnswer;} OutlinerParaObject* IsAnswer() {return mpAnswer;} |