Kaydet (Commit) 740efbb1 authored tarafından jp's avatar jp

Task #80648#: status notify at the correct position

üst f29697f0
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: callnk.cxx,v $ * $RCSfile: callnk.cxx,v $
* *
* $Revision: 1.2 $ * $Revision: 1.3 $
* *
* last change: $Author: jp $ $Date: 2000-11-15 13:42:41 $ * last change: $Author: jp $ $Date: 2000-11-23 20:01:05 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -180,11 +180,11 @@ SwCallLink::~SwCallLink() ...@@ -180,11 +180,11 @@ SwCallLink::~SwCallLink()
!rShell.ActionPend() ) && !rShell.ActionPend() ) &&
(( nCmp = nCntnt ) + 1 == nAktCntnt || // Right (( nCmp = nCntnt ) + 1 == nAktCntnt || // Right
nCntnt -1 == ( nCmp = nAktCntnt )) ) // Left nCntnt -1 == ( nCmp = nAktCntnt )) ) // Left
{
if ( ((SwTxtNode*)pCNd)->HasHints() )
{ {
if( nCmp == nAktCntnt && pCurCrsr->HasMark() ) // left & Sele if( nCmp == nAktCntnt && pCurCrsr->HasMark() ) // left & Sele
++nCmp; ++nCmp;
if ( ((SwTxtNode*)pCNd)->HasHints() )
{
const SwpHints &rHts = ((SwTxtNode*)pCNd)->GetSwpHints(); const SwpHints &rHts = ((SwTxtNode*)pCNd)->GetSwpHints();
USHORT n; USHORT n;
...@@ -223,8 +223,9 @@ SwCallLink::~SwCallLink() ...@@ -223,8 +223,9 @@ SwCallLink::~SwCallLink()
if( pBreakIt->xBreak.is() ) if( pBreakIt->xBreak.is() )
{ {
const String& rTxt = ((SwTxtNode*)pCNd)->GetTxt(); const String& rTxt = ((SwTxtNode*)pCNd)->GetTxt();
if( pBreakIt->xBreak->getScriptType( rTxt, nCntnt ) if( !nCmp ||
!= pBreakIt->xBreak->getScriptType( rTxt, nAktCntnt )) pBreakIt->xBreak->getScriptType( rTxt, nCmp )
!= pBreakIt->xBreak->getScriptType( rTxt, nCmp - 1 ))
{ {
rShell.CallChgLnk(); rShell.CallChgLnk();
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment