c++03 vs c++11 enum namespacing

Change-Id: I91be0e7d2b013221b1d47a5cd1e4e75eb16c2b67
This commit is contained in:
Caolán McNamara 2014-06-06 10:06:00 +01:00
parent 623b4e3e10
commit e990e4d145

View File

@ -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());
}
}
}