summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba/vbarangehelper.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba/vbarangehelper.cxx')
-rw-r--r--sw/source/ui/vba/vbarangehelper.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/ui/vba/vbarangehelper.cxx b/sw/source/ui/vba/vbarangehelper.cxx
index 4fd9e5f143f1..337fd9d6ae27 100644
--- a/sw/source/ui/vba/vbarangehelper.cxx
+++ b/sw/source/ui/vba/vbarangehelper.cxx
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -33,7 +33,7 @@ using namespace ::com::sun::star;
/**
* get a range in a xText by creating
- * a cursor that iterates over the text. If the iterating cursor is
+ * a cursor that iterates over the text. If the iterating cursor is
* equal to the desired position, the range equivalent is returned.
* Some special cases are tables that are inside of the text, because the
* position has to be adjusted.
@@ -56,7 +56,7 @@ uno::Reference< text::XTextRange > SwVbaRangeHelper::getRangeByPosition( const u
if( _position == nPos )
{
xRange = xCursor->getStart();
- }
+ }
else
{
bCanGo = xCursor->goRight( 1, sal_False );
@@ -73,7 +73,7 @@ void SwVbaRangeHelper::insertString( uno::Reference< text::XTextRange >& rTextRa
sal_Int32 nlastIndex = 0;
sal_Int32 nIndex = 0;
uno::Reference< text::XTextRange > xRange = rTextRange;
-
+
while(( nIndex = rStr.indexOf('\n', nlastIndex)) >= 0 )
{
xRange = xRange->getEnd();