summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2018-12-02 21:27:06 +0900
committerMichele Calgaro <[email protected]>2018-12-02 22:10:34 +0900
commitdbb06c24c661b3ba7567c6625d79dfd03ad8409f (patch)
treeb195eabb0ae8aff6bf102dd541b9065c887a97ab
parentdcfd84e20a8894461e781e6ac57603d6f776b8ff (diff)
downloadkoffice-dbb06c24c661b3ba7567c6625d79dfd03ad8409f.tar.gz
koffice-dbb06c24c661b3ba7567c6625d79dfd03ad8409f.zip
Fixed FTBFS caused by missing KartonText.
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit e7c0e16f2b45b128d29e00b5420873ac87c83886)
-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