Kaydet (Commit) 3b27fa90 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Better way to detect Apple Xcode 9 Clang

...without also accidentally affecting any upstream Clang 9.0

Change-Id: Ie52413e2e53a2ce01f55b97677fe9878d498b076
Reviewed-on: https://gerrit.libreoffice.org/42809Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst 043bf229
......@@ -1412,8 +1412,10 @@ void SwDocTest::testTableAutoFormats()
//Get m_aRotateAngle
CPPUNIT_ASSERT( bool( pLoadAF->GetBoxFormat(0).m_aRotateAngle == aRAngle ) );
#if !((defined(__clang__) && __clang_major__ == 4 && __clang_minor__ == 0) \
|| (defined __APPLE__ && defined __clang__ && __clang_major__ == 9 \
&& __clang_minor__ == 0))
|| (defined __APPLE__ && defined __clang__ \
&& defined __apple_build_version__ \
&& __apple_build_version__ >= 9000000 \
&& __apple_build_version__ <= 9000099))
// Temporary fix for mysterious problem with Clang in F26 and Xcode 9
//Get m_aRotateMode
SvxRotateModeItem aRMode = aBoxAF.m_aRotateMode;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment