summaryrefslogtreecommitdiff
path: root/editeng/source/uno/unoforou.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/uno/unoforou.cxx')
-rw-r--r--editeng/source/uno/unoforou.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/uno/unoforou.cxx b/editeng/source/uno/unoforou.cxx
index e5f6275c13b3..64336df2d146 100644
--- a/editeng/source/uno/unoforou.cxx
+++ b/editeng/source/uno/unoforou.cxx
@@ -241,7 +241,7 @@ bool SvxOutlinerForwarder::IsValid() const
SfxItemState SvxOutlinerForwarder::GetItemState( const ESelection& rSel, sal_uInt16 nWhich ) const
{
- return GetSvxEditEngineItemState( const_cast<EditEngine&>(rOutliner.GetEditEngine()), rSel, nWhich );
+ return GetSvxEditEngineItemState( rOutliner.GetEditEngine(), rSel, nWhich );
}
SfxItemState SvxOutlinerForwarder::GetItemState( sal_Int32 nPara, sal_uInt16 nWhich ) const