diff options
Diffstat (limited to 'include/svx/scene3d.hxx')
-rw-r--r-- | include/svx/scene3d.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/svx/scene3d.hxx b/include/svx/scene3d.hxx index c0a9a247746b..17351e83d9fd 100644 --- a/include/svx/scene3d.hxx +++ b/include/svx/scene3d.hxx @@ -108,7 +108,7 @@ public: // Distance: double GetDistance() const - { return (double)GetObjectItemSet().Get(SDRATTR_3DSCENE_DISTANCE).GetValue(); } + { return static_cast<double>(GetObjectItemSet().Get(SDRATTR_3DSCENE_DISTANCE).GetValue()); } // Focal length: before cm, now 1/10th mm (*100) double GetFocalLength() const |