Commit Graph

305875 Commits

Author SHA1 Message Date
Fridrich Štrba
8b1692b68f Revert "Update lpsolve to 5.5.2.0. Resolves bug fdo#39496."
Sorry to have to revert this, but it is too broken on Windows.
Even on linux it needed some work to get right. Just stick with
what was there while the author works on a better version.

This reverts commit 21155b8739.

Change-Id: Iaa075c2bd4d2fccf4d58052888735bedc83605c7
2012-05-14 21:49:37 +02:00
Fridrich Štrba
eaa2426fb3 fix the lpsolve build
Change-Id: Ibb86fb64dd8bee950b70890018cd15dffd7484b1
2012-05-14 21:41:25 +02:00
Michael Stahl
68b9fc0627 Fix memory leak from using std::vector for SwTableBoxes
Also adapt dbgutil code for previous commit
2012-05-14 21:12:17 +02:00
Noel Grandin
b8ace0f986 Convert SV_DECL_PTRARR_DEL(SwTableBoxes) to std::vector
I added a GetPos() method because quite a lot of code used that
method and the existing code is quite tied to the precise
return values of that method.

Change-Id: I9af6b923d978abe758b63d835f228495c020455a
2012-05-14 19:49:15 +02:00
Michael Stahl
5031e17d4b fix RenameHdl in previous commit:
::boost::ptr_vector::erase will delete the element, so p points to freed
memory after that line; try to get this to work via the transfer method.
2012-05-14 19:49:15 +02:00
Noel Grandin
60473b5eca Convert SV_DECL_PTRARR_DEL(_SwTableAutoFmtTbl) to boost::ptr_vector
Change-Id: I1c92f9d77723979a9d16e9114282dec8d3566de6
2012-05-14 19:49:15 +02:00
Noel Grandin
b16ce6e60f Convert SV_DECL_PTRARR(SwEvtLstnrArray) to std::vector
Change-Id: Ifd81de26432d2e7ceed1a643e3c2009e97f8a5b2
2012-05-14 19:49:15 +02:00
Noel Grandin
d61282d4a9 Convert SV_DECL_PTRARR(ActionContextArr) to std::deque
Change-Id: I722fda99e8c13785c37fe20a89c1e7b6620b884d
2012-05-14 19:49:14 +02:00
Noel Grandin
0018724044 Convert SV_DECL_PTRARR_DEL(SwAuthDataArr) to boost::ptr_vector
Change-Id: I7f0adc9e2e196652dd938c27630fb2e13f9900e3
2012-05-14 19:49:14 +02:00
Noel Grandin
0be2a98cc0 Convert V_DECL_PTRARR_DEL(SortKeyArr) to boost::ptr_vector
Removed the copy constructor because it was dangerous,
it could result in accessing an SwTOXSortKey object after it was released.
Removed the operator= because it was private, and no longer used.

