From c2434cf6fd771251713709c79364533284ace95c Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 6 Jun 2014 10:06:00 +0100 Subject: c++03 vs c++11 enum namespacing Change-Id: I91be0e7d2b013221b1d47a5cd1e4e75eb16c2b67 (cherry picked from commit e990e4d145f16c0c7e4e9e12c4882ddde63a3d5a) --- sd/qa/unit/import-tests.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sd') 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((*it).pAttr); if( pWeight ) { - CPPUNIT_ASSERT_EQUAL( FontWeight::WEIGHT_BOLD, pWeight->GetWeight()); + CPPUNIT_ASSERT_EQUAL( WEIGHT_BOLD, pWeight->GetWeight()); } const SvxPostureItem *pPosture = dynamic_cast((*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((*it).pAttr); if( pWeight ) { - CPPUNIT_ASSERT_EQUAL( FontWeight::WEIGHT_NORMAL, pWeight->GetWeight()); + CPPUNIT_ASSERT_EQUAL( WEIGHT_NORMAL, pWeight->GetWeight()); } const SvxPostureItem *pPosture = dynamic_cast((*it).pAttr); if( pPosture ) { - CPPUNIT_ASSERT_EQUAL( FontItalic::ITALIC_NORMAL, pPosture->GetPosture()); + CPPUNIT_ASSERT_EQUAL( ITALIC_NORMAL, pPosture->GetPosture()); } } } -- cgit