summaryrefslogtreecommitdiff
path: root/svtools/source/contnr/treelistentry.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-12 20:14:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-12 20:14:18 +0100
commit43b137e1404acbd16649813e9d493ba97b8f509c (patch)
tree2e5827c0d60185c56603e66b1ea74a72230b9476 /svtools/source/contnr/treelistentry.cxx
parentc049c76fc521f2b55b39a6e9eb0f0092bcf6ef77 (diff)
More loplugin:cstylecast: svtools
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: Ide9e7c53b554f0a36e2078a8823f5ef6fb5cc8fa
Diffstat (limited to 'svtools/source/contnr/treelistentry.cxx')
-rw-r--r--svtools/source/contnr/treelistentry.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/contnr/treelistentry.cxx b/svtools/source/contnr/treelistentry.cxx
index aab1f37597c2..b96a2c8e479e 100644
--- a/svtools/source/contnr/treelistentry.cxx
+++ b/svtools/source/contnr/treelistentry.cxx
@@ -200,12 +200,12 @@ void SvTreeListEntry::SetUserData( void* pPtr )
bool SvTreeListEntry::HasChildrenOnDemand() const
{
- return (bool)(nEntryFlags & SvTLEntryFlags::CHILDREN_ON_DEMAND);
+ return static_cast<bool>(nEntryFlags & SvTLEntryFlags::CHILDREN_ON_DEMAND);
}
bool SvTreeListEntry::HasInUseEmphasis() const
{
- return (bool)(nEntryFlags & SvTLEntryFlags::IN_USE);
+ return static_cast<bool>(nEntryFlags & SvTLEntryFlags::IN_USE);
}