Commit graph

30427 commits

Author SHA1 Message Date
Caolán McNamara
b9ebe85e63 cppcheck: prefer prefix variant 2010-12-23 15:03:39 +00:00
Caolán McNamara
feb562dc6f cppcheck: prefer prefix variant 2010-12-23 12:51:06 +00:00
Caolán McNamara
dac2303f4b cppcheck: the scope of this variable can be reduced 2010-12-23 12:45:41 +00:00
Caolán McNamara
14b8caf1cf cppcheck: uninit member variable 2010-12-23 12:44:37 +00:00
Guillaume Poussel
e1a5999502 Removed __READONLY_DATA (replaced by const) 2010-12-22 20:58:02 +00:00
Caolán McNamara
bf4ce22b8d Resolves: #i113655# rhbz#621277 crash with missing DocShell 2010-12-22 20:50:49 +00:00
Cédric Bosdonnat
7f5b607055 ww8/dump was never built and rotted code: removed it 2010-12-22 17:27:21 +01:00
Caolán McNamara
dda59263cf Resolves: rhbz#660342 Undo/Redo crash with postits 2010-12-22 14:18:41 +00:00
Caolán McNamara
9cd4346f88 disable the tests that may vary, depending on the systems printer 2010-12-21 21:10:57 +00:00
Luboš Luňák
3c47f169df proper order of items inside w:tcPr 2010-12-21 20:25:20 +01:00
Luboš Luňák
00ab641d7d proper position of w:jc inside of w:tblPr 2010-12-21 20:25:20 +01:00
Caolán McNamara
b3332728cf Ensure that only the three valid options are possible to use
Originally four cryptic possibilties, only three of which would
correctly give unique values. So refactor into three possibilties,
make self-documenting and lock it down with a cppunit test
2010-12-20 17:10:42 +00:00
Caolán McNamara
25a8024703 cppcheck: port thb's test over and get it to work again 2010-12-20 16:21:25 +00:00
Luboš Luňák
672be186c1 work around tables with many columns for msoffice (fdo#30860)
Theoretically the .docx spec doesn't seem to have any limit
on the number of table columns, but in practice msoffice seems
to have a hardcoded limit of 63 columns and fails to open such
documents. Since the expected use case with .docx is that
somebody with msoffice will try to open it, keep the limit
and merge exceeding items into the last column.
2010-12-20 17:01:02 +01:00
Luboš Luňák
351f3e93cc remove non-functional column count limit (part of fdo#30860)
This limitation alone is a) wrong, since the limit is actually 63,
b) incomplete, since mso2k7 fails to open such document anyway.
2010-12-20 17:01:02 +01:00
Caolán McNamara
524e73344a set licence text 2010-12-20 16:00:24 +00:00
Caolán McNamara
ab48d98282 cppcheck: make this test buildable again 2010-12-20 15:52:54 +00:00
Caolán McNamara
3d91eca0d2 cppcheck: always build these tests now 2010-12-20 14:44:56 +00:00
Caolán McNamara
0b9ad2ddff cppunit: make sure to regenerate .rdb if makefile changes 2010-12-20 13:42:20 +00:00
Caolán McNamara
a60eb8b2e1 make buildable under windows 2010-12-20 12:37:32 +00:00
Caolán McNamara
3f347fefc5 The change from List to vector changes order of error messages
Which IMO is probably a good thing as the first error is now
at the start, and the last at the end. Which is way more sane,
so change test rather than change code.
2010-12-20 12:37:04 +00:00
Jan Holesovsky
1dd1dae667 Merge commit 'libreoffice-3.3.0.2'
Conflicts:
	starmath/source/parse.cxx
	sw/source/core/text/makefile.mk
	sw/source/filter/rtf/swparrtf.cxx
	sw/source/filter/ww8/rtfattributeoutput.cxx
