Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
0aff4109
Kaydet (Commit)
0aff4109
authored
Tem 21, 2015
tarafından
Lionel Elie Mamane
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
avoid 1-past-the-end string access
Change-Id: Ia475ce737c430fab8d019e1b8a762f81897e0847
üst
3e926736
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
field2.cxx
vcl/source/control/field2.cxx
+4
-5
No files found.
vcl/source/control/field2.cxx
Dosyayı görüntüle @
0aff4109
...
...
@@ -432,15 +432,14 @@ static sal_Int32 ImplPatternRightPos( const OUString& rStr, const OString& rEdit
{
// search non-literal successor
sal_Int32
nNewPos
=
nCursorPos
;
sal_Int32
nTempPos
=
nNewPos
;
while
(
nTempPos
<
rEditMask
.
getLength
()
)
;
for
(
sal_Int32
nTempPos
=
nNewPos
+
1
;
nTempPos
<
rEditMask
.
getLength
();
++
nTempPos
)
{
if
(
rEditMask
[
nTempPos
+
1
]
!=
EDITMASK_LITERAL
)
if
(
rEditMask
[
nTempPos
]
!=
EDITMASK_LITERAL
)
{
nNewPos
=
nTempPos
+
1
;
nNewPos
=
nTempPos
;
break
;
}
nTempPos
++
;
}
ImplPatternMaxPos
(
rStr
,
rEditMask
,
nFormatFlags
,
bSameMask
,
nCursorPos
,
nNewPos
);
return
nNewPos
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment