summaryrefslogtreecommitdiff
path: root/sw/inc/postithelper.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-03-16 18:22:54 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-03-16 18:22:54 +0100
commit60b14d663ec561a8606170cf0b7af13725265b01 (patch)
tree825ebb89350d1c04d775709a87039c9a62e7a786 /sw/inc/postithelper.hxx
parent9b6ed11d58b9f9d0310f95f914a3d354fc813b54 (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/postithelper.hxx')
-rw-r--r--sw/inc/postithelper.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/inc/postithelper.hxx b/sw/inc/postithelper.hxx
index 2d89cbc98734..5e323aa4cf5d 100644
--- a/sw/inc/postithelper.hxx
+++ b/sw/inc/postithelper.hxx
@@ -22,6 +22,7 @@
#include <swrect.hxx>
#include <fmtfld.hxx>
#include <redline.hxx>
+#include <cstddef>
#include <vector>
#include <vcl/window.hxx>
#include <SidebarWindowsTypes.hxx>
@@ -54,7 +55,7 @@ struct SwLayoutInfo
sw::sidebarwindows::SidebarPosition meSidebarPosition;
- sal_uInt16 mRedlineAuthor;
+ std::size_t mRedlineAuthor;
SwLayoutInfo()
: mpAnchorFrame(nullptr)