Commit graph

32397 commits

Author SHA1 Message Date
Caolán McNamara
130c44b09e replace ByteString::ConvertToUnicode 2011-08-04 09:27:22 +01:00
Caolán McNamara
8a7dbf9cbb callcatcher: remove unused methods 2011-08-04 09:26:29 +01:00
Caolán McNamara
db01f854d7 SwFilterBase::ReadUnicode is dubious, luckily unused 2011-08-03 22:41:41 +01:00
Caolán McNamara
abc48eaff8 ByteString::ConvertToUnicode->rtl::OUString ctor 2011-08-03 22:37:55 +01:00
Caolán McNamara
d66a06ce6a Related: #i38880# crash in new field code 2011-08-03 10:35:38 +01:00
Miklos Vajna
aba21efaac MSWordExportBase::ExportDocument: check if we have a DocShell
This fixes a crash during RTF export invoked by copy&paste, as the
called constructor would unconditionally dereference the DocShell's
pointer since commit 183c9723dce0296baa0a38220199a1aa0e9f52ca.
2011-08-02 23:33:58 +02:00
Caolán McNamara
4670f1940b catch by const reference 2011-08-02 16:57:26 +01:00
Caolán McNamara
9eea356002 bPgChpLevel is always false, so remove if (bPgChpLevel) branches 2011-08-02 11:08:40 +01:00
Caolán McNamara
68a832c772 ByteString::CreateFromInt32 -> rtl::OStringBuffer::append 2011-08-02 11:08:40 +01:00
Caolán McNamara
36ccfb710d convert to rtl::OString[Buffer] and simplify 2011-08-02 11:08:40 +01:00
Miklos Vajna
fc7d3ea9f0 ImportRTF: use the new uno filter in experimental mode 2011-08-02 00:29:19 +02:00
Miklos Vajna
b161497053 SwCache: fix build with dbglevel=2 2011-08-02 00:26:25 +02:00
Miklos Vajna
3de3f1eb15 Partially revert "Removed dead code"
This partially reverts commit 1e2c9be36ba9f94a27b3aa73c87ceb3d52e100dc,
CellInfo::toString and WW8TableCellGrid::toString is still needed with
dbglevel>1.
2011-08-01 22:08:18 +02:00
Tor Lillqvist
24b6225f93 Add consistent Emacs and vim mode lines 2011-07-30 23:03:51 +03:00
Caolán McNamara
d5e37900cd Related: fdo#34184 don't claim that all errors are due to invalid address 2011-07-29 14:57:49 +01:00
Jan Holesovsky
a7ca9348bf findbar: Add seporator between the Prev/Next and Serch & Replace 2011-07-29 15:11:00 +02:00
Thomas Arnhold
5210b695af Get rid of these non-printable chars 2011-07-29 11:09:32 +02:00
Marc-Andre Laverdiere
988acc3301 Removed dead code 2011-07-29 12:04:02 +05:30
Marc-Andre Laverdiere
cf60f162e6 Fixed invalid array dereference 2011-07-29 11:15:19 +05:30
Marc-Andre Laverdiere
d7a666a8f3 Fixes for segfault on an edge case + translations
Fixed segfault due to reading an invalid pointer returned by GetStyle
Translated some of the comments
Added some proofing against similar bugs from GetStyle that may happen
in other edge cases
Fixed compile warning
2011-07-29 11:15:19 +05:30
Marc-Andre Laverdiere
8f934e0295 Fixed valgrind error
Complained about switching on an unitialized value
2011-07-29 11:15:19 +05:30
Marc-Andre Laverdiere
db68b261df Fixed invalid array bounds read in ww8scan.cxx 2011-07-29 11:15:19 +05:30
Marc-Andre Laverdiere
a64094c6ff Fixed invalid pointer dereference 2011-07-29 11:15:18 +05:30
Jan Holesovsky
11bafe2406 Merge branch 'master' of git://anongit.freedesktop.org/libreoffice/writer 2011-07-28 18:40:13 +02:00
Jan Holesovsky
ea936cd966 Merge commit 'libreoffice-3.4.2.3'
Conflicts:
	sw/qa/core/data/ww8/pass/CVE-2008-4841-1.doc
	sw/source/core/docnode/ndcopy.cxx
	sw/source/filter/ww8/ww8par.cxx
	sw/source/filter/ww8/ww8par.hxx
	sw/source/filter/ww8/ww8scan.cxx
	sw/source/filter/ww8/ww8scan.hxx
