summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2018-12-02 21:27:06 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2018-12-02 21:32:20 +0900
commite7c0e16f2b45b128d29e00b5420873ac87c83886 (patch)
tree9d23cd5061c97d9c76fe5ce136274c95eecd44ec
parentf2b042c804e448d0f3d35579de32bd3134733c54 (diff)
downloadkoffice-e7c0e16f2b45b128d29e00b5420873ac87c83886.tar.gz
koffice-e7c0e16f2b45b128d29e00b5420873ac87c83886.zip
Fixed FTBFS caused by missing KartonText.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--karbon/core/vtext.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/karbon/core/vtext.cc b/karbon/core/vtext.cc
index 4c7d3989..b8e15c4f 100644
--- a/karbon/core/vtext.cc
+++ b/karbon/core/vtext.cc
@@ -732,6 +732,8 @@ VText::buildRequest( TQString family, int weight, int slant, double size, int &i
return fileName;
}
+#endif // HAVE_KARBONTEXT
+
void VText::setOffset( double offset )
{
if( offset < 0.0 )
@@ -742,4 +744,3 @@ void VText::setOffset( double offset )
m_offset = offset;
}
-#endif // HAVE_KARBONTEXT