summaryrefslogtreecommitdiff
path: root/sd/qa
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-06-06 10:06:00 +0100
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-06-06 11:34:28 +0200
commitc2434cf6fd771251713709c79364533284ace95c (patch)
tree99e8bc2b11b7e66fca5a4883c46a0e3662aba2f6 /sd/qa
parentb54d8d2410617eec56507ba9419abbf2f356c7ff (diff)
c++03 vs c++11 enum namespacing
Change-Id: I91be0e7d2b013221b1d47a5cd1e4e75eb16c2b67 (cherry picked from commit e990e4d145f16c0c7e4e9e12c4882ddde63a3d5a)
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());
}
}
}