summaryrefslogtreecommitdiff
path: root/sd/qa/unit
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-17 08:58:20 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-17 08:58:20 +0200
commit55e7aa6022a7d05f79bd9fe6df8a865e3901aecf (patch)
tree3d916f128767855e5fc03874776f3a95351fb70b /sd/qa/unit
parentdc80cd8bc5a9f748580b47c563df92ccb16e6990 (diff)
loplugin:cstylecast
Change-Id: Ia8e0b5ded9f73cf448910593184a0e8936180a12
Diffstat (limited to 'sd/qa/unit')
-rw-r--r--sd/qa/unit/export-tests.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/qa/unit/export-tests.cxx b/sd/qa/unit/export-tests.cxx
index 3f5289815aaa..f82b523f53e5 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()));
}
}
}