summaryrefslogtreecommitdiff
path: root/vcl/source/window/winproc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window/winproc.cxx')
-rw-r--r--vcl/source/window/winproc.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx
index 890f4874aa6c..1c7d615db77c 100644
--- a/vcl/source/window/winproc.cxx
+++ b/vcl/source/window/winproc.cxx
@@ -2262,16 +2262,16 @@ static void ImplHandleSurroundingTextRequest( vcl::Window *pWindow,
if ( !pChild )
{
- rText.clear();
- rSelRange.setMin( 0 );
- rSelRange.setMax( 0 );
+ rText.clear();
+ rSelRange.setMin( 0 );
+ rSelRange.setMax( 0 );
}
else
{
- rText = pChild->GetSurroundingText();
- Selection aSel = pChild->GetSurroundingTextSelection();
- rSelRange.setMin( aSel.Min() );
- rSelRange.setMax( aSel.Max() );
+ rText = pChild->GetSurroundingText();
+ Selection aSel = pChild->GetSurroundingTextSelection();
+ rSelRange.setMin( aSel.Min() );
+ rSelRange.setMax( aSel.Max() );
}
}