diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-09-15 18:45:17 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-09-15 18:50:45 +0200 |
commit | 7282b25f226bf73ed88dbd3d0a6f265f1626d190 (patch) | |
tree | d8484acfe96b5c8d74d0302e74c04c79e9dbb350 /sd/source/ui/unoidl/unopage.cxx | |
parent | ebc7beb6626a330631cf5e12f0cd8b85f5da1bfa (diff) |
Fix loplugin:redundantcast's VisitCXXFunctionalCastExpr
...when t1 is ElaboratedType sugar (which isn't only used when the type is
written with an elaborated type keyword, but also when it is written with a
qualified name).
(I originally wrote testArithmeticTypedefs to track down a different issue,
which turned out to be a non-issue, with this fix as fall-out. So that test
doesn't quite match the theme of this commit, but is a worthwhile addition
nonetheless.)
Change-Id: Ic447da4399853d7d045e3e2e7ade8ddf52d89749
Diffstat (limited to 'sd/source/ui/unoidl/unopage.cxx')
-rw-r--r-- | sd/source/ui/unoidl/unopage.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/unoidl/unopage.cxx b/sd/source/ui/unoidl/unopage.cxx index 5976b90b56fa..84f7a8399f36 100644 --- a/sd/source/ui/unoidl/unopage.cxx +++ b/sd/source/ui/unoidl/unopage.cxx @@ -1046,7 +1046,7 @@ Any SAL_CALL SdGenericDrawPage::getPropertyValue( const OUString& PropertyName ) : view::PaperOrientation_LANDSCAPE); break; case WID_PAGE_EFFECT: - aAny <<= presentation::FadeEffect(GetPage()->GetFadeEffect()); + aAny <<= GetPage()->GetFadeEffect(); break; case WID_PAGE_CHANGE: aAny <<= (sal_Int32)( GetPage()->GetPresChange() ); |