summaryrefslogtreecommitdiffstats
path: root/src/libs/serialisation
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/serialisation')
-rw-r--r--src/libs/serialisation/Serialiser.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libs/serialisation/Serialiser.cpp b/src/libs/serialisation/Serialiser.cpp
index 71d64015..d6bd1df4 100644
--- a/src/libs/serialisation/Serialiser.cpp
+++ b/src/libs/serialisation/Serialiser.cpp
@@ -102,6 +102,7 @@ Serialiser::start_to_filename(const string& filename)
_base_uri = "file://" + filename;
_model = new Redland::Model(_world);
+ _model->set_base_uri(string("file://" + filename));
_mode = TO_FILE;
}
@@ -120,6 +121,7 @@ Serialiser::start_to_string(const string& base_uri)
_base_uri = base_uri;
_model = new Redland::Model(_world);
+ _model->set_base_uri(base_uri);
_mode = TO_STRING;
}