Ver Fonte

Small changes

Kandrashin Denis há 13 anos atrás
pai
commit
2c0105af3e
2 ficheiros alterados com 2 adições e 1 exclusões
  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);
     return m_handler = CreateRoot(name, attributes);
 }
 }
 
 
-static bool isWhiteSpace(const QString &str)
+bool Fb2XmlHandler::isWhiteSpace(const QString &str)
 {
 {
     return str.simplified().isEmpty();
     return str.simplified().isEmpty();
 }
 }

+ 1 - 0
source/fb2xml.h

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