diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-15 13:53:53 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-15 13:57:08 +0200 |
commit | 0ece187f92f9f87ae69b957c498cad8dcce56232 (patch) | |
tree | 1173470f1c2c5d965891f32ff7bff09ec9d778aa /svx/source/unodialogs | |
parent | fb7b1f45f9593db2d040dfaa06db0ea60f5308ba (diff) |
loplugin: cstylecast
Change-Id: I0ccdd2ce18336afea67a3f296b26b2de50f14808
Diffstat (limited to 'svx/source/unodialogs')
-rw-r--r-- | svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx index 689709125aee..0c93c9c4e5a4 100644 --- a/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx +++ b/svx/source/unodialogs/textconversiondlgs/chinese_dictionarydialog.cxx @@ -302,8 +302,8 @@ sal_Int32 DictionaryList::ColumnCompare( SvTreeListEntry* pLeft, SvTreeListEntry IntlWrapper aIntlWrapper( Application::GetSettings().GetLanguageTag() ); const CollatorWrapper* pCollator = aIntlWrapper.getCaseCollator(); - nCompare = pCollator->compareString( ((SvLBoxString*)pLeftItem)->GetText(), - ((SvLBoxString*)pRightItem)->GetText()); + nCompare = pCollator->compareString( static_cast<SvLBoxString*>(pLeftItem)->GetText(), + static_cast<SvLBoxString*>(pRightItem)->GetText()); if (nCompare == 0) nCompare = -1; |