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
56a9903a
Kaydet (Commit)
56a9903a
authored
Agu 05, 2018
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
OUString: avoid getTokenCount to only get last token
Change-Id: I68529076a6a6c2b23842c41d3e9099083a78d3c6
üst
f96e78a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
pptin.cxx
sd/source/filter/ppt/pptin.cxx
+3
-2
No files found.
sd/source/filter/ppt/pptin.cxx
Dosyayı görüntüle @
56a9903a
...
...
@@ -1948,8 +1948,9 @@ OUString ImplSdPPTImport::ReadSound(sal_uInt32 nSoundRef) const
osl_getTempDirURL
(
&
aGalleryDir
.
pData
);
else
aGalleryDir
=
SvtPathOptions
().
GetGalleryPath
();
sal_Int32
nTokenCount
=
comphelper
::
string
::
getTokenCount
(
aGalleryDir
,
';'
);
INetURLObject
aGalleryUserSound
(
aGalleryDir
.
getToken
(
nTokenCount
-
1
,
';'
)
);
// Use last token delimited by ';'. copy(lastIndexOf+1) works whether
// string is empty or not and whether ';' is there or not.
INetURLObject
aGalleryUserSound
(
aGalleryDir
.
copy
(
aGalleryDir
.
lastIndexOf
(
';'
)
+
1
)
);
aGalleryUserSound
.
Append
(
aRetval
);
const
auto
nRemainingSize
=
rStCtrl
.
remainingSize
();
...
...
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