summaryrefslogtreecommitdiff
path: root/sd/qa
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-06 10:06:00 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-06-06 10:06:24 +0100
commite990e4d145f16c0c7e4e9e12c4882ddde63a3d5a (patch)
treee29804b98a263edc93c4baafd6dd762e9b427139 /sd/qa
parent623b4e3e10ed8afe8807f2599e03f748c0d392d2 (diff)
c++03 vs c++11 enum namespacing
Change-Id: I91be0e7d2b013221b1d47a5cd1e4e75eb16c2b67
Diffstat (limited to 'sd/qa')
-rw-r--r--sd/qa/unit/import-tests.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx
index ce0d9d17c220..0b032c1295be 100644
--- a/sd/qa/unit/import-tests.cxx
+++ b/sd/qa/unit/import-tests.cxx
@@ -794,12 +794,12 @@ void SdFiltersTest::testBnc870233_1()
const SvxWeightItem *pWeight = dynamic_cast<const SvxWeightItem *>((*it).pAttr);
if( pWeight )
{
- CPPUNIT_ASSERT_EQUAL( FontWeight::WEIGHT_BOLD, pWeight->GetWeight());
+ CPPUNIT_ASSERT_EQUAL( WEIGHT_BOLD, pWeight->GetWeight());
}
const SvxPostureItem *pPosture = dynamic_cast<const SvxPostureItem *>((*it).pAttr);
if( pPosture )
{
- CPPUNIT_ASSERT_EQUAL( FontItalic::ITALIC_NONE, pPosture->GetPosture());
+ CPPUNIT_ASSERT_EQUAL( ITALIC_NONE, pPosture->GetPosture());
}
}
}
@@ -821,12 +821,12 @@ void SdFiltersTest::testBnc870233_1()
const SvxWeightItem *pWeight = dynamic_cast<const SvxWeightItem *>((*it).pAttr);
if( pWeight )
{
- CPPUNIT_ASSERT_EQUAL( FontWeight::WEIGHT_NORMAL, pWeight->GetWeight());
+ CPPUNIT_ASSERT_EQUAL( WEIGHT_NORMAL, pWeight->GetWeight());
}
const SvxPostureItem *pPosture = dynamic_cast<const SvxPostureItem *>((*it).pAttr);
if( pPosture )
{
- CPPUNIT_ASSERT_EQUAL( FontItalic::ITALIC_NORMAL, pPosture->GetPosture());
+ CPPUNIT_ASSERT_EQUAL( ITALIC_NORMAL, pPosture->GetPosture());
}
}
}