Code

Removed warning for expected condition.
authorjoncruz <joncruz@users.sourceforge.net>
Sat, 6 Dec 2008 20:30:18 +0000 (20:30 +0000)
committerjoncruz <joncruz@users.sourceforge.net>
Sat, 6 Dec 2008 20:30:18 +0000 (20:30 +0000)
src/color-profile.cpp

index 52a4321927d97be852e89320be3951f049a30efc..513e15e78f514ff98c4c123312d8280eab266b20 100644 (file)
@@ -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