Change-Id: Ifaf21cbbad5f8b9cabddcc3009e4ed776b1fdd71
2012-05-14 19:49:14 +02:00
Tomas Chvatal
21155b8739 Update lpsolve to 5.5.2.0. Resolves bug fdo#39496.
Change-Id: I10b6043bf43d0b65a982a8c4f0067ac726189c53
2012-05-14 19:15:39 +02:00
Julien Nabet
18e6e7d929 WaE : XKeycodeToKeysym deprecated
Replaced by XkbKeycodeToKeysym
(cf http://nabble.documentfoundation.org/PATCH-Proposed-patch-for-XKeycodeToKeysym-deprecated-td3978158.html)

Change-Id: Ide8331705369d0c38e72bfe693102625e62a87e1
2012-05-14 19:01:02 +02:00
Stephan Bergmann
d8ade3ccf6 Added link to LanguageTool.oxt issue
Change-Id: Ifab63273b12963e748c9b937648b2079fcd0c796
2012-05-14 18:48:22 +02:00
Stephan Bergmann
3b1798a55b Work around extension factories not implementing XServiceInfo
...that would otherwise lead to "Bad insert element" failure during live-insertion.

Change-Id: I74f883c9b613f03256abb7be7657f25b418f821d
2012-05-14 18:20:30 +02:00
Eike Rathke
435c117c1c some optimization of ScAttrArray::GetLastVisibleAttr()
Method assumed that not much attribution happens below data and started from
the end of attribution, in the case of not much attribution it worked fine.
For the case of many differently formatted areas with a sufficiently large
area of visibly equal attribution near data end it was a bottle neck looping
over unnecessarily many comparisons. Start at data end instead. For the case
of not much attribution it doesn't really matter, and for the case of no
sufficiently large area below data end it doesn't matter at all and compares
the same number of entries. The drawback would be a large area near
attribution end with many small areas between data end and the large area.

Observed with test case of fdo#46160
2012-05-14 18:18:52 +02:00
Tomas Chvatal
904763b113 Support unpacking xz files.
Change-Id: If0b7234ede1d9f8c59e5df692b45539a508d8921
2012-05-14 18:15:55 +02:00
Kohei Yoshida
cf8b304af3 fdo#49854: Adjust array access for the addition of color scale attribute.
Or else crash would ensue...

Change-Id: I537523818eae3d558c300705baf7a5d9a8fa6dd9
2012-05-14 12:09:57 -04:00
Kohei Yoshida
204555c107 Renamed FILE to DOCINFO_TITLE, which is more appropriate for this field.
Change-Id: I1267629da8b66fc21c4ae2e78634c2093274aa61
2012-05-14 12:09:57 -04:00
Miklos Vajna
82b0450450 n#760294 svtools: allow border gap < 1pt
Change-Id: I3ac70ea343edde406e78845a112aabcbd8ff65b1
2012-05-14 17:20:30 +02:00
Caolán McNamara
cb235067de Resolves: fdo#49897 add+use SwDoc::containsUpdatableFields
Change-Id: I03ab6367a40ddc5748a499c4e2c7f108a3ef8a08
2012-05-14 16:09:44 +01:00
Matúš Kukan
a0c36a1e39 quick fix for slowcheck targets in tail_build
Change-Id: Ia74a76659d97d10299d9ddfe8d2118d5c1c5725e
2012-05-14 17:07:38 +02:00
Matúš Kukan
15f637229d dxguid.lib not needed here
Change-Id: I73ab08289965a311e36ea5f0187d57f7662208ab
2012-05-14 17:00:12 +02:00
Matúš Kukan
d2fe7ac24b -I$(SRCDIR)/solenv/inc is from SOLARINC
Change-Id: I I4fdd35b2d2c256f7d45022fb837178ace9d678d9
2012-05-14 17:00:12 +02:00
Miklos Vajna
057d632db0 Initial ooxml export test
Change-Id: I Id7f647be04245496bb1970b1bcc621d97395c032
2012-05-14 16:56:35 +02:00
Takeshi Abe
a6b68f4682 removed unused static rtl::OUString
Change-Id: I5a097beaaeb30214ed6071bba1297e551291922b
2012-05-14 23:43:54 +09:00
Noel Power
14ced14a22 add missing licence ( populated from TEMPLATE.SOURCECODE.HEADER )
Change-Id: I088e8fef273a42ad3e1d87d249a998867c22b4c6
2012-05-14 15:41:07 +01:00
Michael Stahl
e9bc6d7897 Revert "attempt to disable multi-defined symbol on windows for basic test"
Let's hope this works now.

This reverts commit 6113b27ec1.
This reverts commit 4e90345a4d.
2012-05-14 16:34:10 +02:00
Michael Stahl
4b88c6e705 CppunitTest_basic_enable does not seem to need library objects
and it apparently causes linking failures on Windows, so try without.
2012-05-14 16:32:05 +02:00
Michael Meeks
affb63e6e3 sot: minor unit test logic cleanup 2012-05-14 15:30:24 +01:00
Michael Meeks
ac90be0edd sot: add OLE2 unit test reading streams forward and backwards 2012-05-14 15:17:39 +01:00
Stephan Bergmann
eda52d5e73 FilterConfigCache not used outside svtools
Change-Id: I75c88b83903c7510291b9d021fd4837b2c8d5e4c
2012-05-14 16:14:02 +02:00
Noel Power
4e90345a4d fix missing ')' in Module.basic.mk
Change-Id: I2a9eb4d5c6e8dfea2aaf9b8667d3e3de7b1357fe
2012-05-14 15:08:28 +01:00
Noel Power
6113b27ec1 attempt to disable multi-defined symbol on windows for basic test
CppunitTest_basic_enable.mk & test_basic_enable.dll seems to suffer for some strange multiple defined symbol crack which is killing the tinderboxes, disable for the moment

Change-Id: I1584c11a0445ac36c138ae075ca365ad4b2effe1
2012-05-14 15:06:29 +01:00
Michael Meeks
8924a7bde1 fdo#35270 - enable caching of grammar checker properties
Thanks to Daniel Naber for some great detective work

Change-Id: I8318368971c3d34064ba2e59e757a2e5839d7d6b
2012-05-14 14:44:20 +01:00
Petr Mladek
cf7f6ba13f better fix for poppler 0.20
Do not call gfxFont->getName() twice; Thanks David Tardon for catching this.

Heh, I wonder if gfxFont->getOrigName() ever given any different value
than getName() ;-)