2010-12-20 01:54:36 +01:00
Luke Dixon
d80b166d6a Put brackets around binoms in SmNodeToTextVisitor, with test 2010-12-19 17:15:55 +01:00
David Tardon
72228b8893 fix assertion 2010-12-19 13:14:46 +01:00
Joseph Powers
4d456fcb7a Remove DECLARE_LIST( SwXMLTableLinesCache_Impl, SwXMLTableLinesPtr )
The list is only used in SwXMLExport. ExportTableLinesAutoStyles() adds
entries; while ExportTableLines(). It might be posiable to destroy the
object with ot deleting the entries; so, I added a call to the destructor
to make sure pTableLines is clean before leaving.
2010-12-18 19:07:15 -08:00
Petr Mladek
ff50442f39 Version 3.3.0.2, tag libreoffice-3.3.0.2 (3.3-rc2) 2010-12-18 20:35:18 +01:00
Caolán McNamara
b2447c1329 WaE: C4805: Unsafe mix of bool and BOOL 2010-12-17 20:42:51 +00:00
Anders Jonsson
ffd8d02166 Remove blocks of commented code 2010-12-17 15:07:20 +00:00
Caolán McNamara
4b71dc0d83 valgrind: set this to a simple bool 2010-12-17 09:48:19 +00:00
Caolán McNamara
157246639f what is it with the pointer fetishism, just use references 2010-12-16 21:30:35 +00:00
Caolán McNamara
7f68a2efe0 Related: rhbz#661544 Duplicate page style names being used!
Which means they won't export correctly. This happened because someone
changed the condition for generating first page styles to be unconditional
but missed that the names were still generated conditionally
2010-12-16 21:22:15 +00:00
Caolán McNamara
74e87b2190 WaE, fix debug=t warning 2010-12-16 20:25:12 +00:00
Caolán McNamara
96d73b4398 WaE, fix debug=t warning 2010-12-16 20:25:12 +00:00
Caolán McNamara
add4f903f5 WaE, fix debug=t warning 2010-12-16 20:25:12 +00:00
Caolán McNamara
2f6d22e52b cppcheck: prefer prefix variant 2010-12-16 20:25:12 +00:00
Caolán McNamara
5a037e5883 cppcheck: unused variable 2010-12-16 20:25:12 +00:00
Luboš Luňák
38fa10f549 do not mix contents of w:spacing and w:pgMar (part of fdo#31410) 2010-12-16 17:26:39 +01:00
Octavio Alvarez
174f8e68d1 sw: reset num level on SplitNode if parent is outline i#93970
Fixes the following scenario:
1. Create a paragraph style "S" bound to a list style.
2. Set the Heading 2 next style to "S".
3. Pressing ENTER at the end of a Heading 2 will create the new
   paragraph, but its numbering level will be set to 2.

If this test is repeated for "Heading 3", the resulting paragraph
will end up with numbering level == 3.

It fixes i#93970
2010-12-16 09:39:03 +00:00
os
90de7f5656 #i115956# token translation fixed 2010-12-15 15:25:22 +01:00
Joseph Powers
bf70881fe3 Revert DECLARE_LIST(TOXControlList, Control*)
This will remove the segfault I caused in:
Writer -> Insert -> Indexes and Tables -> Indexes and Tables -> Entries
2010-12-15 06:20:55 -08:00
Caolán McNamara
616adc49d6 Handle 0 length entries gracefully 2010-12-15 13:17:28 +00:00
Caolán McNamara
c35ef70a1c only read SttbfAssoc if its length is > 0 2010-12-15 11:41:14 +00:00
Caolán McNamara
41b2672724 tidy this up, and don't bail out on mislength records 2010-12-14 20:30:52 +00:00
Caolán McNamara
6a765ae2c6 Related: #i97332# mirror default font to CJK font for WW6 2010-12-14 16:18:50 +00:00
Caolán McNamara
5867ea9f21 Resolves: #i101057# Merge WMF and WW6 code page export logic 2010-12-14 15:54:24 +00:00
Caolán McNamara
bc4fdc1b4d Related: #i114482# For WW6 shadow the CTL bold/posture with the normal one 2010-12-14 15:39:15 +00:00
Caolán McNamara
58c33925bb Related: #i114482# For WW6 shadow the CTL font with the normal one 2010-12-14 15:27:31 +00:00
Caolán McNamara
abf655621d Related: #i114482# For WW6 shadow the CTL fontsize with the normal one 2010-12-14 15:13:00 +00:00
Caolán McNamara
89aea02f4d Related: #i114482# for Word6/95 use CTL font as font when script is CTL 2010-12-14 14:29:01 +00:00
Joseph Powers
9494018f02 Revert "revert removal patch"
This reverts commit 03e13b100e3c4759547af06bd37fd10f87539ebc.
2010-12-13 18:34:55 -08:00