summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2013-01-24 19:32:38 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2013-01-24 19:32:38 +0000
commitad4ef328b5c6bc01cffb5a927b6d90ef8bcd77d3 (patch)
treecc7aec8e801d9e6c4c807ccf63fe2018b3821f83 /src
parentGerman translation update (diff)
downloadinkscape-ad4ef328b5c6bc01cffb5a927b6d90ef8bcd77d3.tar.gz
inkscape-ad4ef328b5c6bc01cffb5a927b6d90ef8bcd77d3.zip
fix crash
Fixed bugs: - https://launchpad.net/bugs/1104326 (bzr r12063)
Diffstat (limited to 'src')
-rw-r--r--src/ui/dialog/symbols.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ui/dialog/symbols.cpp b/src/ui/dialog/symbols.cpp
index 71674368b..97d8b0523 100644
--- a/src/ui/dialog/symbols.cpp
+++ b/src/ui/dialog/symbols.cpp
@@ -432,6 +432,9 @@ void SymbolsDialog::get_symbols() {
GSList* SymbolsDialog::symbols_in_doc_recursive (SPObject *r, GSList *l)
{
+ if (!r) {
+ return l;
+ }
// Stop multiple counting of same symbol
if( SP_IS_USE(r) ) {