From 7282b25f226bf73ed88dbd3d0a6f265f1626d190 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 15 Sep 2017 18:45:17 +0200 Subject: 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 --- sd/source/ui/unoidl/unopage.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd') 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() ); -- cgit