summaryrefslogtreecommitdiff
path: root/sd/source/ui/animations
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:27:49 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:27:49 +0200
commit1234f96b963d3bc71736c29b455872447266f11c (patch)
tree1835cdc3334ab8865fa50249a1ac098a604ddf8d /sd/source/ui/animations
parent4446cdf20b7b2ef8438058529aeee9b1e1f6549d (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I0c6d14f0762ae804b931472bc201826821572e3e
Diffstat (limited to 'sd/source/ui/animations')
-rw-r--r--sd/source/ui/animations/CustomAnimationPane.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/animations/CustomAnimationPane.cxx b/sd/source/ui/animations/CustomAnimationPane.cxx
index ca19853a4c0a..0ff1b9705503 100644
--- a/sd/source/ui/animations/CustomAnimationPane.cxx
+++ b/sd/source/ui/animations/CustomAnimationPane.cxx
@@ -113,19 +113,19 @@ void fillDurationComboBox( ListBox* pBox )
static const double gdVeryFast = 0.5;
OUString aVerySlow( SD_RESSTR( STR_CUSTOMANIMATION_DURATION_VERY_SLOW ) );
- pBox->SetEntryData( pBox->InsertEntry( aVerySlow ), (void*)&gdVerySlow );
+ pBox->SetEntryData( pBox->InsertEntry( aVerySlow ), const_cast<double *>(&gdVerySlow) );
OUString aSlow( SD_RESSTR( STR_CUSTOMANIMATION_DURATION_SLOW ) );
- pBox->SetEntryData( pBox->InsertEntry( aSlow ), (void*)&gdSlow );
+ pBox->SetEntryData( pBox->InsertEntry( aSlow ), const_cast<double *>(&gdSlow) );
OUString aNormal( SD_RESSTR( STR_CUSTOMANIMATION_DURATION_NORMAL ) );
- pBox->SetEntryData( pBox->InsertEntry( aNormal ), (void*)&gdNormal );
+ pBox->SetEntryData( pBox->InsertEntry( aNormal ), const_cast<double *>(&gdNormal) );
OUString aFast( SD_RESSTR( STR_CUSTOMANIMATION_DURATION_FAST ) );
- pBox->SetEntryData( pBox->InsertEntry( aFast ), (void*)&gdFast );
+ pBox->SetEntryData( pBox->InsertEntry( aFast ), const_cast<double *>(&gdFast) );
OUString aVeryFast( SD_RESSTR( STR_CUSTOMANIMATION_DURATION_VERY_FAST ) );
- pBox->SetEntryData( pBox->InsertEntry( aVeryFast ), (void*)&gdVeryFast );
+ pBox->SetEntryData( pBox->InsertEntry( aVeryFast ), const_cast<double *>(&gdVeryFast) );
}
void fillRepeatComboBox( ListBox* pBox )