index 5cd58c15cb1bde57aac4aa394c50ffc987c870eb..cdbf76b446721bcd2f4799ed08442ab8eeb6a8fc 100644 (file)
--- a/src/color-profile-test.h
+++ b/src/color-profile-test.h
#include "color-profile.h"
#include "color-profile-fns.h"
-using Inkscape::ColorProfile;
-
class ColorProfileTest : public CxxTest::TestSuite
{
public:
static void createSuiteSubclass( ColorProfileTest*& dst )
{
- ColorProfile *prof = static_cast<ColorProfile *>(g_object_new(COLORPROFILE_TYPE, NULL));
+ Inkscape::ColorProfile *prof = static_cast<Inkscape::ColorProfile *>(g_object_new(COLORPROFILE_TYPE, NULL));
if ( prof ) {
if ( prof->rendering_intent == (guint)Inkscape::RENDERING_INTENT_UNKNOWN ) {
TS_ASSERT_EQUALS( prof->rendering_intent, (guint)Inkscape::RENDERING_INTENT_UNKNOWN );
{"auto2", (guint)Inkscape::RENDERING_INTENT_UNKNOWN},
};
- ColorProfile *prof = static_cast<ColorProfile *>(g_object_new(COLORPROFILE_TYPE, NULL));
+ Inkscape::ColorProfile *prof = static_cast<Inkscape::ColorProfile *>(g_object_new(COLORPROFILE_TYPE, NULL));
TS_ASSERT( prof );
SP_OBJECT(prof)->document = _doc;
"something",
};
- ColorProfile *prof = static_cast<ColorProfile *>(g_object_new(COLORPROFILE_TYPE, NULL));
+ Inkscape::ColorProfile *prof = static_cast<Inkscape::ColorProfile *>(g_object_new(COLORPROFILE_TYPE, NULL));
TS_ASSERT( prof );
SP_OBJECT(prof)->document = _doc;
"something",
};
- ColorProfile *prof = static_cast<ColorProfile *>(g_object_new(COLORPROFILE_TYPE, NULL));
+ Inkscape::ColorProfile *prof = static_cast<Inkscape::ColorProfile *>(g_object_new(COLORPROFILE_TYPE, NULL));
TS_ASSERT( prof );
SP_OBJECT(prof)->document = _doc;