This is an automated email from the ASF dual-hosted git repository.

mseidel pushed a commit to branch AOO42X
in repository https://gitbox.apache.org/repos/asf/openoffice.git


The following commit(s) were added to refs/heads/AOO42X by this push:
     new 3f875f3  Fixed typos
3f875f3 is described below

commit 3f875f381e26df74d35a8d08c44bb0d056f4a0b6
Author: mseidel <msei...@apache.org>
AuthorDate: Sat Jan 25 13:43:50 2020 +0100

    Fixed typos
    
    (cherry picked from commit e8d109db74ab415ff002b2fe3ecd2670b0e59b68)
---
 main/pyuno/demo/swritercomp.py | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/main/pyuno/demo/swritercomp.py b/main/pyuno/demo/swritercomp.py
index 19f6527..99ef954 100644
--- a/main/pyuno/demo/swritercomp.py
+++ b/main/pyuno/demo/swritercomp.py
@@ -1,5 +1,5 @@
 # *************************************************************
-#  
+#
 #  Licensed to the Apache Software Foundation (ASF) under one
 #  or more contributor license agreements.  See the NOTICE file
 #  distributed with this work for additional information
@@ -7,16 +7,16 @@
 #  to you under the Apache License, Version 2.0 (the
 #  "License"); you may not use this file except in compliance
 #  with the License.  You may obtain a copy of the License at
-#  
+#
 #    http://www.apache.org/licenses/LICENSE-2.0
-#  
+#
 #  Unless required by applicable law or agreed to in writing,
 #  software distributed under the License is distributed on an
 #  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 #  KIND, either express or implied.  See the License for the
 #  specific language governing permissions and limitations
 #  under the License.
-#  
+#
 # *************************************************************
 
 # just a simple copy of the swriter.py demo, but implemented as a component. 
The advantage is,
@@ -58,7 +58,7 @@ class SWriterComp(XMain,unohelper.Base):
         text = doc.Text
         cursor = text.createTextCursor()
         text.insertString( cursor, "The first line in the newly created text 
document.\n", 0 )
-        text.insertString( cursor, "Now we are in the second line\n" , 0 )
+        text.insertString( cursor, "Now we are in the second line.\n" , 0 )
 
         # create a text table
         table = doc.createInstance( "com.sun.star.text.TextTable" )
@@ -105,7 +105,7 @@ class SWriterComp(XMain,unohelper.Base):
         cursor.setPropertyValue( "CharShadowed", uno.Bool(1) )
 
         text.insertControlCharacter( cursor, PARAGRAPH_BREAK, 0 )
-        text.insertString( cursor, " This is a colored Text - blue with 
shadow\n" , 0 )
+        text.insertString( cursor, " This is a colored text - blue with 
shadow\n" , 0 )
         text.insertControlCharacter( cursor, PARAGRAPH_BREAK, 0 )
 
         textFrame = doc.createInstance( "com.sun.star.text.TextFrame" )
@@ -117,13 +117,13 @@ class SWriterComp(XMain,unohelper.Base):
         textInTextFrame = textFrame.getText()
         cursorInTextFrame = textInTextFrame.createTextCursor()
         textInTextFrame.insertString( cursorInTextFrame, "The first line in 
the newly created text frame.", 0 )
-        textInTextFrame.insertString( cursorInTextFrame, "\nWith this second 
line the height of the rame raises.",0)
+        textInTextFrame.insertString( cursorInTextFrame, "\nWith this second 
line the height of the frame raises.",0)
         text.insertControlCharacter( cursor, PARAGRAPH_BREAK, 0 )
 
         cursor.setPropertyValue( "CharColor", 65536 )
         cursor.setPropertyValue( "CharShadowed", uno.Bool(0) )
 
-        text.insertString( cursor, " That's all for now !!" , 0 )
+        text.insertString( cursor, " That's all for now!" , 0 )
         return 0
 
 

Reply via email to