diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-07-27 22:35:56 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2015-08-01 19:33:20 +0200 |
commit | 2a57ea7a67a016b09d91cbf0e97c22e6909a298c (patch) | |
tree | d10af2259da5644870c7d5a7eb5a1c380bc23308 /basctl | |
parent | 69a4c6626c7924cef6ccfcd48a47d3010e5837c8 (diff) |
sal_uInt16 to sal_Int32
Change-Id: I723d7c187ec186ccc68f061ba2357712a5f31869
Diffstat (limited to 'basctl')
-rw-r--r-- | basctl/source/basicide/baside2.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/basctl/source/basicide/baside2.cxx b/basctl/source/basicide/baside2.cxx index 39e79b0e31dc..dbdc329475f6 100644 --- a/basctl/source/basicide/baside2.cxx +++ b/basctl/source/basicide/baside2.cxx @@ -703,8 +703,7 @@ void ModulWindow::BasicAddWatch() if ( !aWord.isEmpty() ) { TextSelection aSel( aWordStart ); - sal_uInt16& rIndex = aSel.GetEnd().GetIndex(); - rIndex = rIndex + aWord.getLength(); + aSel.GetEnd().GetIndex() += aWord.getLength(); GetEditView()->SetSelection( aSel ); bAdd = true; } |