From 11256cc7ee01902969c612b60f5ad5b57e906b02 Mon Sep 17 00:00:00 2001 From: "Jon A. Cruz" Date: Sat, 6 Dec 2008 20:30:18 +0000 Subject: Removed warning for expected condition. (bzr r6962) --- src/color-profile.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/color-profile.cpp b/src/color-profile.cpp index 52a432192..513e15e78 100644 --- a/src/color-profile.cpp +++ b/src/color-profile.cpp @@ -254,10 +254,10 @@ void ColorProfile::set( SPObject *object, unsigned key, gchar const *value ) //# 1. Get complete URI of document gchar const *docbase = SP_DOCUMENT_URI( doc ); if (!docbase) - { - g_warning("null docbase"); + { + // Normal for files that have not yet been saved. docbase = ""; - } + } //g_message("docbase:%s\n", docbase); org::w3c::dom::URI docUri(docbase); //# 2. Get href of icc file. we don't care if it's rel or abs -- cgit v1.2.3