summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odk/examples/java/Text/TextReplace.java2
-rw-r--r--sw/source/core/text/porlay.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/odk/examples/java/Text/TextReplace.java b/odk/examples/java/Text/TextReplace.java
index 3a94178980ef..a43799ffadb9 100644
--- a/odk/examples/java/Text/TextReplace.java
+++ b/odk/examples/java/Text/TextReplace.java
@@ -119,7 +119,7 @@ public class TextReplace {
xTextCursor.gotoEnd(false);
xCPS.setPropertyValue( "CharColor", Integer.valueOf( 0 ) );
- xText.insertString( xTextCursor, "in the alley. Like lightening he darted off to the left and disappeared between the two warehouses almost falling over the trash can lying in the ", false );
+ xText.insertString( xTextCursor, "in the alley. Like lightning he darted off to the left and disappeared between the two warehouses almost falling over the trash can lying in the ", false );
xText.insertString( xTextCursor, "centre ", true );
xCPS = UnoRuntime.queryInterface(
diff --git a/sw/source/core/text/porlay.cxx b/sw/source/core/text/porlay.cxx
index f075d2efb93d..e115bbe2d402 100644
--- a/sw/source/core/text/porlay.cxx
+++ b/sw/source/core/text/porlay.cxx
@@ -257,7 +257,7 @@ SwMarginPortion *SwLineLayout::CalcLeftMargin()
{
if( pPos->IsFlyPortion() )
{
- // The FlyPortion get's sucked out ...
+ // The FlyPortion gets sucked out...
pLeft->Join( static_cast<SwGluePortion*>(pPos) );
pPos = pLeft->GetPortion();
if( GetpKanaComp() && !GetKanaComp().empty() )