From 850a8d27ca696f18ce0c529346f8bb8505499545 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 27 May 2016 09:43:22 +0200 Subject: Convert GRAPHIC to scoped enum Change-Id: I1fd09a729cbda00f99841532e0dd3fa66bce7bea Reviewed-on: https://gerrit.libreoffice.org/25534 Tested-by: Jenkins Reviewed-by: Noel Grandin --- svtools/qa/unit/GraphicObjectTest.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'svtools/qa') diff --git a/svtools/qa/unit/GraphicObjectTest.cxx b/svtools/qa/unit/GraphicObjectTest.cxx index d1ee3c2abe43..22664425677f 100644 --- a/svtools/qa/unit/GraphicObjectTest.cxx +++ b/svtools/qa/unit/GraphicObjectTest.cxx @@ -233,11 +233,11 @@ void GraphicObjectTest::testSizeBasedAutoSwap() void GraphicObjectTest::testTdf88836() { - // Construction with empty bitmap -> type should be GRAPHIC_NONE + // Construction with empty bitmap -> type should be GraphicType::NONE Graphic aGraphic = Bitmap(); - CPPUNIT_ASSERT_EQUAL(GRAPHIC_NONE, aGraphic.GetType()); + CPPUNIT_ASSERT_EQUAL(int(GraphicType::NONE), int(aGraphic.GetType())); aGraphic = Graphic(BitmapEx()); - CPPUNIT_ASSERT_EQUAL(GRAPHIC_NONE, aGraphic.GetType()); + CPPUNIT_ASSERT_EQUAL(int(GraphicType::NONE), int(aGraphic.GetType())); } void GraphicObjectTest::testTdf88935() -- cgit eoffice-5-1'>distro/cib/libreoffice-5-1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2017-11-21Fix typosAndrea Gelmini
2017-10-25loplugin:constmethod in tools,sax,UnoControlsNoel Grandin
2017-10-23loplugin:includeform: UnoControlsStephan Bergmann