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
614e0401
Kaydet (Commit)
614e0401
authored
Kas 06, 2013
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
codemaker: fix invalid string index access
Change-Id: Icca819484e751864d146a893fe78e8ef2c36363b
üst
10dc6605
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
global.cxx
codemaker/source/codemaker/global.cxx
+3
-2
No files found.
codemaker/source/codemaker/global.cxx
Dosyayı görüntüle @
614e0401
...
...
@@ -87,8 +87,9 @@ OString createFileNameFromType( const OString& destination,
length
+=
prefix
.
getLength
()
+
type
.
getLength
()
+
postfix
.
getLength
();
sal_Bool
withSeparator
=
sal_False
;
if
(
destination
[
destination
.
getLength
()]
!=
'\\'
&&
destination
[
destination
.
getLength
()]
!=
'/'
&&
if
(
!
destination
.
isEmpty
()
&&
destination
[
destination
.
getLength
()
-
1
]
!=
'\\'
&&
destination
[
destination
.
getLength
()
-
1
]
!=
'/'
&&
type
[
0
]
!=
'\\'
&&
type
[
0
]
!=
'/'
)
{
...
...
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