summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/gluectrl.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-11-13 10:19:16 +0200
committerNoel Grandin <noel@peralex.com>2014-11-13 10:19:46 +0200
commitb52a7c4df461109e6b80c65b043135582dd4f01b (patch)
tree5c5a1538813cb0048fc0bd2a4deac11de2abaddc /sd/source/ui/dlg/gluectrl.cxx
parentd1ec0bf64ce7c099f199e62f148187509c998d3a (diff)
loplugin: cstylecast
Change-Id: I071962c646199c30e842b9ec7673473de237ee45
Diffstat (limited to 'sd/source/ui/dlg/gluectrl.cxx')
-rw-r--r--sd/source/ui/dlg/gluectrl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/dlg/gluectrl.cxx b/sd/source/ui/dlg/gluectrl.cxx
index 7cbbb8d69400..79c6ebe63374 100644
--- a/sd/source/ui/dlg/gluectrl.cxx
+++ b/sd/source/ui/dlg/gluectrl.cxx
@@ -132,7 +132,7 @@ void SdTbxCtlGlueEscDir::StateChanged( sal_uInt16 nSId,
{
if( eState == SfxItemState::DEFAULT )
{
- GlueEscDirLB* pGlueEscDirLB = (GlueEscDirLB*) ( GetToolBox().
+ GlueEscDirLB* pGlueEscDirLB = static_cast<GlueEscDirLB*> ( GetToolBox().
GetItemWindow( GetId() ) );
if( pGlueEscDirLB )
{
@@ -145,7 +145,7 @@ void SdTbxCtlGlueEscDir::StateChanged( sal_uInt16 nSId,
}
else
{
- sal_uInt16 nEscDir = ( (const SfxUInt16Item*) pState )->GetValue();
+ sal_uInt16 nEscDir = static_cast<const SfxUInt16Item*>( pState )->GetValue();
pGlueEscDirLB->SelectEntryPos( GetEscDirPos( nEscDir ) );
}
}