summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
Diffstat (limited to 'svx')
-rw-r--r--svx/source/sidebar/text/TextCharacterSpacingControl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/sidebar/text/TextCharacterSpacingControl.cxx b/svx/source/sidebar/text/TextCharacterSpacingControl.cxx
index 3da72391476a..ba528d702282 100644
--- a/svx/source/sidebar/text/TextCharacterSpacingControl.cxx
+++ b/svx/source/sidebar/text/TextCharacterSpacingControl.cxx
@@ -109,7 +109,7 @@ void TextCharacterSpacingControl::Initialize()
const SfxPoolItem* pItem;
SfxItemState eState = SfxViewFrame::Current()->GetBindings().GetDispatcher()->QueryState(SID_ATTR_CHAR_KERNING, pItem);
- const SvxKerningItem* pKerningItem = static_cast<const SvxKerningItem*>(pItem);
+ const SvxKerningItem* pKerningItem = dynamic_cast<const SvxKerningItem*>(pItem);
tools::Long nKerning = 0;
if(pKerningItem)