summaryrefslogtreecommitdiff
path: root/src/conv
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2012-06-07 17:00:52 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2012-06-07 17:00:52 +0200
commitfd1fb6281f02a331f09724a4b514de774b329a03 (patch)
tree2e43601569587c59de843244ce2ed12a8612228e /src/conv
parent0538fd26dbbf8137faa7a039accb502482512f5a (diff)
Break line only at the end of the line
Diffstat (limited to 'src/conv')
-rw-r--r--src/conv/text/vsd2text.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/conv/text/vsd2text.cpp b/src/conv/text/vsd2text.cpp
index 994ec70..9042ce0 100644
--- a/src/conv/text/vsd2text.cpp
+++ b/src/conv/text/vsd2text.cpp
@@ -58,7 +58,7 @@ public:
void startTextObject(const ::WPXPropertyList &, const ::WPXPropertyListVector &) {}
void endTextObject() {}
void startTextLine(const ::WPXPropertyList &) {}
- void endTextLine() {}
+ void endTextLine();
void startTextSpan(const ::WPXPropertyList &) {}
void endTextSpan() {}
void insertText(const ::WPXString &str);
@@ -70,9 +70,13 @@ TextPainter::TextPainter(): libwpg::WPGPaintInterface()
void TextPainter::insertText(const ::WPXString &str)
{
- printf("%s\n", str.cstr());
+ printf("%s", str.cstr());
}
+void TextPainter::endTextLine();
+{
+ printf("\n");
+}
namespace
{