diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2022-11-26 00:21:57 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2022-11-26 07:07:37 +0100 |
commit | cb7153403a55a0e565584aedd8a4dc8da149b08c (patch) | |
tree | d11d237100d94d128ebac72a6c8a8d45a9b89c46 /sw | |
parent | e52cf954a1dcd0f26096fcdb89f068e76c3fa9f2 (diff) |
Unneeded const_cast
Change-Id: I135498592857a624b72db519724e8f189e60e9a3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143310
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/text/txtfrm.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/txtfrm.cxx b/sw/source/core/text/txtfrm.cxx index 29e98cfca5b9..8db5779293d3 100644 --- a/sw/source/core/text/txtfrm.cxx +++ b/sw/source/core/text/txtfrm.cxx @@ -1259,7 +1259,7 @@ TextFrameIndex SwTextFrame::MapModelToView(SwTextNode const*const pNode, sal_Int } else { - assert(static_cast<SwTextNode*>(const_cast<sw::BroadcastingModify*>(SwFrame::GetDep())) == pNode); + assert(static_cast<const SwTextNode*>(SwFrame::GetDep()) == pNode); return TextFrameIndex(nIndex); } } |