summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTamás Zolnai <tamas.zolnai@collabora.com>2020-03-06 17:17:22 +0100
committerTamás Zolnai <tamas.zolnai@collabora.com>2020-03-06 21:12:00 +0100
commit530d4cfa3ce3d1276305da4dc578890abba065cb (patch)
tree7cf28174c523c581c0e1868fa288c5d729c31ca8 /sw
parentdada19a89cbdc5f089fe1200275a1688a1ff1967 (diff)
Remove useless cast.
Change-Id: I256c7a2257dd74b5650854f0231615353b43dcdb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90119 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/uibase/utlui/content.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/utlui/content.cxx b/sw/source/uibase/utlui/content.cxx
index e220797c38fe..250b588a00b0 100644
--- a/sw/source/uibase/utlui/content.cxx
+++ b/sw/source/uibase/utlui/content.cxx
@@ -541,7 +541,7 @@ void SwContentType::FillMemberList(bool* pbLevelOrVisibilityChanged)
size_t nPos = 0;
for (size_t i = 0; i < nOutlineCount; ++i)
{
- const sal_Int8 nLevel = static_cast<sal_Int8>(m_pWrtShell->getIDocumentOutlineNodesAccess()->getOutlineLevel(i));
+ const sal_uInt8 nLevel = m_pWrtShell->getIDocumentOutlineNodesAccess()->getOutlineLevel(i);
if(nLevel >= m_nOutlineLevel )
m_nMemberCount--;
else