summaryrefslogtreecommitdiff
path: root/sw
AgeCommit message (Collapse)Author
2015-11-13sw: prefix members of SwTextIterMiklos Vajna
Kendy says this helps his latest changes to the bin/rename-sw-abbreviations.sh script. Change-Id: I95d82c5e8d69360e82154fa0390a6b2d1b9bf5d4
2015-11-13sw lok: fix blinking cursor position of commentsMiklos Vajna
With this, it is possible to click inside a comment (and get a blinking cursor inside a comment), and also possible to use the arrow keys to native around and still get correct blinking cursor position. Change-Id: I29eb1e60e4e571151f0b18bec8cf765ea09af09f
2015-11-13sw: loplugin:badstatics: convert static SwViewShell::mpReplaceBmpMichael Stahl
... and mpErrorBmp to actual members (not just in name only). Change-Id: Id02553451f1990dbc111e9c842247764bf7554bc
2015-11-13sw: loplugin:badstatics: actually these are harmlessMichael Stahl
... but there's no point in them being static either. Change-Id: I49931289560da9de7a2e79577e525872d316cc4e
2015-11-13sw: loplugin:badstatics: remove static SwView::m_pSrchDlgMichael Stahl
... and associated copypasta Change-Id: I59a34da48727c84953ed460c11718d261fc3c5a1
2015-11-13sw: shove 2 global variables into SwHyphIterMichael Stahl
Change-Id: I0cb6112b0353a5fd0b4dd571d65f2d656e39ba74
2015-11-13sw: rename some more global variablesMichael Stahl
Change-Id: I6f4d0bb57c5d82984ff29b621dc4570f453be31d
2015-11-13sw: rename some global variablesMichael Stahl
Change-Id: I6520e47198a3da4e72fc77c6a6955afac410c7fa
2015-11-13sw: don't show main cursor when editing a postitMiklos Vajna
This is primarily for tiled editing that doesn't know about multiple cursors, so if both the postit cursor and the main cursor is shown for a short period of time, then the main one is hidden, then gtktiledviewer still shows the main one. OTOH if we can avoid showing the cursor in general just to hide it a bit later in general, let's not do that. With this, the "cursor is shown at the comment anchor, not inside the anchor when clicking on the postit" bug disappears. Change-Id: I2383292c5f84604dc8b126510b0797b8426920ae
2015-11-13sw: prefix members of SwIdxFormDlgMiklos Vajna
Change-Id: I8da7fbf28b115d809ebdb8b10532455f0fc871d7
2015-11-13sw: prefix members of SwXMLTableContextMiklos Vajna
Change-Id: I3c6bf5f4e56a60f2d869844b7c006eb8d6948e73
2015-11-13sw: prefix members of SwLabPreviewMiklos Vajna
Change-Id: Ic4c9b6309aee6be51aa0b20a26e6dc28930a9879
2015-11-13sw: prefix members of SwParaPortionMiklos Vajna
Change-Id: Id7d181c46b8504dbd8c82dd89009ef74015cc396
2015-11-12loplugin:stringconstantStephan Bergmann
Change-Id: Ibead5179a353e7698d649bf20d0f7d13d4641136
2015-11-12sw lok: forward key events to annotation window if necessaryMiklos Vajna
And to allow proper reaction by the annotation windows, inform them when a LOK callback is registered. With this, it's possible to modify the contents of annotations via LOK. Change-Id: I4489941512197880940e20cbaeb0b47a7a6f26fc
2015-11-12tdf#89714 - enable Widow/Orphan in default styleJustin Luth
For new Writer documents only, turn on the widow/orphan settings. This has been the default in MS Word since at least 2003. Change-Id: I1e873e7e4f0eac5e558732444594ef84e9ffe6c7 Reviewed-on: https://gerrit.libreoffice.org/19794 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-11-12loplugin:nullptrStephan Bergmann
Change-Id: I8df633d53d3669b073dd20b631adc50570a066dd
2015-11-12sw lok: route SwEditWin::MouseButtonDown to SidebarTextControl if necessaryMiklos Vajna
LOK sends all mouse events to SwEditWin, so add initial hit testing in its mouse handler to forward the mouse events to the right VCL widget. Change-Id: I67e8e19f47156261fd7c7eafd4e63f743e0c4ce9
2015-11-12two methods with the same name that do slightly different thingsCaolán McNamara
depending on constness is a little worrying, lets just use different names Change-Id: I3e7ca96c8c7dc8d58a7415d39b937984961aa619
2015-11-12SwPageFrm::MakeAll RefactoredAshod Nakashian
Browser and Hide Whitespace page height now use SwPageFrm::GetContentHeight, which is const. A few improvements are done for both paths as well. Change-Id: I73a8e920ccfa96d76cbbb002bed6a85f2e636ede Reviewed-on: https://gerrit.libreoffice.org/19730 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-12bin/rename-sw-abbreviations.sh run to fix few re-introduced abbrvtns.Jan Holesovsky
Change-Id: I11d282c3be86feb57f5279220d84d8a121df0dbd
2015-11-12sw: prefix members of SwViewOptionMiklos Vajna
Change-Id: Ia86aac05e67990bd47400dc7aabbedde278e4fd1
2015-11-12sw: prefix members of SwFrmPageMiklos Vajna
Change-Id: I09a62466ea6b779c7589667f379e67d51890e7b4
2015-11-12sw: prefix members of SwLayActionMiklos Vajna
Change-Id: I5f30071bfe4f429a6ce7b2e79e4f1330b73e1e88
2015-11-12sw: prefix members of SwXMLImportMiklos Vajna
Change-Id: I7e28a5c2a0d7d03de13b673c23f2ed5467d99389
2015-11-12WaE: loplugin:literaltoboolconversionTor Lillqvist
Change-Id: Id953a15b3d6167a2983500d21a215662415bc074
2015-11-12coverity#1338595 Dereference before null checkCaolán McNamara
Change-Id: I8f23fb4fe51f64a82e58dcc150aeca964ac6af38
2015-11-12OSL_ENSURE followed by unconditional dereference -> assertCaolán McNamara
Change-Id: Ife08acfd0defbed7f09a3b8dce089f61b0d7e11c
2015-11-12dynamic cast followed by static castCaolán McNamara
Change-Id: I22a2123265da9d6808d9fd1bcb44666810a9311e
2015-11-11sw lok: fix sidebarwindows::SwSidebarWin pixel positionMiklos Vajna
So SwSidebarWin member functions don't get twip values when they call GetPosPixel(). Change-Id: Ied4ff7f49d0320766b045d78f731900af92d37ef
2015-11-11Resolves: tdf#95321 tables in headers/footers with wrong contentCaolán McNamara
Change-Id: I937ed893dfd9919bf48b8fd38a1b83c524200532
2015-11-115th step to remove tools/rtti.hxxOliver Specht
tools/rtti.hxx removed completed the interface of some Sdr.* Items and removed pseudo items Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a Reviewed-on: https://gerrit.libreoffice.org/19837 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-11-11Implement LOK_CALLBACK_MOUSE_POINTERAndrzej Hunt
Change-Id: I8d1f63208baf277b0a9d15908f3ea7ff3b56bf10 Reviewed-on: https://gerrit.libreoffice.org/19883 Reviewed-by: Andrzej Hunt <andrzej@ahunt.org> Tested-by: Andrzej Hunt <andrzej@ahunt.org>
2015-11-11Avoid a default parameter that was under-used anyway (loplugin:defaultparams)Tor Lillqvist
Change-Id: I845e2ceab1cf35a021eea23632291111c8f43362
2015-11-11tdf#85232 WPG import: fix handling of line shapesMiklos Vajna
The missing convertMm100ToTwip() calls mispositioned the line shapes inside the groupshape in case of using drawingML inside DOCX files. Change-Id: I0c9d652de43d779f9073a8bfe22866ce4f31d0fa
2015-11-11sw: prefix members of SwFrmAddPageMiklos Vajna
Change-Id: Id4a5a5794ff03a88922df7fd1dcba75ed601dd59
2015-11-11sw: prefix members of SwWW8StyInfMiklos Vajna
Change-Id: I2749607eb2271a838acb8220c80d9363d8e8d867
2015-11-11sw: prefix members of SwTOXDescriptionMiklos Vajna
Change-Id: I6189595cf20e371f29de8709abb742737bf5a770
2015-11-11sw: prefix members of SwRedlineAcceptDlgMiklos Vajna
Change-Id: I88954e88dce974a657575a23706d7ee9542ab530
2015-11-11new loplugin: memoryvarNoel Grandin
detect when we can convert a new/delete sequence on a local variable to use std::unique_ptr Change-Id: Iecae4e4197eccdfacfce2eed39aa4a69e4a660bc Reviewed-on: https://gerrit.libreoffice.org/19884 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-11Replace several for_each by range based fors and functors by lambdas in sw.Mario J. Rugiero
It also corrects one whitespace and an outdated comment. Change-Id: Ife1c45d42b059353d3c98d68518d44a1379a96fa Reviewed-on: https://gerrit.libreoffice.org/19899 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-11another missing SolarMutex in Writer UNO: SwXCellBjoern Michaelsen
Change-Id: I1c8413cd0b9baa7f38e452e94f33e29bc4cf6717
2015-11-11remove b_mInDocDTOR flag altogetherBjoern Michaelsen
Change-Id: I09ca56854f23fe1fc452648042990bee29082f88
2015-11-11reduce branch depth in SwModify dtorBjoern Michaelsen
Change-Id: I82046cfc191425dc830125944214293b5b9197f9
2015-11-11remove IsInDocDTOR() as a public memberBjoern Michaelsen
Change-Id: Ic4d29d6904d5631dbf2f755886ac9122c303553f
2015-11-10sw: replace boost::ptr_vector with std::vector<std::unique_ptr>Michael Stahl
Change-Id: I6d4c9877b4fd0147d75260570cbca6b9a6333762
2015-11-10sw: replace boost::ptr_vector with std::vector<std::unique_ptr>Michael Stahl
Change-Id: I9e260670919d27aeaadbb34a716eca482c01f1c7
2015-11-10sw: replace boost::ptr_vector with std::vector<std::unique_ptr>Michael Stahl
Change-Id: I01504a684805d582c3d9cb7a26acfc185b6eff73
2015-11-10sw: replace boost::ptr_vector with std::vector<std::unique_ptr>Michael Stahl
Change-Id: I91f8fa3097c216230e4a9eaf1339157dd85bfdfc
2015-11-10This PixelToLogic() call can be conditional in SwSidebarWin::SetPosAndSize()Miklos Vajna
It is only needed when tiled rendering. Change-Id: Ie1668f5f3d4d17abc212e2262a6c155dcb855d2e