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
dcfb17b8
Kaydet (Commit)
dcfb17b8
authored
Ock 18, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some more loplugin:cstylecast: shell
Change-Id: I8d9846dcfd8b0f686f7321a3e7b7b0d70428723d
üst
42a53497
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gconfaccess.cxx
shell/source/backends/gconfbe/gconfaccess.cxx
+2
-2
No files found.
shell/source/backends/gconfbe/gconfaccess.cxx
Dosyayı görüntüle @
dcfb17b8
...
...
@@ -126,7 +126,7 @@ static OUString xdg_user_dir_lookup (const char *type)
if
(
osl_File_E_None
==
osl_openFile
(
aConfigFileURL
.
pData
,
&
handle
,
osl_File_OpenFlag_Read
))
{
rtl
::
ByteSequence
seq
;
while
(
osl_File_E_None
==
osl_readLine
(
handle
,
(
sal_Sequence
**
)
&
seq
))
while
(
osl_File_E_None
==
osl_readLine
(
handle
,
reinterpret_cast
<
sal_Sequence
**>
(
&
seq
)
))
{
/* Remove newline at end */
int
relative
=
0
;
...
...
@@ -134,7 +134,7 @@ static OUString xdg_user_dir_lookup (const char *type)
if
(
len
>
0
&&
seq
[
len
-
1
]
==
'\n'
)
seq
[
len
-
1
]
=
0
;
p
=
(
char
*
)
seq
.
getArray
(
);
p
=
reinterpret_cast
<
char
*>
(
seq
.
getArray
()
);
while
(
*
p
==
' '
||
*
p
==
'\t'
)
p
++
;
if
(
strncmp
(
p
,
"XDG_"
,
4
)
!=
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