Browse Source

Small changes

Kandrashin Denis 13 years ago
parent
commit
2c0105af3e
2 changed files with 2 additions and 1 deletions
  1. 1 1
      source/fb2xml.cpp
  2. 1 0
      source/fb2xml.h

+ 1 - 1
source/fb2xml.cpp

@@ -71,7 +71,7 @@ bool Fb2XmlHandler::startElement(const QString & namespaceURI, const QString & l
     return m_handler = CreateRoot(name, attributes);
 }
 
-static bool isWhiteSpace(const QString &str)
+bool Fb2XmlHandler::isWhiteSpace(const QString &str)
 {
     return str.simplified().isEmpty();
 }

+ 1 - 0
source/fb2xml.h

@@ -63,6 +63,7 @@ protected:
 
 protected:
     virtual NodeHandler * CreateRoot(const QString &name, const QXmlAttributes &attributes) = 0;
+    static bool isWhiteSpace(const QString &str);
 
 protected:
     NodeHandler * m_handler;