From 99e6728f05c1f0da1121db0c0844ee71bce4cf1e Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Tue, 25 Sep 2007 02:48:13 +0000 Subject: Fixed const (bzr r3793) --- src/color-profile-fns.h | 2 +- src/color-profile.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/color-profile-fns.h b/src/color-profile-fns.h index d7342b09d..89dcfa8f9 100644 --- a/src/color-profile-fns.h +++ b/src/color-profile-fns.h @@ -25,7 +25,7 @@ GType colorprofile_get_type(); #if ENABLE_LCMS -cmsHPROFILE colorprofile_get_handle( SPDocument* document, guint* intent, gchar* const name ); +cmsHPROFILE colorprofile_get_handle( SPDocument* document, guint* intent, gchar const* name ); #endif diff --git a/src/color-profile.cpp b/src/color-profile.cpp index a73344d17..a11aba6c4 100644 --- a/src/color-profile.cpp +++ b/src/color-profile.cpp @@ -319,7 +319,7 @@ static Inkscape::XML::Node* Inkscape::colorprofile_write( SPObject *object, Inks #if ENABLE_LCMS -static SPObject* bruteFind( SPObject* curr, gchar* const name ) +static SPObject* bruteFind( SPObject* curr, gchar const* name ) { SPObject* result = 0; @@ -347,7 +347,7 @@ static SPObject* bruteFind( SPObject* curr, gchar* const name ) return result; } -cmsHPROFILE Inkscape::colorprofile_get_handle( SPDocument* document, guint* intent, gchar* const name ) +cmsHPROFILE Inkscape::colorprofile_get_handle( SPDocument* document, guint* intent, gchar const* name ) { cmsHPROFILE prof = 0; -- cgit v1.2.3