summaryrefslogtreecommitdiff
path: root/editeng/qa/unit/core-test.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/qa/unit/core-test.cxx')
-rw-r--r--editeng/qa/unit/core-test.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/editeng/qa/unit/core-test.cxx b/editeng/qa/unit/core-test.cxx
index 94a2aa4a5cda..b34ad8bb18f8 100644
--- a/editeng/qa/unit/core-test.cxx
+++ b/editeng/qa/unit/core-test.cxx
@@ -1895,6 +1895,8 @@ void Test::testHoriAlignIgnoreTrailingWhitespace()
// this keeps failing on OSX with a value of 4495
#if !defined(MACOSX)
CPPUNIT_ASSERT_DOUBLES_EQUAL(static_cast<long>(4527), pLine->GetStartPosX(), 10);
+#else
+ (void) pLine; // avoid -Wunused-variable
#endif
}