diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:02:18 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2018-01-15 09:02:18 +0100 |
commit | 87e3d60776db4e2ff1ba0040b04a0fa348a46ffa (patch) | |
tree | 9ad3dddcbfdec4fc52870501f6dca3194e48c92d /test/source | |
parent | 0a3201142a12966a4ac3284f0e24776ce84e603c (diff) |
More loplugin:cstylecast: test
Change-Id: I5f7cd029e27be24415c075c4589e71eeae5d6ac2
Diffstat (limited to 'test/source')
-rw-r--r-- | test/source/sheet/xspreadsheets2.cxx | 2 |
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) |