diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-01-21 21:40:52 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-01-21 21:48:40 +0100 |
commit | f55deeb525dd22194d4438f8b791bc344a77521e (patch) | |
tree | d5c98b22b04c63a3eab90eb506d7c96048c177c9 /cui | |
parent | e3f11c10d8cc759d01afa4b8fd8bd98c81a03119 (diff) |
fix previous string conversion:
- unconverted assertion in dinfdlg.cxx
- wrong replaceAt in SidebarWin.cxx
- obsolete cast in SpellDialog.cxx
Change-Id: I18450c0c6fdd275b7f81a7fce58cdf98bb806e27
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/SpellDialog.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/SpellDialog.cxx b/cui/source/dialogs/SpellDialog.cxx index 135e9c0c84ba..135f33d54758 100644 --- a/cui/source/dialogs/SpellDialog.cxx +++ b/cui/source/dialogs/SpellDialog.cxx @@ -1491,7 +1491,7 @@ long SentenceEditWindow_Impl::PreNotify( NotifyEvent& rNEvt ) sal_Int32 nStart = pErrorAttr->GetStart(); sal_Int32 nEnd = pErrorAttr->GetEnd(); pTextEngine->RemoveAttrib( 0, *pErrorAttr ); - nStart = nStart - (sal_uInt16)nAddedChars; + nStart = nStart - nAddedChars; SetAttrib( *pNewError, 0, nStart - nAddedChars, nEnd ); //only if the error is active the mark is moved here if(bIsErrorActive) |