[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [calligra] libs/textlayout/tests: fix compile with unittests
From:       C. Boemann <cbo () boemann ! dk>
Date:       2012-12-31 16:43:38
Message-ID: 20121231164338.9A116A6091 () git ! kde ! org
[Download RAW message or body]

Git commit 9604d491005831e7cc9387784a9884e23d81da83 by C. Boemann.
Committed on 31/12/2012 at 17:42.
Pushed by boemann into branch 'master'.

fix compile with unittests

M  +4    -0    libs/textlayout/tests/MockRootAreaProvider.cpp
M  +1    -0    libs/textlayout/tests/MockRootAreaProvider.h

http://commits.kde.org/calligra/9604d491005831e7cc9387784a9884e23d81da83

diff --git a/libs/textlayout/tests/MockRootAreaProvider.cpp \
b/libs/textlayout/tests/MockRootAreaProvider.cpp index 18ad535..02b0adb 100644
--- a/libs/textlayout/tests/MockRootAreaProvider.cpp
+++ b/libs/textlayout/tests/MockRootAreaProvider.cpp
@@ -44,6 +44,10 @@ void MockRootAreaProvider::doPostLayout(KoTextLayoutRootArea \
*rootArea, bool isN  Q_UNUSED(isNewRootArea);
 }
 
+void MockRootAreaProvider::updateAll()
+{
+}
+
 void MockRootAreaProvider::releaseAllAfter(KoTextLayoutRootArea *afterThis)
 {
     Q_UNUSED(afterThis);
diff --git a/libs/textlayout/tests/MockRootAreaProvider.h \
b/libs/textlayout/tests/MockRootAreaProvider.h index 2c4e8e1..87c34e7 100644
--- a/libs/textlayout/tests/MockRootAreaProvider.h
+++ b/libs/textlayout/tests/MockRootAreaProvider.h
@@ -33,6 +33,7 @@ public:
     virtual void doPostLayout(KoTextLayoutRootArea *rootArea, bool isNewRootArea);
     virtual QSizeF suggestSize(KoTextLayoutRootArea *rootArea);
     virtual QList<KoTextLayoutObstruction *> \
relevantObstructions(KoTextLayoutRootArea *rootArea); +    virtual void updateAll();
 
     void setSuggestedSize(QSizeF size);
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic