diff options
Diffstat (limited to 'vcl/qa/cppunit')
-rw-r--r-- | vcl/qa/cppunit/fontcharmap.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/qa/cppunit/fontcharmap.cxx b/vcl/qa/cppunit/fontcharmap.cxx index 1fee918bee0d..2c361580613d 100644 --- a/vcl/qa/cppunit/fontcharmap.cxx +++ b/vcl/qa/cppunit/fontcharmap.cxx @@ -28,13 +28,13 @@ public: void VclFontCharMapTest::testDefaultFontCharMap() { - FontCharMap *fcmap = new FontCharMap(); // gets default map + FontCharMap fcmap; // gets default map - CPPUNIT_ASSERT( fcmap->IsDefaultMap() ); + CPPUNIT_ASSERT( fcmap.IsDefaultMap() ); - sal_uInt32 nStartBMPPlane = fcmap->GetFirstChar(); - sal_uInt32 nStartSupBMPPlane = fcmap->GetNextChar(0xD800); - sal_uInt32 nEndBMPPlane = fcmap->GetLastChar(); + sal_uInt32 nStartBMPPlane = fcmap.GetFirstChar(); + sal_uInt32 nStartSupBMPPlane = fcmap.GetNextChar(0xD800); + sal_uInt32 nEndBMPPlane = fcmap.GetLastChar(); CPPUNIT_ASSERT( nStartBMPPlane == 0x0020 ); CPPUNIT_ASSERT( nStartSupBMPPlane == 0xE000 ); |