summaryrefslogtreecommitdiff
path: root/svgio/source/svgreader/svgimagenode.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svgio/source/svgreader/svgimagenode.cxx')
-rw-r--r--svgio/source/svgreader/svgimagenode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svgio/source/svgreader/svgimagenode.cxx b/svgio/source/svgreader/svgimagenode.cxx
index 91286fa0b199..fa27bca751fb 100644
--- a/svgio/source/svgreader/svgimagenode.cxx
+++ b/svgio/source/svgreader/svgimagenode.cxx
@@ -242,7 +242,7 @@ namespace svgio
<< e.getMessage() << "\"");
}
- if (!aAbsUrl.isEmpty())
+ if (!aAbsUrl.isEmpty() && !rPath.equals(aAbsUrl))
{
SvFileStream aStream(aAbsUrl, STREAM_STD_READ);
Graphic aGraphic;