summaryrefslogtreecommitdiff
path: root/include/svx/scene3d.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-15 09:02:31 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-15 09:02:31 +0100
commitd9d92d20fdc414c5956290c10c4d473dcb836ceb (patch)
tree02c6079b0fbbae106e51dd307202ec2415f3340f /include/svx/scene3d.hxx
parenta5eddfbf45277eea21dd2271b36e9668313eadf3 (diff)
More loplugin:cstylecast: svx
Change-Id: If370ad12d2885ea9a6348736a3bcab618bc2e6ec
Diffstat (limited to 'include/svx/scene3d.hxx')
-rw-r--r--include/svx/scene3d.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/scene3d.hxx b/include/svx/scene3d.hxx
index 17351e83d9fd..b6562093a6f1 100644
--- a/include/svx/scene3d.hxx
+++ b/include/svx/scene3d.hxx
@@ -104,7 +104,7 @@ public:
// Perspective: enum ProjectionType { ProjectionType::Parallel, ProjectionType::Perspective }
ProjectionType GetPerspective() const
- { return (ProjectionType) GetObjectItemSet().Get(SDRATTR_3DSCENE_PERSPECTIVE).GetValue(); }
+ { return static_cast<ProjectionType>(GetObjectItemSet().Get(SDRATTR_3DSCENE_PERSPECTIVE).GetValue()); }
// Distance:
double GetDistance() const