summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-11-06Revert "use the new OUString::fromUtf8 method"Stephan Bergmann
This reverts commit 05050cdb23de586870bf479a9df5ced06828d498, not all places that use e.g. OStringToOUString to convert potential UTF-8 are guaranteed to fulfil the prerequisites necessary to use fromUtf8 (and some places like e.g. in codemaker are happy with the best-effort effect of OStringToOUString's OSTRING_TO_OUSTRING_CVTFLAGS).
2014-11-06implement toggling off removeable master elements with direct deleteCaolán McNamara
i.e. selecting footers/headers/slidenumber/datetime previes placeholders in master page view and pressing delete will toggle those master elements off. Change-Id: I91f745703e43cbb4fdd037da4eab7c8f6bf9fbf5
2014-11-06refactor delete code into FuDeleteSelectedObjectsCaolán McNamara
Change-Id: If6929dfae5e284b1201da5505b9c4e5abceedc6d
2014-11-06refactor MasterLayoutDialog::remove to SdPage::DestroyDefaultPresObjCaolán McNamara
Change-Id: If4edb16b2e94396249f3e2ba99381fcd8341d790
2014-11-06-Werror,-Wunused-const-variableStephan Bergmann
Change-Id: I862e491068ac88659bfd1cc99e7403dba2929275
2014-11-06If XPersistObject support is dropped, all this unsupported old data can goCaolán McNamara
Change-Id: I7000df307920b1b04b81cc4c436009cf6b6548e0 Reviewed-on: https://gerrit.libreoffice.org/12282 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-11-06unittest verifying that mail merge correctly sets up marks for sub-documentsLuboš Luňák
I.e. the UNO bookmarks that are used for marking where each generated document starts inside the one large single document. Change-Id: I8069a3110cacd34b25aff6739ab248f490c3fa6a
2014-11-06name of mailmerge marks is actually irrelevantLuboš Luňák
UNO bookmarks have internals names and ignore this Change-Id: I37baa4c9bcf9cec37f91e3b1d0fb2fad322ceda8
2014-11-06unit test to verify basic mail merge layout for 2 pagesLuboš Luňák
Change-Id: I2172d0185a2481700ffe152e58ebd5bd9c6a4fab
2014-11-06properly discard dumped layout on test document (re)loadsLuboš Luňák
Change-Id: I8673810e8c04cd128a691ee1c1e8c4731108b605
2014-11-06make parseDump() properly handle xml node contentLuboš Luňák
Change-Id: Ibb8859908c8e73377e1ee20b041b9ae76955d076
2014-11-06basic test of mail merge workingLuboš Luňák
Change-Id: Ia72d1b2827bfb38ab39d7d0df04908874d25e124
2014-11-06do not register MM unittest databases with a prefixLuboš Luňák
Since that makes SwDBManager::IsDataSourceOpen() return false because of different data sources (than the one the document was tested with manually), which prevents DocumentFieldsManager::UpdateExpFlds() from updating fields properly. Change-Id: I66f5f79d9fd39204eabb247aa92ec11acef56903
2014-11-06make it possible to check mailmerge output files in unittestsLuboš Luňák
Change-Id: Ifa54445c8f46bb2ed5539870c5fce1a2e62beef7
2014-11-06do not repeatedly relayout mailmerge document after each changeLuboš Luňák
When mailmerge uses a single document for all the generated documents, doing a layout of this increasingly large document after every generated document addition was getting slower and slower (no wonder). My recent changes should have removed all needs for any layout in progress, so it should be enough to just once calculate the final layout. The final layout still appears to be needed, leaving it as it is to get layout done on the fly puts e.g. 2-page documents on wrong starting page (maybe just invalidating something would fix that). Debug build shows warnings from vdraw.cxx about moving anchor from an invalid page because of broken layouting, but those were there already before, so I assume those are not really significant (or at least made worse by this commit). Change-Id: I62601ad6dccaa008783d1ce34c9e4f66f9621a56
2014-11-06compute page offset for mailmerge based on source document rather than targetLuboš Luňák
This removes another need for doing repeated and expensive layouts of the target document. Change-Id: Id78bc3ccc71c17e42f858dc9660866b9c94dea3a
2014-11-06use bookmarks to mark mailmerge parts in a mailmerge document (fdo#80823)Luboš Luňák
Instead of page numbers, which - was somewhat fragile (and broken, as it was actually off-by-one) - required repeated re-layout of the increasingly large document, making mailmerge awfully slow. The re-layout is not removed by this commit, as it needs further checking whether it can be removed. See the bugreport for details. Change-Id: Ib09bd5f5a6a549c3d38ca40b0f32c0d2831fdd4c
2014-11-06drop XPersistObject support from SvNumberFormatsSupplierServiceCaolán McNamara
why should css.util.NumberFormatsSupplier support XPersistObject and need read/write support ? Change-Id: I62bc2fa3a0adef6cf5b7006f4e2bf3a9a157043d Reviewed-on: https://gerrit.libreoffice.org/12281 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-11-06sw: clean up namespace prefixes in SwXMLBlockImport.cxxMichael Stahl
Change-Id: I64716c9d087d1e9d3e76d14d555768af486e8982
2014-11-06sw: merge SwXMLBlockListContext.cxx into SwXMLBlockImport.cxxMichael Stahl
... so all the import is in one source file not 3 tiny ones. Change-Id: I239316ec54cab28a7af643372af33782f70e7040
2014-11-06fdo#85954: Improvements to Simplified Chinese (zh-CN) locale dataKevin Suo
Change-Id: I0ba08182f1c2b75a5b625f7858c23bcd8ba2dce5 Reviewed-on: https://gerrit.libreoffice.org/12284 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2014-11-06DOCX import: fix <w:tblW w:type="auto"/> handling when cells have fixed widthsMiklos Vajna
Commit 74c5ed19f430327988194cdcd6bdff09591a93fa (DOCX import fix for table with auto size, 2013-06-26) correctly recognized that in case the width type is auto, that doesn't always mean text::SizeType::VARIABLE. However, when the size is fixed, then we should simply not do anything, and that'll lead to the right behavior (by setting the column separators on each row), don't try to be smart and try to set TablePropertyMap::TABLE_WIDTH here. Change-Id: I997b88e5fa34bbabe7c6940879c81a1d62d69043
2014-11-06sw doc model dump: extend SwFmtFrmSize handlingMiklos Vajna
Change-Id: I8b246e198f3b19e65feffb196afdecb1755a0581
2014-11-07vcl: split asserts in VclBuilder::get() for fdo#85939Chris Sherlock
Change-Id: I41e9961ae797ac99fdfb1480e1a58dbe92178bb8
2014-11-06update suffixes in .gitignore for filtersCaolán McNamara
Change-Id: Ibf6093946ef1dec1a2ba202917da9e4562c10d3e
2014-11-06add a build-time regression test for pcd file formatCaolán McNamara
Change-Id: Ie413372ab1cfc7e38570fdf65c6daca8c2cc426b
2014-11-06coverity#1000834 Use of untrusted string valueCaolán McNamara
and coverity#706196 Use of untrusted string value coverity#1244947 Use of untrusted string value Change-Id: I5083aba2eff9e852a24513db431585922302b279
2014-11-06coverity#735645 Division or modulo by zeroCaolán McNamara
Change-Id: I03b8404f90b6a05189591d8e3423f32810057a47
2014-11-06coverity#1242693 Untrusted value as argumentCaolán McNamara
and coverity#1242727 Untrusted value as argument Change-Id: Ibb212c39f43bcd3f0e0ddf973d1512ed0d7c2fc6
2014-11-06coverity#1242570 Untrusted value as argumentCaolán McNamara
Change-Id: Ic79bd1931ee291746b6dae138b3181d4baddbe3e
2014-11-06coverity#1213366 Untrusted loop boundCaolán McNamara
Change-Id: Id5f2c8d199ffae4f23934ceb92184562d72c0b90
2014-11-06fdo#82038: senddoc, uri-encode got lost on MacStephan Bergmann
Change-Id: I2f104c64601b22ce3ef078295c7da3cb21a133f9
2014-11-06SwFrmDlg ctor: turn sRestype into an OUStringMiklos Vajna
In practice, currently possible values are ASCII, but then this string becomes part of URLs, which are in general no longer ASCII, and are OUStrings. Instead of trying to guess the encoding of the string we get, require callers to create an OUString right away. A follow-up commit could adapt SfxTabDialog ctor, SwFrmPage::SetFrmType() and SwFrmAddPage::SetFrmType() accordingly to avoid the new introduced OUStringToOString() calls. Change-Id: I087ed2bb341f5aca59e15e2ef4102556ca803363
2014-11-06Don't be too modern for MSVC2012Tor Lillqvist
Change-Id: Ibdee512a330d4520a32a56d2f1703dc2eab4981f
2014-11-06svl: remove unused codeNoel Grandin
Change-Id: I5a01162d2925eede97f1cdc24aa876179b8b43b4
2014-11-06use the new OUString::fromUtf8 methodNoel Grandin
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
2014-11-06Bin unused include files, thanks to Andrea GelminiTor Lillqvist
Change-Id: I848505b1d4ff03779b89a08d4aeefd6ea0ff205b
2014-11-06use %PRODUCTNAME in Windows registry keys of config filesAndras Timar
Change-Id: I532a1b059239b51009ea7025fb348dcd865748ff
2014-11-06Don't be too modern for MSVC2012Tor Lillqvist
Change-Id: I6f9049f6b5261f6099e97c7f10d6ab6ea7eaab9b
2014-11-06Try to get the SC_DLLPUBLIC placement rightTor Lillqvist
Change-Id: Iddf7cad771d271e848ba3abc1c144b9c313cdb99
2014-11-06coverity#983989 Uncaught exceptionCaolán McNamara
Change-Id: I7508ee67a10b43686600b41dd58c1a8a5aa90c51
2014-11-06coverity#983985 Uncaught exceptionCaolán McNamara
Change-Id: I0082d75aa2c00daa35d8d72e44fbb6da161f9774
2014-11-06coverity#983984 Uncaught exceptionCaolán McNamara
Change-Id: I6a166a1691e39e21a4d765ca7dd0a7fcfba8126b
2014-11-06Fix error: call of overloaded 'append(int)' is ambiguousTor Lillqvist
It is sal_Int32 that we want. Change-Id: Idbe34ff9c0f39ad73ed7df9185512921294b3b4e
2014-11-06Be more specific in warningTor Lillqvist
Change-Id: I96d5dc1267af714e78e431581592e75f0bff73f4
2014-11-06Resolves: fdo#76581 copy-and-paste -> slideshow crash in presenter consoleCaolán McNamara
crash started after... commit 0218b0e2fa510d7acd7413dbedefd9ad50257f76 Date: Mon Jul 15 19:45:44 2013 +0300 fdo#65457 - Provide visual clues in presenter view. Change-Id: I19d84800bd5924f2dcc9e5debcf18ef95577105c
2014-11-06Bin unused "description" labelsTor Lillqvist
Change-Id: I8710b698904d5c89644633bb53b78a95dcef7d7b
2014-11-06Fix non-dbgutil build where OpCode is sal_uInt16 and not OpCodeEnumTor Lillqvist
Change-Id: Ie88b0b23b7b6f688f920f5aadcf711ba15602686
2014-11-06D'oh, it's oor:separator. Thanks to dtardon for pointing it out to meTor Lillqvist
I guess it would be futile to expect some warning at run-time about an unrecognized attribute. Change-Id: I04ccaa6df8ec932f747384486174c1fd23eb110a
2014-11-06Bin unnecessary variablesTor Lillqvist
Doing .ui "manually" is not *that* verbose;) Change-Id: Ide50258174e86cc94975a33c5c0e5c663ae8d77c