summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2015-05-26loplugin:unnecessarysuperclass, merge IBlockCursor into SwBlockCursorNoel Grandin
Change-Id: I3c6c0d620cf7ffb11a9ca5e1025d91e59ef66c80 Reviewed-on: https://gerrit.libreoffice.org/15898 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-26convert SCROLL constants to scoped enumNoel Grandin
Change-Id: I5696fa39b2d032735cea7abe039349d4f83cf68d
2015-05-26convert INVALIDATE constants to scoped enumNoel Grandin
fixing a bug in Window::ImplMoveAllInvalidateRegions, and improving the IDL docs for XWindowPeer Change-Id: Idb774ac913945db2ac7c492c11cf86c370624c3d
2015-05-26remove the weak_ptrs on destruction tooBjoern Michaelsen
Change-Id: I65f5867c41417539a70eef15754988d9931394a4
2015-05-26now rename the new CreateUnoCrsr2 to CreateUnoCrsr, as the old stuff is goneBjoern Michaelsen
Change-Id: I82f8ed0560750d4f7bec71ea8bd3c8089b884da7
2015-05-26remove SaneOwnership distinctionBjoern Michaelsen
Change-Id: I0639a960916ffa30d7eaf865755e407f706e9f13
2015-05-26remove old SwUnoCrsrTbl and CreateUnoCrsrBjoern Michaelsen
Change-Id: I91e4c7f0e0231b7783affdce63c6ab395a4e219b
2015-05-26use new unocrsrs for SwXParaFrameEnumerationBjoern Michaelsen
Change-Id: I0b02b32b0852cc97d4ffcbafdd0405da64b2a9af
2015-05-26use new unocrsrs for SwXTextRangesBjoern Michaelsen
Change-Id: Id338cfff7bf266878f1287aa964f5e2674428e24
2015-05-26use new unocrsrsBjoern Michaelsen
Change-Id: I7d355e23209e94ce76961e15b6c77214a18edb4e
2015-05-26new unocrsrs for SwXTextPortionBjoern Michaelsen
Change-Id: If2cb4ca0b650e0f5188350763e4b5bbbb4a0dbb8
2015-05-26new unocrsrs for SwXTextCursorBjoern Michaelsen
Change-Id: I5932f75ee4814ca42f16d349094c7fa8bbb2ee63
2015-05-26new unocrsrs for SwXTextPortionEnumerationBjoern Michaelsen
Change-Id: I5c509d3e65a92824090930d10849b9b1b430971f
2015-05-26use new unocrsrs in SwGrfShellBjoern Michaelsen
- propably this should listen for ~SwDoc killing the cursor - but it didnt before, so leaving that out for now Change-Id: I1addaba3c7cc339b1e1dae1569418deae142a7d6
2015-05-26use new unocrsrs in SwXTextTableCursorBjoern Michaelsen
Change-Id: I7389794f1ca493a1f7e04c7b24d650223443bf7e
2015-05-26use new unocrsrs in other writer tablesBjoern Michaelsen
Change-Id: I0cc178da5ca2493cc50bf6582493790d6b4ba536
2015-05-26use new unocrsrs in other writer tablesBjoern Michaelsen
Change-Id: I61d8956135d65676b449637beb9d588cdc83b7d8
2015-05-26use new unocrsrs in SwXCellRangeBjoern Michaelsen
Change-Id: I8ab1c9c0329bdf3f6ac759012dbd0057f4463231
2015-05-26kill faux polymophic SwUnoCrsr::Clone()Bjoern Michaelsen
- SwUnoCrsr::Clone() is dead code that is never used - SwUnoTblCrsr::Clone() is the only implemenation that is used, in a context that assumes it to be a SwUnoTblCrsr anyway => make this non-virtual Change-Id: I28ddf314eda3d234f2a383bf386dfbe251966038
2015-05-26use new unocrsrs in SwXParagraphEnumerationBjoern Michaelsen
Change-Id: Ia57a04e617b1d7301d098524ebb55acd1d0e60b3
2015-05-26use new unocrsrsBjoern Michaelsen
Change-Id: I038b5729d86a97f2da0e2e25b0a96cb54cfbb17e
2015-05-26some more assertsBjoern Michaelsen
Change-Id: I94a6d0303989e499026be151cc71777b8e944dd2
2015-05-26CntntIdxStore should also handle new unocrsrsBjoern Michaelsen
Change-Id: I37a120f891a07acdc467d0197d112139ec9b8c01
2015-05-26use new unocrsrs in accessBjoern Michaelsen
Change-Id: Ice2bb4fae03efba1f516859c2f129c3442f3b85f
2015-05-26use new unocrsrs in sw/qaBjoern Michaelsen
Change-Id: I05e74a2bc813a67d6a4a0427780f5975d7359084
2015-05-26use new unocrsrs in SwChartDataSequenceBjoern Michaelsen
Change-Id: Ib49bba8a948e2f51c590bd27c9a98e7348180bbf
2015-05-26use new unocrsrs in ww8Bjoern Michaelsen
Change-Id: I7f19c4002f471981b75b88998b31afcd4f30fa8c
2015-05-26make SwNavigationMgr use the shared_ptrBjoern Michaelsen
- also make it listen to at least one of the SwUnoCrsr it keeps on the heap for document disposing. - as the SwNavigationMgr lives longer than the document this was actually a double free before: first from SwUnoCrsrTbl dtor an then from the shared_ptr in SwNavigationMgr Change-Id: Ia75ad81a978ca37ed2a94fd221427b62e99e1bb3
2015-05-26remove unconditionally dead codeBjoern Michaelsen
Change-Id: Idf092ad98ac029eda11fa9b925cf7a99bf3c5167
2015-05-26use new unocrsrsBjoern Michaelsen
Change-Id: Iedf1cd45d058dd6820e570bbb345eb56d8830814
2015-05-26handle PamCorr also with the new containerBjoern Michaelsen
Change-Id: I2eeb8dbe06d36c2882f443a2bc27bea54b97e3c7
2015-05-26introduce CreateUnoCrsr2 to migrate to sane memory mngmtBjoern Michaelsen
Change-Id: Ia530827daa354555983c3c28c5aeec38bc3dbf11
2015-05-25loplugin:unreffunStephan Bergmann
Change-Id: Ib7311448e15d23b041ebb4552df80046523a32f2
2015-05-25Audit all PostUserEvent calls and instrument for VclPtr.Michael Meeks
Hold a reference on the VclPtr while we're waiting for the UserEvent. Change-Id: I55c2671ca12eb14761c6a7dffd551af71547ecbd
2015-05-25fix assert on export of ooo40760-1.sxw to docxCaolán McNamara
and a pile more Change-Id: I7334233c789bb0ed7a60387ef7d84dd34ab5a187
2015-05-25remove some unnecessary casts and convert some to const_castNoel Grandin
Change-Id: I590a87c832bc59947ae04e52d3ac5ea71574bb11 Reviewed-on: https://gerrit.libreoffice.org/15888 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-05-25Var starts with r but is not referenceCaolán McNamara
Change-Id: I3458b4d8f4f28d38a1b1a979544412d1e526dec4
2015-05-25convert WINDOW_ZORDER constants to scoped enumNoel Grandin
Change-Id: I91a583fe7d4195ee6bc73b4854f757517b38408b
2015-05-25AutoCorrect: direct replacement of keywords surrounded by colonsLászló Németh
Replacing immediately (without pressing space or enter) and inside words, too. For example, fixing tdf#55292 – complete input method for n-dash, m-dash – is possible now by :--: -> n-dash, :---: -> m-dash AutoCorrect replacements. Change-Id: I54462d7482838523a47b844da6a84f08a1518b07
2015-05-25Simplify loopMatteo Casalin
Change-Id: I9c61e8b1d8552be25c3c78757b280b388cb98694
2015-05-25Fix whitespaces/indentationMatteo Casalin
Change-Id: I84a9e136b9c463ae794f5ddcbb211707672f170d
2015-05-25Rework code to avoid an assignemnt just to fail next if()Matteo Casalin
But keep the test itself, just to play safe Change-Id: I0b58fa8ea25fbb577a3f9c1f2dbf0ad6d5004e2c
2015-05-25Use size_t consistently for GetFldTypeCount/GetFldType/RemoveFldTypeMatteo Casalin
Change-Id: Ie88af20e20f788c0d8b53f99da3decd98dec5078
2015-05-23tdf#90315 RTF import: fix \colsx default valueMiklos Vajna
See SectPageInformation::mnColsx on the libreoffice-3-6 branch + the spec agrees, too. Change-Id: I6f70a125f8d962621f319e3e75e2865e5f126859
2015-05-23tdf#91368 - micro-optimization for over-used method.Michael Meeks
Change-Id: Ia43d66230ef3118d2f23c2e6ba8eb0a081ab6b93 Reviewed-on: https://gerrit.libreoffice.org/15878 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-05-23tdf#91438 Rename uno commands in toolbar xml and fix iconsYousuf Philips
Change-Id: Iabb6812e45d00f9dbee8d938225f26397e9120ba Reviewed-on: https://gerrit.libreoffice.org/15882 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2015-05-23tdf#91429 do not convert ooxml preset shape modifier valuesAndras Timar
Revert "Resolves: #i124703# adapt coordinate range from ms relative..." This reverts commit c764a3d978beb2e6197a8d3f7df53d81ebf72467. The reverted commit did not fix anything in LibreOffice in the first place. The document referenced in #i124703# is as good without the patch as with it. But it caused a regression. Conflicts: oox/source/drawingml/customshapeproperties.cxx Change-Id: I65eb114423039e9c9c684cc55009275fd06caacd Reviewed-on: https://gerrit.libreoffice.org/15875 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-05-23SwView::UpdatePageNums: add LOK callback about page count changeMiklos Vajna
Change-Id: If9ab69c9f3ec3f9f518738792ff020ef4cfd6390
2015-05-23pass RenderContext into writer paintingTomaž Vajngerl
Change-Id: Ib2d986d05dc7db1b65ed29ea295807d6f20cea4a
2015-05-23tdf#90882 Add table insert uno commands to menu bar and fix labelsYousuf Philips
Change-Id: I4f5f2daeb27b8ba486abc685e42596030de6d2d1 Reviewed-on: https://gerrit.libreoffice.org/15863 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>