From 15ff87ccf15be646ecfa7f20b078295475783822 Mon Sep 17 00:00:00 2001 From: Eduard Braun Date: Wed, 5 Apr 2017 23:06:10 +0200 Subject: Fix compilation with old libvisio (bzr r15616) --- src/ui/dialog/symbols.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 += " \n"; +#if WITH_LIBVISIO01 if (titles.size() == output.size() && titles[i] != "") { tmpSVGOutput += " " + Glib::ustring(RVNGString::escapeXML(titles[i].cstr()).cstr()) + "\n"; } +#endif std::istringstream iss( output[i].cstr() ); std::string line; -- cgit v1.2.3