summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-09-11 17:37:11 +0300
committerTor Lillqvist <tml@collabora.com>2017-09-11 17:37:27 +0300
commit0eae830ca1f12691c73e7e13c8efe08d23506304 (patch)
tree80f154386c00066c9806b9359405dd23b13864dd /sw
parente07e38f71c728630e993cbff5bc78c76fc02d692 (diff)
loplugin:unusedvariablecheck
Change-Id: Iaeed1da4ec76075271b48147e3f9372d966e6f99
Diffstat (limited to 'sw')
-rw-r--r--sw/qa/core/uwriter.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/core/uwriter.cxx b/sw/qa/core/uwriter.cxx
index d619d94282a0..76dbb783faf3 100644
--- a/sw/qa/core/uwriter.cxx
+++ b/sw/qa/core/uwriter.cxx
@@ -1269,7 +1269,6 @@ void SwDocTest::testTableAutoFormats()
SfxInt32Item aRAngle = aBoxAF.m_aRotateAngle;
//Set m_aRotateMode
aBoxAF.m_aRotateMode.SetValue( SVX_ROTATE_MODE_CENTER );
- SvxRotateModeItem aRMode = aBoxAF.m_aRotateMode;
//Set m_sNumFormatString
OUString aNFString = "UnitTestFormat";
aBoxAF.m_sNumFormatString = aNFString;
@@ -1414,6 +1413,7 @@ void SwDocTest::testTableAutoFormats()
CPPUNIT_ASSERT( bool( pLoadAF->GetBoxFormat(0).m_aRotateAngle == aRAngle ) );
#if !(defined(__clang__) && __clang_major__ == 4 && __clang_minor__ == 0) // Temporary fix for mysterious problem with Clang on F26
//Get m_aRotateMode
+ SvxRotateModeItem aRMode = aBoxAF.m_aRotateMode;
CPPUNIT_ASSERT( bool( pLoadAF->GetBoxFormat(0).m_aRotateMode == aRMode ) );
#endif
//Get m_sNumFormatString