summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2015-02-22Typo: resonable->reasonableJulien Nabet
Change-Id: Ia6737e7cf88b54be80db39937595105ff0e0d2b3
2015-02-22Typo: aditional->additionalJulien Nabet
Change-Id: I7db230949a97da28c60101d8cce1e30fbc08535c
2015-02-22Simplify erase iterator management (DocumentContentOperationsManager.cxx)Julien Nabet
Change-Id: Ib9f71832ad12449a73ae803bf7219c2e1c93f086
2015-02-22Extract SwRangeRedline::dumpAsXml() from SwRedlineTblMiklos Vajna
Change-Id: Ia0eea8a0c4ef7a8297da185d8187017e76bea422
2015-02-22-Werror,-Wunused-variableZolnai Tamás
Change-Id: I4c98d863b16ab057aa7d99c78fea1eb51935fc47
2015-02-22ChgTwipSizeFromPixel flag is uselessZolnai Tamás
It is used only to make the same conversion on a different way. GetGraphicSizeTwip() also returns the size in twips. Change-Id: Ic532341ab37c86a63792c82bf3a5fb2e3d8d0e67
2015-02-21Disable more tests with _use_library_objects for mergelibsMatúš Kukan
Change-Id: Iad803091864fb1a1a974df7c8eea6dba566d186c
2015-02-21Extract SwRedlineTbl::dumpAsXml() from docnodeMiklos Vajna
Change-Id: I336d7875bbd88dd1993993e0e049c264b87f2318
2015-02-21Use more proper types and range-for loopsMatteo Casalin
Change-Id: I90b71a5abbca19d9b5eaf2ded2f33b01fb775d3a
2015-02-21SimplifyMatteo Casalin
Change-Id: Iabfbe854f97b92127f1118b0982be39c4d0a2b8b
2015-02-21Directly return the needed SwTxtNode* instead of its indexMatteo Casalin
Change-Id: Ia5df160a21ff4c6f5f526945c6b90a974a88c011
2015-02-21SwOutlineNodes are already availableMatteo Casalin
Change-Id: I384308ebffcdbc6df0ee752339dd49957f7d4bbb
2015-02-21Do not compare OUStrings twiceMatteo Casalin
Change-Id: I94f7cecf5b39c1f03b9f10a13b5efa63bb06ced8
2015-02-21Use more proper integer types and range-for loopsMatteo Casalin
Change-Id: Ic530e11248955133804f8d400eaef80fe33c1779
2015-02-21Use more proper/automatic integer types and range-for loopsMatteo Casalin
Change-Id: I188dc79dbba234b844e7c047ccc186d99c214ac7
2015-02-21Reduce temporariesMatteo Casalin
Change-Id: Ie819ed8835ec30b99186d34382d6cd3e63532865
2015-02-21Use more proper/automatic integer types and range-for loopsMatteo Casalin
Change-Id: I3ef0f9cc7c116cf7437df7645d05cc494a452ba3
2015-02-21Use a vector instead of manual memory allocationMatteo Casalin
Change-Id: I506d48b944cc3d53347aad669119a78a47559c4d
2015-02-21Use more proper typesMatteo Casalin
Change-Id: I548370202d81abe0348a082da0d321260aa8cd37
2015-02-21Use more proper types/range-for loops, reduce scopeMatteo Casalin
Change-Id: I2749ce16f870fb7af2dea23452bec0ec7f8de625
2015-02-21Use range-for loopMatteo Casalin
Change-Id: I1a4c031cb1d65dbdb4f9290997eb65e7738df1d3
2015-02-21Avoid unnecessary OUString copiesMatteo Casalin
Change-Id: Idd61ad459103f35e7a5094c112eb3294fedb7f90
2015-02-21Reduce scope of some variablesMatteo Casalin
Change-Id: Id7a6280bed69059980d5b8f46c80e9dc4a290bba
2015-02-21Use more proper integer types and range-for loopsMatteo Casalin
Change-Id: I2c3dbad8037a1d7d2d3e0fdb161d1c652f49ec47
2015-02-21Use more proper integer typesMatteo Casalin
Change-Id: Ibba87aacffc78a80c48c6af0d5cb3e52f49b756c
2015-02-21Use size_typeMatteo Casalin
Change-Id: I4b4e88d87d96b39186afab1082e5945f441260fe
2015-02-21Simplify loops and reduce scope of some variablesMatteo Casalin
Change-Id: I55f0044606a75e79d51dd40976f1492ec797b531
2015-02-21Use size_type instead of sal_uInt16Matteo Casalin
Change-Id: I7d6762f2bf7aec15255288d356ad59d161b03dfd
2015-02-21Typo: paragaph(s)->paragraph(s)Julien Nabet
Change-Id: I3d82703a59ec749b723d62b15a36937b61156874
2015-02-21Typo: curor/cusor(s)->cursor(s)Julien Nabet
Change-Id: I5bcb2f1a05cef4a914b20f04a1ca1d8054e14542
2015-02-21Typo: deleteing->deletingJulien Nabet
Change-Id: I2bdde7524a97039c94a8da5ac5d2eba38c91d71a
2015-02-19coverity#1270937 Unchecked dynamic_castCaolán McNamara
Change-Id: Ibc6e54bf7f907ae1c500be5c67995419c91aa089
2015-02-19allow generated, unique frame name to be savedJustin Luth
The document in tdf#77122 shows that frames can exist without a name. Going to frame properties showed "Frame1" as the name for each frame, and pressing OK didn't "set" this suggested name - the name remained blank. An alternative fix is removing "pNameED->SaveValue();". However, this approach seems safer. Change-Id: I1ed9d67442d55f2c481e6e4b35a876721a835522 Reviewed-on: https://gerrit.libreoffice.org/14548 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-19sw: nAnz -> nCountMiklos Vajna
Change-Id: Ia8c237009634eb0c750db42da4f68a31d40c5368
2015-02-18TyposJulien Nabet
Change-Id: I845a85e1aad4a0708f2b43f7d94606b4b5513ee4
2015-02-18boost->stdCaolán McNamara
Change-Id: I412137e7e7b9b2b87f401bc140a9499d1fc012c6
2015-02-17asan: failure to load tdf#55620 attachment under asanCaolán McNamara
still loops in layout though how am I *still* finding bugs in this thing Change-Id: I048595956516b9acfc60e90c64180b904d6cc1d7
2015-02-17boost->stdCaolán McNamara
Change-Id: I8371b942d915f777a29ca01cd0aed674db0ca853
2015-02-17assert on laying out fdo#82018-3.docxCaolán McNamara
Change-Id: I325cd7ff03468009d06c886f800bd12e3acce976
2015-02-17tdf#82661 SwFrm::PaintBackground: handle fill attrs when comparing backgroundMiklos Vajna
Regression from 7d9bb549d498d6beed2c4050c402d09643febdfa (Related: i#124638 Second step of DrawingLayer FillAttributes..., 2014-06-02), should be good enough till SdrAllFillAttributesHelper gets its own operator ==(). Change-Id: I03f847bc1589e3771790427d9894cc330a7b8dc6
2015-02-17tdf#89085 Edit page break does not open proper tabRishabh Kumar
Current Behavior : opens a random tab Expected behavior : open Text Flow tab Change-Id: I4bbd9dcf2bbbb237d5d70ef07b88f40be9681e7a Reviewed-on: https://gerrit.libreoffice.org/14486 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-16we shouldn't need a static ref in these createOneInstance factory helpersCaolán McNamara
at least not to ensure that they are singletons anyway Change-Id: I08176afa67ac5f8e4f479b70ca5d71c52d0bb9af
2015-02-16tdf#80715: fix infinite loop in find-and-replace if SwTxtNode fullMichael Stahl
In a regex searching for "$" to remove the paragraph break, sw_JoinText() may fail to join the nodes because the maximum size is reached; in this case the cursor has to be moved to the next node, otherwise the search will be stuck on that node forever. This would fix the problem in LO 4.2 but it's actually rather harder to trigger in 4.3+ because the 16-bit size limit of SwTxtNodes is gone. (regression from b60ce8465c8f01242354abccebe00742d164af60) Change-Id: Ie047cad37835adf95afe0d12b94a16ff4aecb17a
2015-02-16sw: test case for search-and-replace bug fixed by commit ...Michael Stahl
... b60ce8465c8f01242354abccebe00742d164af60 Change-Id: Iba1a059b3aeb5b2266398d80e6995f98fd580f14
2015-02-16sw: work around buggy boost::intrusive::circular_list_algorithms::unlink()Michael Stahl
Boost is clearly following the C++ tradition of surprising omissions. Change-Id: I205ef17f87b176da938ebfa3e1a0748e94605daf
2015-02-16(related: tdf#80715) sw: fix Ring::MoveTo() not doing anything...Michael Stahl
... if the parameter is currently in the same list. The "boost::intrusive::circular_list_algorithms::transfer" has a precondition that the 2 parameters must not be in the same list. This causes an infinite loop in SwFindParaText::Find(), which is hiding the infinite loop that i'm trying to debug... While at it, remove some unnecessary complexity. Change-Id: Ib41f52c6d5c44ecc358c6170ee1e6e98729e1302
2015-02-16sw: RingContainer::merge(): assert that the Rings aren't already linkedMichael Stahl
The function would un-merge them in that case, which is just a little bit surprising. Change-Id: Ife1d572635b812d3ff5b9f93c1ddf1954e12aca5
2015-02-16MM: don't read column content twice to fill SwCalcJan-Marek Glogowski
Currently we fill the SwCalc dict twice via lcl_GetColumnCnt and GetMergeColumnCnt. This also drops the unused nFmt argument from GetMergeColumnCnt. Change-Id: I2f7fd1578353e919209002c0c3040adc14b08528
2015-02-16WaE: unused function 'lcl_getLayoutRect'Tor Lillqvist
Change-Id: I1892d6c0c0466eea266b653f0b5907236cb84624
2015-02-16remove debugging spewCaolán McNamara
Change-Id: I8652e7fb41bce932afa418cedfab308f03379040