diff options
author | Noel Grandin <noel@peralex.com> | 2014-11-26 10:27:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-11-26 11:46:38 +0200 |
commit | 5be1635d45e28e047af0cde4e387b07a3131cc9d (patch) | |
tree | d2bd0d9f133c10e563655081174d1481a68e09b3 /sw/source/ui/misc/num.cxx | |
parent | b61ca31e53f0a56667a5e00e966681be29ea7bf7 (diff) |
loplugin: cstylecast
Change-Id: Idce7220056f7bc339a5060fd0bd6fbbbdde4f6ff
Diffstat (limited to 'sw/source/ui/misc/num.cxx')
-rw-r--r-- | sw/source/ui/misc/num.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/ui/misc/num.cxx b/sw/source/ui/misc/num.cxx index cd2ed1473548..459c038c6da3 100644 --- a/sw/source/ui/misc/num.cxx +++ b/sw/source/ui/misc/num.cxx @@ -368,7 +368,7 @@ void SwNumPositionTabPage::ActivatePage(const SfxItemSet& ) const SfxItemSet* pExampleSet = GetTabDialog()->GetExampleSet(); if(pExampleSet && pExampleSet->GetItemState(FN_PARAM_NUM_PRESET, false, &pItem) != SfxItemState::UNKNOWN) { - bPreset = ((const SfxBoolItem*)pItem)->GetValue(); + bPreset = static_cast<const SfxBoolItem*>(pItem)->GetValue(); } bModified = (!pActNum->GetNumFmt( 0 ) || bPreset); if(*pActNum != *pSaveNum || |