summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-04-05 21:06:10 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-04-05 21:06:10 +0000
commit15ff87ccf15be646ecfa7f20b078295475783822 (patch)
treef9470b1d6e21602b47112be09d6a7054d28cc740 /src
parentSymbols/VSS: Use the actual name of Visio stencils if possible (diff)
downloadinkscape-15ff87ccf15be646ecfa7f20b078295475783822.tar.gz
inkscape-15ff87ccf15be646ecfa7f20b078295475783822.zip
Fix compilation with old libvisio
(bzr r15616)
Diffstat (limited to 'src')
-rw-r--r--src/ui/dialog/symbols.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/dialog/symbols.cpp b/src/ui/dialog/symbols.cpp
index ef17367d5..e9a13620b 100644
--- a/src/ui/dialog/symbols.cpp
+++ b/src/ui/dialog/symbols.cpp
@@ -547,9 +547,11 @@ SPDocument* read_vss( gchar* fullname, Glib::ustring name ) {
tmpSVGOutput += " <symbol id=\"" + ss.str() + "\">\n";
+#if WITH_LIBVISIO01
if (titles.size() == output.size() && titles[i] != "") {
tmpSVGOutput += " <title>" + Glib::ustring(RVNGString::escapeXML(titles[i].cstr()).cstr()) + "</title>\n";
}
+#endif
std::istringstream iss( output[i].cstr() );
std::string line;