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
849352c7
Kaydet (Commit)
849352c7
authored
Eki 05, 2013
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Correct prefix for OUString + constify
Change-Id: I4662fa9c63717c57ccfb6bcee685c4d47c715eff
üst
7770eb9b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
ndgrf.cxx
sw/source/core/graphic/ndgrf.cxx
+8
-8
No files found.
sw/source/core/graphic/ndgrf.cxx
Dosyayı görüntüle @
849352c7
...
...
@@ -472,28 +472,28 @@ struct StreamAndStorageNames
OUString
sStorage
;
};
StreamAndStorageNames
lcl_GetStreamStorageNames
(
OUString
a
UserData
)
StreamAndStorageNames
lcl_GetStreamStorageNames
(
const
OUString
s
UserData
)
{
StreamAndStorageNames
aNames
;
if
(
a
UserData
.
isEmpty
()
)
if
(
s
UserData
.
isEmpty
()
)
return
aNames
;
const
OUString
aProt
(
"vnd.sun.star.Package:"
);
if
(
a
UserData
.
startsWith
(
aProt
))
if
(
s
UserData
.
startsWith
(
aProt
))
{
// 6.0 (XML) Package
const
sal_Int32
nPos
=
a
UserData
.
indexOf
(
'/'
);
const
sal_Int32
nPos
=
s
UserData
.
indexOf
(
'/'
);
if
(
nPos
<
0
)
{
aNames
.
sStream
=
a
UserData
.
copy
(
aProt
.
getLength
());
aNames
.
sStream
=
s
UserData
.
copy
(
aProt
.
getLength
());
}
else
{
sal_Int32
nPathStart
=
aProt
.
getLength
();
if
(
a
UserData
.
startsWith
(
"./"
))
if
(
s
UserData
.
startsWith
(
"./"
))
nPathStart
+=
2
;
aNames
.
sStorage
=
a
UserData
.
copy
(
nPathStart
,
nPos
-
nPathStart
);
aNames
.
sStream
=
a
UserData
.
copy
(
nPos
+
1
);
aNames
.
sStorage
=
s
UserData
.
copy
(
nPathStart
,
nPos
-
nPathStart
);
aNames
.
sStream
=
s
UserData
.
copy
(
nPos
+
1
);
}
}
else
...
...
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