sd/qa/unit/import-tests.cxx |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit e990e4d145f16c0c7e4e9e12c4882ddde63a3d5a
Author: Caolán McNamara <caol...@redhat.com>
Date:   Fri Jun 6 10:06:00 2014 +0100

    c++03 vs c++11 enum namespacing
    
    Change-Id: I91be0e7d2b013221b1d47a5cd1e4e75eb16c2b67

diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx
index ce0d9d1..0b032c1 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());
             }
         }
     }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to