summaryrefslogtreecommitdiff
path: root/editeng/inc/editdoc.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:25:09 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:25:09 +0100
commit54a8e708b4822f6887b5d18af39ccb87387e0774 (patch)
tree8b94f887d875dedffc39974347fc075a3765cd93 /editeng/inc/editdoc.hxx
parent2e1559cd85d2f1b4e308d63d34bf3632ba4b6d4b (diff)
More loplugin:cstylecast: editeng
auto-rewrite with <https://gerrit.libreoffice.org/#/c/47798/> "Enable loplugin:cstylecast for some more cases" plus solenv/clang-format/reformat-formatted-files Change-Id: I09a4d688e6f3c1ecbe05a7d27ebd955e8ba1eb65
Diffstat (limited to 'editeng/inc/editdoc.hxx')
-rw-r--r--editeng/inc/editdoc.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/inc/editdoc.hxx b/editeng/inc/editdoc.hxx
index 760d9a079cc3..e833d8b005ce 100644
--- a/editeng/inc/editdoc.hxx
+++ b/editeng/inc/editdoc.hxx
@@ -826,7 +826,7 @@ public:
inline EditCharAttrib* GetAttrib(CharAttribList::AttribsType& rAttribs, sal_Int32 nAttr)
{
- return (nAttr < (sal_Int32)rAttribs.size()) ? rAttribs[nAttr].get() : nullptr;
+ return (nAttr < static_cast<sal_Int32>(rAttribs.size())) ? rAttribs[nAttr].get() : nullptr;
}
void CheckOrderedList(const CharAttribList::AttribsType& rAttribs);