summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-15 09:02:18 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-15 09:02:18 +0100
commit87e3d60776db4e2ff1ba0040b04a0fa348a46ffa (patch)
tree9ad3dddcbfdec4fc52870501f6dca3194e48c92d /test
parent0a3201142a12966a4ac3284f0e24776ce84e603c (diff)
More loplugin:cstylecast: test
Change-Id: I5f7cd029e27be24415c075c4589e71eeae5d6ac2
Diffstat (limited to 'test')
-rw-r--r--test/source/sheet/xspreadsheets2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source/sheet/xspreadsheets2.cxx b/test/source/sheet/xspreadsheets2.cxx
index 17b54382bd86..5171d0a04291 100644
--- a/test/source/sheet/xspreadsheets2.cxx
+++ b/test/source/sheet/xspreadsheets2.cxx
@@ -271,7 +271,7 @@ void XSpreadsheets2::testImportCellStyle()
sal_Int32 aVertJustify = 0;
CPPUNIT_ASSERT(xCellStyleProp->getPropertyValue("VertJustify") >>= aVertJustify);
- CPPUNIT_ASSERT_EQUAL_MESSAGE("New style: VertJustify not set", table::CellVertJustify_CENTER, (table::CellVertJustify)aVertJustify);
+ CPPUNIT_ASSERT_EQUAL_MESSAGE("New style: VertJustify not set", table::CellVertJustify_CENTER, static_cast<table::CellVertJustify>(aVertJustify));
}
uno::Reference< sheet::XSpreadsheetDocument> XSpreadsheets2::getDoc(const OUString& aFileBase, uno::Reference< lang::XComponent >& xComp)