Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lintest/fb2edit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/fb2save.hpp')
-rw-r--r--source/fb2save.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/fb2save.hpp b/source/fb2save.hpp
index 524f7ee..f0a1f0b 100644
--- a/source/fb2save.hpp
+++ b/source/fb2save.hpp
@@ -47,7 +47,7 @@ class FbHtmlHandler : public FbXmlHandler
Q_OBJECT
public:
- explicit FbHtmlHandler() {}
+ explicit FbHtmlHandler(): m_lastTextLength(0) {}
public slots:
void onAttr(const QString &name, const QString &value);
@@ -56,6 +56,9 @@ public slots:
void onTxt(const QString &text);
void onCom(const QString &text);
+protected:
+ int m_lastTextLength;
+
private:
static QString local(const QString &name);