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
2d30d16e
Kaydet (Commit)
2d30d16e
authored
Eki 11, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
-Werror,-Wunused-variable
Change-Id: I682b5d72c1785e8d8cb9c8bb42d4a0bab6db263e
üst
9f279e99
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
ZipPackage.cxx
package/source/zippackage/ZipPackage.cxx
+1
-4
No files found.
package/source/zippackage/ZipPackage.cxx
Dosyayı görüntüle @
2d30d16e
...
...
@@ -1030,9 +1030,6 @@ void ZipPackage::WriteManifest( ZipOutputStream& aZipOut, const vector< uno::Seq
void
ZipPackage
::
WriteContentTypes
(
ZipOutputStream
&
aZipOut
,
const
vector
<
uno
::
Sequence
<
PropertyValue
>
>&
aManList
)
{
const
OUString
sFullPath
(
"FullPath"
);
const
OUString
sMediaType
(
"MediaType"
);
ZipEntry
*
pEntry
=
new
ZipEntry
;
ZipPackageBuffer
*
pBuffer
=
new
ZipPackageBuffer
(
n_ConstBufferSize
);
uno
::
Reference
<
io
::
XOutputStream
>
xConTypeOutStream
(
*
pBuffer
,
UNO_QUERY
);
...
...
@@ -1055,7 +1052,7 @@ void ZipPackage::WriteContentTypes( ZipOutputStream& aZipOut, const vector< uno:
{
OUString
aPath
;
OUString
aType
;
OSL_ENSURE
(
(
*
aIter
)[
PKG_MNFST_MEDIATYPE
].
Name
.
equals
(
sMediaType
)
&&
(
*
aIter
)[
PKG_MNFST_FULLPATH
].
Name
.
equals
(
sFullPath
)
,
OSL_ENSURE
(
(
*
aIter
)[
PKG_MNFST_MEDIATYPE
].
Name
==
"MediaType"
&&
(
*
aIter
)[
PKG_MNFST_FULLPATH
].
Name
==
"FullPath"
,
"The mediatype sequence format is wrong!
\n
"
);
(
*
aIter
)[
PKG_MNFST_MEDIATYPE
].
Value
>>=
aType
;
if
(
!
aType
.
isEmpty
()
)
...
...
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