View | Details | Raw Unified | Return to issue 94895
Collapse All | Expand All

(-)basic/source/runtime/methods.cxx (-2 / +2 lines)
Lines 1439-1445 Link Here
1439
				if( nPos != STRING_NOTFOUND )
1439
				if( nPos != STRING_NOTFOUND )
1440
				{
1440
				{
1441
					aExpStr.Replace( nPos, nFindStrLen, aReplaceStr );
1441
					aExpStr.Replace( nPos, nFindStrLen, aReplaceStr );
1442
					nPos = nPos - nFindStrLen + nReplaceStrLen + 1;
1442
					nPos = nPos + nReplaceStrLen;
1443
					nCounts++;
1443
					nCounts++;
1444
				}
1444
				}
1445
				else
1445
				else
Lines 1448-1454 Link Here
1448
				}
1448
				}
1449
			}
1449
			}
1450
		}
1450
		}
1451
		rPar.Get(0)->PutString( aExpStr.Copy( static_cast<sal_uInt16>(lStartPos - 1) )  );
1451
		rPar.Get(0)->PutString( aExpStr.Copy() );
1452
	}
1452
	}
1453
}
1453
}
1454
1454

Return to issue 94895