summaryrefslogtreecommitdiff
path: root/basebmp/test/cliptest.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'basebmp/test/cliptest.cxx')
-rw-r--r--basebmp/test/cliptest.cxx27
1 files changed, 4 insertions, 23 deletions
diff --git a/basebmp/test/cliptest.cxx b/basebmp/test/cliptest.cxx
index b0f0b72f07e0..c41edf3e28a8 100644
--- a/basebmp/test/cliptest.cxx
+++ b/basebmp/test/cliptest.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/point/b2ipoint.hxx>
@@ -45,21 +44,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( mpDevice32bpp, output );
-*/
-
class ClipTest : public CppUnit::TestFixture
{
private:
@@ -179,8 +169,7 @@ private:
true,
Format::EIGHT_BIT_GREY ));
- ::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 );
@@ -220,8 +209,7 @@ public:
true,
Format::THIRTYTWO_BIT_TC_MASK );
- ::rtl::OUString aSvg = ::rtl::OUString::createFromAscii(
- "m 0 0 h5 l5 5 v5 h-5 l-5-5 z" );
+ ::rtl::OUString aSvg( RTL_CONSTASCII_USTRINGPARAM( "m 0 0 h5 l5 5 v5 h-5 l-5-5 z" ));
basegfx::B2DPolyPolygon aPoly;
basegfx::tools::importFromSvgD( aPoly, aSvg );
mpClipMask->clear(Color(0));
@@ -274,14 +262,7 @@ public:
CPPUNIT_TEST_SUITE_END();
};
-// -----------------------------------------------------------------------------
CPPUNIT_TEST_SUITE_REGISTRATION(ClipTest);
}
-
-// -----------------------------------------------------------------------------
-
-// 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: */