diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2008-12-06 20:30:18 +0000 |
|---|---|---|
| committer | joncruz <joncruz@users.sourceforge.net> | 2008-12-06 20:30:18 +0000 |
| commit | 11256cc7ee01902969c612b60f5ad5b57e906b02 (patch) | |
| tree | eb7722f7be241517ba6e01ec17b807f0579fc690 /src/color-profile.cpp | |
| parent | Warning cleanup. (diff) | |
| download | inkscape-11256cc7ee01902969c612b60f5ad5b57e906b02.tar.gz inkscape-11256cc7ee01902969c612b60f5ad5b57e906b02.zip | |
Removed warning for expected condition.
(bzr r6962)
Diffstat (limited to 'src/color-profile.cpp')
| -rw-r--r-- | src/color-profile.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
