summaryrefslogtreecommitdiff
path: root/editeng
AgeCommit message (Collapse)Author
2014-02-13coverity#738003 Uncaught exceptionCaolán McNamara
Change-Id: Iddb64e592ae47dd5f22430778b8018fc8c9880c5
2014-02-13fdo#74141 :In <w:ind> Right margin gets added even if not present in orig doc.Tushar Bende
There was a problem that in style.xml and document.xml in <w:ind> tag "right" & "left" margin attributes gets added(w:right=0 & w:left=0),if these attributes are not set in original document. (In this case LO should not write these attributes in <w:ind>) eg. if original doc has implicit right and left indentation values set(In style.xml) and there is no explicit values provided for some para (In document.xml) still it used to write w:right=0 and w:left=0 in <w:ind> tag of document.xml which overrides an entry from style.xml. XML difference : - Original file: <w:ind w:left="567" /> - Roundtrip file Before Fix: <w:ind w:left="567" w:right="0" w:hanging="0"/> - Roundtrip file After Fix: <w:ind w:left="567" w:hanging="0"/> Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Reviewed on: https://gerrit.libreoffice.org/7816 Change-Id: Ifa01bae24d48bb38d5e255356247c46a43beefcc
2014-02-13coverity#707769 Uninitialized pointer fieldCaolán McNamara
Change-Id: I449173ea1c4418cc2cc978862fe465e33e7b4338
2014-02-13coverity#737095 Uncaught exceptionCaolán McNamara
Change-Id: I65ca622983ced4645d97c3d7e0bcde94a46618c3
2014-02-13coverity#737093 Uncaught exceptionCaolán McNamara
Change-Id: I48bbdc7fe2c6ac60ba9630565c1844a2a24b7ad0
2014-02-13coverity#737091 Uncaught exceptionCaolán McNamara
Change-Id: I2d3df586f9579abcf42bd5a915d1e2e12017345d
2014-02-13coverity#737088 Uncaught exceptionCaolán McNamara
Change-Id: I88faa8bb4401e026ce28f8bf08fcc0514c04bdcf
2014-02-12more SvStream:operator>> conversionNoel Grandin
Convert the template based read_lenPrefixed methods to regular methods. Change-Id: Ifd0e93aca055e55a0575e4377ec2b8e266dfb019 Reviewed-on: https://gerrit.libreoffice.org/7895 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-12convert SvStream::operator>> methods to ReadXXX methodsNoel Grandin
First, I updated the clang rewriter to do the conversion. Then I lightly hand-tweaked the output for the few places where the rewriter messed up, mostly when dealing with calls on "this". Change-Id: I40a6a977959cd97415c678eafc8507de8aa3b1a9 Reviewed-on: https://gerrit.libreoffice.org/7879 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-12cid#705996 unintended sign extensionNoel Grandin
Change-Id: I07f357b069bd8ae31049f049163c0e20e7361f79
2014-02-12cid#982633 missing break in switchNoel Grandin
Change-Id: I20a5a0bd859b0df40a051dbb1894a9d8adfa521d
2014-02-12cid#982362 missing break in switchNoel Grandin
Change-Id: I132527f5e403721988ae8e1d60f181f3d3241810
2014-02-12sal_Bool->boolNoel Grandin
Change-Id: Ie477a46fae2b8c4deb55435f3769ba74037dd259
2014-02-10coverity#705995 Unintended sign extensionCaolán McNamara
Change-Id: I7f14257317c0c09737ad9aed78b39efff1062265
2014-02-10A little simpler.Kohei Yoshida
Change-Id: I684317003a7afee4154fe39098ced7ba27bdff2f
2014-02-10fdo#46707: Don't bother with synonyms for text with mixed script types.Kohei Yoshida
Change-Id: I7922905523406d05f864b10e1ecfd27f3fb5f9d6
2014-02-09coverity#1169806 Operands don't affect resultCaolán McNamara
Change-Id: I8c219ae3b1adcc615d75a61afba9414eb8acdc22
2014-02-09coverity#1169807 Operands don't affect resultCaolán McNamara
Change-Id: Ie96de8af75be60435f00593ca33d1dff2f42a02c
2014-02-09coverity#1169808 Operands don't affect resultCaolán McNamara
Change-Id: I95a3c09056a00a6839f25ecf54acc15e366cc360
2014-02-09coverity#1169827 Explicit null dereferencedCaolán McNamara
Change-Id: Iaca51f3795341c1c834772abba340501b3fc60a3
2014-02-09coverity#1169828 Explicit null dereferencedCaolán McNamara
Change-Id: Iad58bc1f5295bdaaff4ba17e70cb3aa4d5fc5aca
2014-02-09coverity#1169834 Mixing enum typesCaolán McNamara
Change-Id: Icd0735a60cb5986af85917e37efcfae591bfe3e1
2014-02-08fdo#74363: fix auto correct of initial capitals on start of first paraMichael Stahl
The GetPrevPara() method apparently has to return 0 when there is no previous paragraph. (regression from ac85b6cff11d193f5f71d11b1f3cc1c474653f59) Change-Id: I09a3e1d3a3adb33562e4e03c0755447047cbd433
2014-02-06WaE: implicit conversion of NULL constant to 'boost::detail::sp_nullptr_t'Tor Lillqvist
Change-Id: I01d9123fcad19aa84a41eb990fb65954314a4802
2014-02-06Remove LookupTree as it is replaced with Trie.Tomaž Vajngerl
Change-Id: I7611c5307e4d4e925dc3e54c6b3f2d1a47bd9080
2014-02-06Add getAllElements (strings) for Trie.Tomaž Vajngerl
Change-Id: I9603cc51545f72fdb0854f2d76e2326706329000
2014-02-05coverity#707768 Uninitialized scalar fieldNorbert Thiebaud
Change-Id: I47b507d4e256572f879bab72cf99f007bb2df771
2014-02-05coverity#707765 Uninitialized scalar fieldNorbert Thiebaud
Change-Id: I35194385cc2f5d02a93ade0e8ab40fb77eba7e6e
2014-02-05coverity#707764 Uninitialized scalar fieldNorbert Thiebaud
Change-Id: Ibbd13e15b6aca33a8c9050dd0d9f210e64e85e3e
2014-02-05coverity#707761-62 Uninitialized scalar fieldNorbert Thiebaud
Change-Id: I9ebd8df6e510640e511a61332ab1d712b68c40ca
2014-02-05coverity#707757 Uninitialized scalar fieldNorbert Thiebaud
Change-Id: I3956259474b100d0d14d500f9528b04125e0d169
2014-02-05coverity#707756 Uninitialized scalar fieldNorbert Thiebaud
Change-Id: I9985284e852ddc3b29d75cdf0b8969c2a8cecb9a
2014-02-05coverity#707754 Uninitialized scalar fieldNorbert Thiebaud
Change-Id: I4de0a0857ce87266c3f3c4993efc45b12539156c
2014-02-05Remove a now unneeded cast (xub_StrLen and tools/string.hxx removal).Andrzej Hunt
Change-Id: Ic45b3c572483aa0292c227274565a1750dd51f17 Reviewed-on: https://gerrit.libreoffice.org/7854 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-05Get typed text inside cell (in Calc) to display again.Kohei Yoshida
This also fixes non-displayed text box contents in Draw / Impress. Change-Id: I49d022ea71df398a70d1dc65eeb122c9a6373b27
2014-02-04convert specialised SvStream::operator>> methods to ReadXXX methodsNoel Grandin
as preparation for converting the SvStream::operator>> methods on primitive types Change-Id: I62f134bced15c687d6e0d46924f56e8d1c3d95b9 Reviewed-on: https://gerrit.libreoffice.org/7798 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-02-03cppcheck: Clarify calculation precedence for '%' and '?'Julien Nabet
Change-Id: Idf3c4f31f9abd974d623d4a1cf08eeb167e1ef25
2014-02-03WaE: sal_Int32 format mismatchesTor Lillqvist
(Do we really need this ancient debug code writing to a /tmp/debug.log / d:\debug.log ?) Change-Id: I005b938e95d963bc3b6a2d0d1d11352623b7c2e1
2014-02-03xub_StrLen and tools/string.hxx final strawNorbert Thiebaud
Thre is still some 0xffff limit left and possibly some less than gracefully handled overflow/error cases Change-Id: I00957ee3a30b02f73918ea49d7353056263dc638 Reviewed-on: https://gerrit.libreoffice.org/7787 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-02-02fdo#54938 Convert bridges, editeng and others to cppu::supportsServiceAlexandre Vicenzi
Change-Id: I7ff5189473c3e0831c2f1e95264d1a04f3b716a9 Reviewed-on: https://gerrit.libreoffice.org/7761 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Marcos Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Souza <marcos.souza.org@gmail.com>
2014-01-29coverity#1158124 Dereference after null checkCaolán McNamara
Change-Id: Ifc2d668b4dda3bc6f8a1aec97a2b9031d3cbd2e9
2014-01-29This has only converted the condition of ?: to longStephan Bergmann
...not the resulting value, since 9ad0aa90fa5cf8c3b3e6a42bd9a0172b4cf75a47 "#80304# More improvements for vertial writing," but seems unnecessary anyway. Change-Id: Ifb86e51970cd32a1933541c75fe5d1d8f8b9f05b
2014-01-29Resolves: #i123228# ParagraphData symbols shouldn't be required...Herbert Dürr
for outlobj.hxx users Avoid the ParagraphDataVector default constructor in the editeng/outlobj.hxx header. ParagraphData symbols are not DLLPUBLIC so they are not available outside of editeng. When inlining is disabled (e.g. for debugging) this may break the build as observed when building svx in debug mode on Solaris. (cherry picked from commit 2738b2ea2df22759f32b687d08fd6868b425760e) Change-Id: I0a8250fe3d61819217c913949dfa20a902b3e397
2014-01-28coverity#1019409 : Uninitialized scalar fieldNorbert Thiebaud
Change-Id: I54c360fbdb2d7eed786ff7e7566d6ebe12ed833c
2014-01-28Following cp#1000025Julien Nabet
Change-Id: I7d005fdd67e479852e9869332d3976b4a7095c29
2014-01-28bool improvementsStephan Bergmann
Change-Id: If99daef91a41036a5b8dac1e53ab68e928b0b710
2014-01-28Apparently missing "nPos <"Stephan Bergmann
Change-Id: Id334f044d475de7ef14503e1a45190a0021d58be
2014-01-27cp#1000025: Import casemaps from pptx.Muthu Subramanian
Note: This only imports it and it may not be even possible to export (even to othe formats). Change-Id: I8e104f1bc3a95c42ac932b6ab58365dc113fb2e0
2014-01-26long to sal_Int32Matteo Casalin
Change-Id: I03c3d93c03239ae39bb3078ffabe71276ec37d25 Reviewed-on: https://gerrit.libreoffice.org/7658 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-01-22remove SvStream::operator<< methodsNoel Grandin
.. and convert the last few places still using those methods. Change-Id: Id2cd8f9c0dd281df43af439d4fef65881f34a6fd Reviewed-on: https://gerrit.libreoffice.org/7495 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>