summaryrefslogtreecommitdiff
path: root/sw/source/uibase/shells
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/source/uibase/shells
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/source/uibase/shells')
-rw-r--r--sw/source/uibase/shells/textfld.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/source/uibase/shells/textfld.cxx b/sw/source/uibase/shells/textfld.cxx
index ac5af4115966..b333f5fc4e6f 100644
--- a/sw/source/uibase/shells/textfld.cxx
+++ b/sw/source/uibase/shells/textfld.cxx
@@ -71,6 +71,7 @@
#include <edtwin.hxx>
#include <PostItMgr.hxx>
#include <calbck.hxx>
+#include <cstddef>
#include <memory>
#include <swmodule.hxx>
@@ -420,7 +421,7 @@ void SwTextShell::ExecField(SfxRequest &rReq)
sAuthor = pAuthorItem->GetValue();
else
{
- sal_uInt16 nAuthor = SW_MOD()->GetRedlineAuthor();
+ std::size_t nAuthor = SW_MOD()->GetRedlineAuthor();
sAuthor = SW_MOD()->GetRedlineAuthor(nAuthor);
}