diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-12-04 09:03:25 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-12-04 09:03:25 -0600 |
commit | e0b1bfb0140e1d484f71683e820731abdd0779d5 (patch) | |
tree | cf49f872577733fabde2d5b38c8c045e78dee9eb /tdeio/bookmarks/kbookmarkmanager.cc | |
parent | d80ccaf94ce31d24834bf3051fb9438adf23e4fd (diff) | |
download | tdelibs-e0b1bfb0140e1d484f71683e820731abdd0779d5.tar.gz tdelibs-e0b1bfb0140e1d484f71683e820731abdd0779d5.zip |
Fix a number of build warnings
Diffstat (limited to 'tdeio/bookmarks/kbookmarkmanager.cc')
-rw-r--r-- | tdeio/bookmarks/kbookmarkmanager.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tdeio/bookmarks/kbookmarkmanager.cc b/tdeio/bookmarks/kbookmarkmanager.cc index 60d4f2932..47f8c152a 100644 --- a/tdeio/bookmarks/kbookmarkmanager.cc +++ b/tdeio/bookmarks/kbookmarkmanager.cc @@ -255,6 +255,7 @@ void KBookmarkManager::convertToXBEL( TQDomElement & group ) { TQDomElement e = n.toElement(); if ( !e.isNull() ) + { if ( e.tagName() == "TEXT" ) { e.setTagName("title"); @@ -280,6 +281,7 @@ void KBookmarkManager::convertToXBEL( TQDomElement & group ) convertToXBEL( e ); } else + { if ( e.tagName() == "BOOKMARK" ) { e.setTagName("bookmark"); // so much difference :-) @@ -294,7 +296,11 @@ void KBookmarkManager::convertToXBEL( TQDomElement & group ) titleElem.appendChild( e.ownerDocument().createTextNode( text ) ); } else + { kdWarning(7043) << "Unknown tag " << e.tagName() << endl; + } + } + } n = n.nextSibling(); } } |