diff options
| author | Alex Valavanis <valavanisalex@gmail.com> | 2017-02-05 16:04:35 +0000 |
|---|---|---|
| committer | Alex Valavanis <valavanisalex@gmail.com> | 2017-02-05 16:04:35 +0000 |
| commit | 349536d49558ec5841e799eb33a4cbbb3fa9722d (patch) | |
| tree | 7e6a4cb6e7ecff3a3d81e99a8c3c3a246839a195 /src/uri-references.cpp | |
| parent | CMake: Supress status messages for install target on Windows (considerably sp... (diff) | |
| download | inkscape-349536d49558ec5841e799eb33a4cbbb3fa9722d.tar.gz inkscape-349536d49558ec5841e799eb33a4cbbb3fa9722d.zip | |
Fix C++11 errors and warnings with g++-7
Fixed bugs:
- https://launchpad.net/bugs/1660992
(bzr r15477)
Diffstat (limited to 'src/uri-references.cpp')
| -rw-r--r-- | src/uri-references.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/uri-references.cpp b/src/uri-references.cpp index 170c98beb..7d6abd10a 100644 --- a/src/uri-references.cpp +++ b/src/uri-references.cpp @@ -11,16 +11,19 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ +#include "uri-references.h" + #include <iostream> #include <cstring> +#include <glibmm/miscutils.h> + +#include "bad-uri-exception.h" #include "document.h" #include "sp-object.h" #include "uri.h" -#include "uri-references.h" #include "extract-uri.h" #include "sp-tag-use.h" -#include <glibmm/miscutils.h> namespace Inkscape { @@ -103,7 +106,7 @@ bool URIReference::_acceptObject(SPObject *obj) const -void URIReference::attach(const URI &uri) throw(BadURIException) +void URIReference::attach(const URI &uri) { SPDocument *document = NULL; |