2011-07-28 18:36:05 +02:00
Troy Rollo
e3d5c3e074 Fix fdo#36868 - doc import list numbering error
This patch appears to be fix fdo#36868. The problem is that the paragraph
style was never being assigned an outline list level. The saved file did
not have an sprmPOutLvl for that paragraph (although it did have one for
the level 0 style), just an sprmPIlvl and an sprmPIlfo. Therefore there
was no call to SwWW8ImplReader::Read_POutLvl to set nOutlineLevel.
2011-07-28 17:40:32 +02:00
Caolán McNamara
afeb4aa36c Resolves: fdo#35439 survive missing libdba gracefully with errorbox 2011-07-28 14:01:49 +01:00
Caolán McNamara
c783e95520 Resolves: fdo#37693 it really is a LineBorder not a LineBorder2 2011-07-28 09:47:40 +01:00
Caolán McNamara
715c486c10 use DrawUndoGuard to turn off undo for draw layer for duration of its scope 2011-07-28 09:11:29 +01:00
Caolán McNamara
d541c21e72 ByteString->rtl::OStringBuffer 2011-07-27 21:50:02 +01:00
Luboš Luňák
319df52987 don't use an invalidated iterator 2011-07-27 17:35:13 +02:00
Caolán McNamara
488974a129 Resolves: fdo#36631 don't crash on undo of ole2 insert 2011-07-27 14:49:41 +01:00
Caolán McNamara
476c2c340d catch by const reference 2011-07-27 09:23:46 +01:00
Caolán McNamara
6f976916e2 Related: fdo#35404 treat failed column same as non-existing column 2011-07-27 09:23:46 +01:00
Caolán McNamara
1614c11506 ByteString::CreateFromInt32->rtl::OStringBuffer::append 2011-07-27 09:23:46 +01:00
Kohei Yoshida
18d3e16506 Kills those pesky non-printable chars. 2011-07-27 01:12:22 -04:00
Kohei Yoshida
ef540f976b Let's not make these methods inline.... 2011-07-27 01:02:03 -04:00
Kohei Yoshida
bd2fffd0b7 Replace SV_*_PTRARR_SORT with boost::ptr_map. 2011-07-27 00:54:33 -04:00
Kohei Yoshida
dc3d5f5003 Replace SV_*_PTRARR with boost::ptr_vector. 2011-07-26 21:24:19 -04:00
Jan Holesovsky
88ef0f8c4d findbar: Show the "Search and Replace" button in the FindBar by default. 2011-07-27 00:21:19 +02:00
Noel Power
73db970431 Revert "fix for bnc#693477 ensure table alignment is preserved"
This reverts commit 95351a519bec2833f5d936c20e3916a4e283b0f6.
<sigh> after testing on another machine I think this is indeed font related, there is I think a genuine issue with the tablewidth and column width getting truncated with the 'FULL' setting but... it appears this isn't the fix for this bug.
2011-07-26 18:47:19 +01:00
Caolán McNamara
35724a77bd put exception message into mailmerge error dialog 2011-07-26 12:16:07 +01:00
Caolán McNamara
b9fe3cd985 enforce checking return value 2011-07-26 10:17:33 +01:00
Petr Mladek
8b7d5d1a99 Version 3.4.2.3, tag libreoffice-3.4.2.3 (3.4.2-rc3) 2011-07-25 20:28:46 +02:00
Nigel Hawkins
3bbc37dc54 Replace SvUShorts with vector in redline.hxx and docredln.cxx 2011-07-25 17:07:22 +01:00
Nigel Hawkins
f7ee8949f2 Replace SvUShorts with vector in layhelp.hxx and laycache.cxx 2011-07-25 16:44:54 +01:00
Nigel Hawkins
8532d5d39f Replace SvUShorts with vector in envfmt.[ch]xx 2011-07-25 16:44:53 +01:00
Miklos Vajna
1a051d252e RTF: emit row properties at the end of the row as well
The spec suggests this, but the old parser can't cope with it, so enable
it only when the new parser is active.
2011-07-25 12:02:59 +02:00
Caolán McNamara
78641a71ad enforce inside bounds 2011-07-25 09:43:43 +01:00
Norbert Thiebaud
3f1e287e46 icuuc and xml2 are 'external' library 2011-07-24 17:08:10 -05:00