diff options
Diffstat (limited to 'basebmp/test/bmpmasktest.cxx')
-rw-r--r-- | basebmp/test/bmpmasktest.cxx | 30 |
1 files changed, 5 insertions, 25 deletions
diff --git a/basebmp/test/bmpmasktest.cxx b/basebmp/test/bmpmasktest.cxx index 29e261423a06..5ba477484903 100644 --- a/basebmp/test/bmpmasktest.cxx +++ b/basebmp/test/bmpmasktest.cxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. @@ -27,11 +28,9 @@ // autogenerated file with codegen.pl -#include "preextstl.h" #include "cppunit/TestAssert.h" #include "cppunit/TestFixture.h" #include "cppunit/extensions/HelperMacros.h" -#include "postextstl.h" #include <basegfx/vector/b2isize.hxx> #include <basegfx/range/b2irange.hxx> @@ -44,23 +43,12 @@ #include <basebmp/color.hxx> #include <basebmp/scanlineformats.hxx> #include <basebmp/bitmapdevice.hxx> -#include <basebmp/debug.hxx> #include "tools.hxx" -#include <iostream> -#include <fstream> - using namespace ::basebmp; namespace { -/* - std::ofstream output("32bpp_test.dump"); - debugDump( rDevice, output ); - std::ofstream output2("32bpp_bmp.dump"); - debugDump( rBmp, output2 ); -*/ - class BmpMaskTest : public CppUnit::TestFixture { private: @@ -130,8 +118,7 @@ public: true, Format::THIRTYTWO_BIT_TC_MASK ); - ::rtl::OUString aSvg = ::rtl::OUString::createFromAscii( - "m 0 0h5v10h5v-5h-10z" ); + ::rtl::OUString aSvg( RTL_CONSTASCII_USTRINGPARAM( "m 0 0h5v10h5v-5h-10z" )); basegfx::B2DPolyPolygon aPoly; basegfx::tools::importFromSvgD( aPoly, aSvg ); @@ -146,8 +133,8 @@ public: aColWhite, DrawMode_PAINT ); - aSvg = ::rtl::OUString::createFromAscii( - "m 0 0 h6 v10 h-6z" ); + aSvg = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( + "m 0 0 h6 v10 h-6z" )); aPoly.clear(); basegfx::tools::importFromSvgD( aPoly, aSvg ); @@ -180,14 +167,7 @@ public: CPPUNIT_TEST_SUITE_END(); }; -// ----------------------------------------------------------------------------- CPPUNIT_TEST_SUITE_REGISTRATION(BmpMaskTest); } - -// ----------------------------------------------------------------------------- - -// this macro creates an empty function, which will called by the RegisterAllFunctions() -// to let the user the possibility to also register some functions by hand. -//NOADDITIONAL; - +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |