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
64afe19c
Kaydet (Commit)
64afe19c
authored
May 08, 2013
tarafından
Fridrich Štrba
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Uploading libmwaw 0.1.8
Change-Id: Id5e9ab64924ddc48921d0c028ede712b8cb3477d
üst
ec1bfc3f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
144 deletions
+2
-144
download.lst
download.lst
+2
-2
UnpackedTarball_libmwaw.mk
libmwaw/UnpackedTarball_libmwaw.mk
+0
-1
libmwaw-0.1.7-misc.patch
libmwaw/libmwaw-0.1.7-misc.patch
+0
-141
No files found.
download.lst
Dosyayı görüntüle @
64afe19c
...
...
@@ -2,8 +2,8 @@ CDR_MD5SUM := 75700c61b3a8e7d49a1f04c62048ff00
export CDR_TARBALL := libcdr-0.0.13.tar.bz2
MSPUB_MD5SUM := 881c4628ec5f54d47f35d5d19e335662
export MSPUB_TARBALL := libmspub-0.0.5.tar.bz2
MWAW_MD5SUM := 7
c08542921466eee797e0be23e9535
b3
export MWAW_TARBALL := libmwaw-0.1.
7
.tar.bz2
MWAW_MD5SUM := 7
515f94bce7d8685561132ef858828
b3
export MWAW_TARBALL := libmwaw-0.1.
8
.tar.bz2
VISIO_MD5SUM := 2f638cf6f92cec59c9205ac3cbf1702e
export VISIO_TARBALL := libvisio-0.0.26.tar.bz2
...
...
libmwaw/UnpackedTarball_libmwaw.mk
Dosyayı görüntüle @
64afe19c
...
...
@@ -15,7 +15,6 @@ $(eval $(call gb_UnpackedTarball_set_patchlevel,libmwaw,1))
$(eval $(call gb_UnpackedTarball_add_patches,libmwaw,\
libmwaw/libmwaw-0.1.7-autotools.patch \
libmwaw/libmwaw-0.1.7-misc.patch \
))
# vim: set noet sw=4 ts=4:
libmwaw/libmwaw-0.1.7-misc.patch
deleted
100644 → 0
Dosyayı görüntüle @
ec1bfc3f
--- a/src/lib/CWGraph.cxx
+++ b/src/lib/CWGraph.cxx
@@ -55,6 +55,8 @@
#include "CWGraph.hxx"
+#include "libmwaw_internal.hxx"
+
/** Internal: the structures of a CWGraph */
namespace CWGraphInternal
{
--- a/src/lib/EDParser.cxx
+++ b/src/lib/EDParser.cxx
@@ -51,6 +51,8 @@
#include "MWAWRSRCParser.hxx"
#include "MWAWSubDocument.hxx"
+#include "libmwaw_internal.hxx"
+
#include "EDParser.hxx"
/** Internal: the structures of a EDParser */
@@ -756,7 +758,7 @@ private:
bool DeflateStruct::sendDuplicated(int num, int depl)
{
- ssize_t readPos=ssize_t(m_circQueuePos)+ssize_t(depl);
+ int64_t readPos=m_circQueuePos+depl;
while (readPos < 0) readPos+=0x2000;
while (readPos >= 0x2000) readPos-=0x2000;
--- a/src/lib/HMWKGraph.cxx
+++ b/src/lib/HMWKGraph.cxx
@@ -53,6 +53,8 @@
#include "HMWKGraph.hxx"
+#include "libmwaw_internal.hxx"
+
/** Internal: the structures of a HMWKGraph */
namespace HMWKGraphInternal
{
--- a/src/lib/MSW1Parser.cxx
+++ b/src/lib/MSW1Parser.cxx
@@ -527,7 +527,7 @@ bool MSW1Parser::prepareTextZones()
return false;
}
- std::map<long,MSW1ParserInternal::PLC>::iterator plcIt = m_state->m_plcMap.begin();
+ std::multimap<long,MSW1ParserInternal::PLC>::iterator plcIt = m_state->m_plcMap.begin();
long pos = 0x80, prevMainPos=pos;
int actPage = 1;
int actType = 0;
@@ -1216,7 +1216,7 @@ bool MSW1Parser::sendText(MWAWEntry const &textEntry, bool isMain)
libmwaw::DebugStream f;
f << "TextContent:";
int actFId=-1, actRId = -1, actPage=0;
- std::map<long,MSW1ParserInternal::PLC>::iterator plcIt = m_state->m_plcMap.begin();
+ std::multimap<long,MSW1ParserInternal::PLC>::iterator plcIt = m_state->m_plcMap.begin();
while (plcIt != m_state->m_plcMap.end() && plcIt->first < pos) {
MSW1ParserInternal::PLC const &plc = plcIt++->second;
if (plc.m_type == MSW1ParserInternal::FONT)
--- a/src/lib/MSWStruct.cxx
+++ b/src/lib/MSWStruct.cxx
@@ -1027,7 +1027,7 @@ void Paragraph::insert(Paragraph const ¶, bool insertModif)
for (size_t j = 0; j < m_tabs->size(); j++) {
if (m_tabs.get()[j].m_position < val-1e-4 || m_tabs.get()[j].m_position > val+1e-4)
continue;
- m_tabs->erase (m_tabs->begin()+ssize_t(j));
+ m_tabs->erase (m_tabs->begin()+j);
done = true;
break;
}
--- a/src/lib/MWAWPageSpan.cxx
+++ b/src/lib/MWAWPageSpan.cxx
@@ -236,7 +236,7 @@ void MWAWPageSpan::getPageProperty(WPXPropertyList &propList) const
propList.insert("fo:page-height", getFormLength());
propList.insert("fo:page-width", getFormWidth());
- if (getFormOrientation() == MWAWPageSpan::MWAWPageSpan::LANDSCAPE)
+ if (getFormOrientation() == LANDSCAPE)
propList.insert("style:print-orientation", "landscape");
else
propList.insert("style:print-orientation", "portrait");
--- a/src/lib/WNParser.cxx
+++ b/src/lib/WNParser.cxx
@@ -336,7 +336,7 @@ bool WNParser::createZones()
} else if (!readDocEntries())
return false;
- std::map<std::string, WNEntry const *>::const_iterator iter;
+ std::multimap<std::string, WNEntry const *>::const_iterator iter;
// the Color map zone
iter = m_entryManager->m_typeMap.find("ColMap");
--- a/src/lib/WNText.cxx
+++ b/src/lib/WNText.cxx
@@ -589,7 +589,7 @@ WNEntry WNText::getFooter() const
////////////////////////////////////////////////////////////
bool WNText::createZones()
{
- std::map<std::string, WNEntry const *>::const_iterator iter;
+ std::multimap<std::string, WNEntry const *>::const_iterator iter;
iter = m_entryManager->m_typeMap.find("FontZone");
if (iter != m_entryManager->m_typeMap.end())
--- a/src/lib/ZWText.cxx
+++ b/src/lib/ZWText.cxx
@@ -433,7 +433,7 @@ bool ZWText::sendText(ZWTextInternal::Section const &zone, MWAWEntry const &entr
ZWTextInternal::Font actFont;
actFont.m_font=MWAWFont(3,12);
- std::multimap<long, ZWTextInternal::Font>::const_iterator fIt=
+ std::map<long, ZWTextInternal::Font>::const_iterator fIt=
zone.m_idFontMap.begin();
long cPos = pos-zone.m_pos.begin();
while (fIt != zone.m_idFontMap.end() && fIt->first<cPos)
--- a/src/lib/libmwaw_internal.hxx
+++ b/src/lib/libmwaw_internal.hxx
@@ -41,8 +41,13 @@
#include <map>
#include <ostream>
#include <string>
+#include <math.h>
#include <vector>
+#ifndef M_PI
+#define M_PI 3.14159265358979323846
+#endif
+
#include <libwpd-stream/libwpd-stream.h>
#include <libwpd/libwpd.h>
@@ -60,6 +65,7 @@ typedef unsigned short uint16_t;
typedef signed int int32_t;
typedef unsigned int uint32_t;
typedef unsigned __int64 uint64_t;
+typedef __int64 int64_t;
#else /* !_MSC_VER && !__DJGPP__*/
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