summaryrefslogtreecommitdiff
path: root/svx/source/sidebar/tools
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-10-20 11:52:06 +0200
committerNoel Grandin <noel@peralex.com>2014-10-20 13:33:58 +0200
commit3bb30a68e0604b3006f367fdb4c0a797846c23bc (patch)
treec5f5d11d9a0656c92ff7196984ca9238df2e89ee /svx/source/sidebar/tools
parentefa7f1a549ebf2580d50f6f0bb96e294a5fce670 (diff)
loplugin: cstylecast
Change-Id: If50022b55a558c4124d71acbbe0ef5eb48801d0b
Diffstat (limited to 'svx/source/sidebar/tools')
-rw-r--r--svx/source/sidebar/tools/ColorControl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/sidebar/tools/ColorControl.cxx b/svx/source/sidebar/tools/ColorControl.cxx
index affabdac5387..68f8ce08cbde 100644
--- a/svx/source/sidebar/tools/ColorControl.cxx
+++ b/svx/source/sidebar/tools/ColorControl.cxx
@@ -68,7 +68,7 @@ namespace {
const SfxPoolItem* pItem = pDocSh->GetItem(SID_COLOR_TABLE);
if (pItem != NULL)
{
- XColorListRef xTable = ((SvxColorListItem*)pItem)->GetColorList();
+ XColorListRef xTable = static_cast<const SvxColorListItem*>(pItem)->GetColorList();
if (xTable.is())
return xTable;
}