Change-Id: Idaf95a6a024076c6d450519923b6129166a5f8bd
2012-05-14 15:38:31 +02:00
Caolán McNamara
6b3bf27cb5 ppc: yyinput returns a int, truncating to (unsigned)char does't work
retain this as an int so that on platforms where char is unsigned
we don't mangle the value and get this all wrong.

Fixes database opening tables on ppc if -fsigned-char is removed

Change-Id: I66f0c6b1b19191595f8b348377579f2daabf7ada
2012-05-14 14:34:11 +01:00
Caolán McNamara
7ef203d2bf Revert "sw34bf03: #i81127#: patch by pmladek: linux/ppc: remove -fsigned-char"
This reverts commit 875c9a28f4.
because it doesn't make sense to build the dmake modules
without -fsigned-char and the gbuild modules with -fsigned-char

and we're still got a few bugs where we assume chars are signed

Conflicts:

	solenv/inc/unxlngppc.mk

Change-Id: I6ac07fa3ebadd83efd0da1ee69a010b62dfaad59
2012-05-14 14:34:11 +01:00
Caolán McNamara
bd04c1d896 WaE: unsafe mix of bool and sal_Bool
Change-Id: I3854a9958f49dbbabe7a604e4604d5d8f79adc11
2012-05-14 14:34:11 +01:00
Caolán McNamara
2368d3403a this should have been CDEFAULTOPT, not DEFAULTOPT
Change-Id: Ib119c7bf8e04b8274026159218281cb3f220c8d0
2012-05-14 14:34:10 +01:00
Caolán McNamara
c1239a1e70 default unix in general to system libxml2/libxslt like MacOSX
Change-Id: I7cde2a79462c71f4ce6e3ab75152e804ec7260f9
2012-05-14 14:34:10 +01:00
Caolán McNamara
f0997ea393 filter unused libwps_tools_win:: methods
Change-Id: I88fca8854db96fdba1ea9069fb95a237c5b02bb2
2012-05-14 14:34:10 +01:00
Caolán McNamara
82d1c1d9eb bump zlib to 1.2.7
Change-Id: I003d1a8ff86f94c15b295e11ad109929708fa561
2012-05-14 14:34:10 +01:00
Caolán McNamara
f5e727de55 WaE: exceptions used without unwind information
Change-Id: Iaf1606ee8c3e4f07cea3525813712dd25b0627c6
2012-05-14 14:34:10 +01:00
Caolán McNamara
c182a75241 convert GetComment family to rtl::OUString
Change-Id: I563ab83a24ca4f839892548b350486e83dd071d3
2012-05-14 14:34:09 +01:00
Markus Mohrhard
28062c6281 formulas in color scales should not be changed to external references
Change-Id: Ie85bd4320324ef932102576ca4ccf32c3527796c
2012-05-14 15:21:36 +02:00
Markus Mohrhard
a233a98a90 no need to use ScDocFunc here, ScDocument is the better choice
Change-Id: I280e5ab08949415a8179f803177d280540ba0650
2012-05-14 15:21:36 +02:00
David Tardon
a360d59015 hide progress bar even if loading failed
Change-Id: Ia330e70e393309dbbad025fc2ede8f4ab41a674c
2012-05-14 15:02:03 +02:00
David Tardon
dfe0baa281 do not crash when opening rtf file with unclosed field group
It still fails to load the file (General input/output error), because
RTFDocumentImpl::resolve() throws io::UnexpectedEOFException, but that
is a bit better than a crash .-)

Example of such a file can be found in fdo#49666 or rhbz#819304 .

Change-Id: I I1e575bf8e3194afe063297a4daf3e98eaaa510cc
2012-05-14 15:02:02 +02:00
Noel Power
d7149abc77 add simple basic runtime test
Change-Id: If8742cb174aa1d017763d3ba42807ac4cf6c7420
2012-05-14 13:59:09 +01:00
Petr Mladek
e6007cf40b fdo#48070 more on parsing of arc paths
also ignore "+" sign; remove unused sNumberString variable
2012-05-14 14:31:11 +02:00