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
7ed1d7a4
Kaydet (Commit)
7ed1d7a4
authored
Eyl 24, 2012
tarafından
Fridrich Štrba
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix some obscurous windows linking problems
Change-Id: I6dc82bcb2e5997623b6b0e5b846cedfc7e223912
üst
a763ba46
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
65 additions
and
0 deletions
+65
-0
libwpd-0.9.5-msc.patch
libwpd/libwpd-0.9.5-msc.patch
+65
-0
No files found.
libwpd/libwpd-0.9.5-msc.patch
Dosyayı görüntüle @
7ed1d7a4
...
@@ -104,3 +104,68 @@ index 8c02ed1..f4ae836 100644
...
@@ -104,3 +104,68 @@ index 8c02ed1..f4ae836 100644
PrecompiledHeaderFile=".\Release/wpd2text.pch"
PrecompiledHeaderFile=".\Release/wpd2text.pch"
AssemblerListingLocation=".\Release/"
AssemblerListingLocation=".\Release/"
ObjectFile=".\Release/"
ObjectFile=".\Release/"
--- src/lib/WP6BoxGroup.cpp
+++ src/lib/WP6BoxGroup.cpp
@@ -304,8 +304,8 @@ void WP6BoxGroup::parse(WP6Listener *listener)
if (!m_nativeHeight && gbsPacket)
m_nativeHeight = gbsPacket->getNativeHeight();
- std::vector<uint16_t> graphicsDataIds;
- std::vector<uint16_t>::iterator gdiIter;
+ std::vector<unsigned> graphicsDataIds;
+ std::vector<unsigned>::iterator gdiIter;
WP6SubDocument *subDocument = 0;
// Get the box content
@@ -389,7 +389,7 @@ void WP6BoxGroup::parse(WP6Listener *listener)
if (tmpContentType == 0x03)
{
for (gdiIter = graphicsDataIds.begin(); gdiIter != graphicsDataIds.end(); gdiIter++)
- listener->insertGraphicsData((*gdiIter));
+ listener->insertGraphicsData(((uint16_t)*gdiIter));
}
if ((tmpContentType == 0x01) && (subDocument))
{
--- src/lib/WP6BoxGroup.h
+++ src/lib/WP6BoxGroup.h
@@ -28,7 +28,6 @@
#define WP6BOXGROUP_H
#include "WP6VariableLengthGroup.h"
-#include <vector>
#include "libwpd_internal.h"
class WPXInputStream;
--- src/lib/WP6GraphicsFilenamePacket.cpp
+++ src/lib/WP6GraphicsFilenamePacket.cpp
@@ -50,4 +50,9 @@ void WP6GraphicsFilenamePacket::_readContents(WPXInputStream *input, WPXEncrypti
m_childIds.push_back(readU16(input, encryption));
}
+const std::vector<unsigned> WP6GraphicsFilenamePacket::getChildIds() const
+{
+ return m_childIds;
+}
+
/* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */
--- src/lib/WP6GraphicsFilenamePacket.h
+++ src/lib/WP6GraphicsFilenamePacket.h
@@ -39,16 +39,12 @@ public:
~WP6GraphicsFilenamePacket();
void _readContents(WPXInputStream *input, WPXEncryption *encryption);
void parse(WP6Listener * /*listener */) const {}
- const std::vector<uint16_t> &getChildIds() const
- {
- return m_childIds;
- }
-
+ const std::vector<unsigned> getChildIds() const;
private:
WP6GraphicsFilenamePacket(const WP6GraphicsFilenamePacket &);
WP6GraphicsFilenamePacket &operator=(const WP6GraphicsFilenamePacket &);
- std::vector<uint16_t> m_childIds;
+ std::vector<unsigned> m_childIds;
const uint8_t m_flags;
};
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