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
356ba01b
Kaydet (Commit)
356ba01b
authored
Eyl 13, 2015
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use search position in getToken
Change-Id: If801cb8c4aef16ecac1c747e56bf0c1797d7db21
üst
af6d9db3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
optpath.cxx
cui/source/options/optpath.cxx
+4
-3
No files found.
cui/source/options/optpath.cxx
Dosyayı görüntüle @
356ba01b
...
@@ -801,11 +801,12 @@ void SvxPathTabPage::SetPathList(
...
@@ -801,11 +801,12 @@ void SvxPathTabPage::SetPathList(
// save user paths
// save user paths
char
cDelim
=
MULTIPATH_DELIMITER
;
char
cDelim
=
MULTIPATH_DELIMITER
;
sal_uInt16
nCount
=
comphelper
::
string
::
getTokenCount
(
_rUserPath
,
cDelim
);
const
sal_Int32
nCount
=
comphelper
::
string
::
getTokenCount
(
_rUserPath
,
cDelim
);
Sequence
<
OUString
>
aPathSeq
(
nCount
);
Sequence
<
OUString
>
aPathSeq
(
nCount
);
OUString
*
pArray
=
aPathSeq
.
getArray
();
OUString
*
pArray
=
aPathSeq
.
getArray
();
for
(
sal_uInt16
i
=
0
;
i
<
nCount
;
++
i
)
sal_Int32
nPos
=
0
;
pArray
[
i
]
=
_rUserPath
.
getToken
(
i
,
cDelim
);
for
(
sal_Int32
i
=
0
;
i
<
nCount
;
++
i
)
pArray
[
i
]
=
_rUserPath
.
getToken
(
0
,
cDelim
,
nPos
);
Any
aValue
=
makeAny
(
aPathSeq
);
Any
aValue
=
makeAny
(
aPathSeq
);
pImpl
->
m_xPathSettings
->
setPropertyValue
(
pImpl
->
m_xPathSettings
->
setPropertyValue
(
sCfgName
+
POSTFIX_USER
,
aValue
);
sCfgName
+
POSTFIX_USER
,
aValue
);
...
...
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