sd/qa/unit/export-tests.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 55e7aa6022a7d05f79bd9fe6df8a865e3901aecf Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed Jun 17 08:58:20 2015 +0200 loplugin:cstylecast Change-Id: Ia8e0b5ded9f73cf448910593184a0e8936180a12 diff --git a/sd/qa/unit/export-tests.cxx b/sd/qa/unit/export-tests.cxx index 3f52898..f82b523 100644 --- a/sd/qa/unit/export-tests.cxx +++ b/sd/qa/unit/export-tests.cxx @@ -202,7 +202,7 @@ void checkFontAttributes( const SdrTextObj* pObj, ItemValue nVal) const ItemType* pAttrib = dynamic_cast<const ItemType *>((*it).pAttr); if (pAttrib) { - CPPUNIT_ASSERT_EQUAL( nVal, (ItemValue)pAttrib->GetValue()); + CPPUNIT_ASSERT_EQUAL( nVal, static_cast<ItemValue>(pAttrib->GetValue())); } } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits