summaryrefslogtreecommitdiff
path: root/svx/source/unoedit/unotext.cxx
diff options
context:
space:
mode:
authorChristian Lippka <cl@openoffice.org>2001-03-27 12:33:46 +0000
committerChristian Lippka <cl@openoffice.org>2001-03-27 12:33:46 +0000
commit609695d6ef596f6fefdc704a277000dfbe77d699 (patch)
tree76f88b9fe63f914b9eff9c90e6ef73ad86874b9c /svx/source/unoedit/unotext.cxx
parent631e07419aa762705497ecd223b23126a194ac3e (diff)
#83681# fixed linebreaks
Diffstat (limited to 'svx/source/unoedit/unotext.cxx')
-rw-r--r--svx/source/unoedit/unotext.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/svx/source/unoedit/unotext.cxx b/svx/source/unoedit/unotext.cxx
index 4ba3bf3200ff..d6a3f08ec555 100644
--- a/svx/source/unoedit/unotext.cxx
+++ b/svx/source/unoedit/unotext.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: unotext.cxx,v $
*
- * $Revision: 1.19 $
+ * $Revision: 1.20 $
*
- * last change: $Author: cl $ $Date: 2001-03-01 09:08:33 $
+ * last change: $Author: cl $ $Date: 2001-03-27 13:33:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1422,7 +1422,10 @@ void SAL_CALL SvxUnoText::insertControlCharacter( const uno::Reference< text::XT
}
case text::ControlCharacter::LINE_BREAK:
{
- pForwarder->QuickInsertLineBreak( aSelection );
+ const String aText( (char)10, 1 ); // '\r' geht auf'm Mac nicht
+ insertString( xRange, aText, bAbsorb );
+
+// pForwarder->QuickInsertLineBreak( aSelection );
return;
}
case text::ControlCharacter::APPEND_PARAGRAPH: