Commit 02c260e6 authored by Christian Stenger's avatar Christian Stenger Committed by hjk

Tests: Fix compile

Introduced with 953cdb97

Change-Id: I9d69cfcff1778e8428a6da18fc300d8aaaac2904
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 2bd550f3
......@@ -29,7 +29,7 @@
#include "textdocumentlayout.h"
TextBlockUserData *BaseTextDocumentLayout::userData(const QTextBlock &block)
TextBlockUserData *TextDocumentLayout::userData(const QTextBlock &block)
{
TextBlockUserData *data = static_cast<TextBlockUserData*>(block.userData());
if (!data && block.isValid())
......
......@@ -27,8 +27,8 @@
**
****************************************************************************/
#ifndef BASETEXTDOCUMENTLAYOUT_H
#define BASETEXTDOCUMENTLAYOUT_H
#ifndef TEXTDOCUMENTLAYOUT_H
#define TEXTDOCUMENTLAYOUT_H
#include <QTextBlockUserData>
......@@ -49,6 +49,6 @@ struct TextBlockUserData : QTextBlockUserData
CodeFormatterData *m_data;
};
namespace BaseTextDocumentLayout { TextBlockUserData *userData(const QTextBlock &block); }
namespace TextDocumentLayout { TextBlockUserData *userData(const QTextBlock &block); }
#endif // BASETEXTDOCUMENTLAYOUT_H
#endif // TEXTDOCUMENTLAYOUT_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment