summaryrefslogtreecommitdiff
path: root/sw/source/uibase/wrtsh
AgeCommit message (Collapse)Author
2015-11-09formatting improvements in sw/Noel Grandin
after my recent "com::sun::star->css in sw" commit Change-Id: I2545648fc6f14ea0ebcabbe012e91546cf392b16
2015-11-06com::sun::star->css in sw/source/coreNoel Grandin
Change-Id: I30016977f1be8fb53dd239367d043de92a9467d9
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann
Change-Id: I55970d363ab53eb78d580192006e52d9240d46fb
2015-10-19loplugin:defaultparamsStephan Bergmann
Change-Id: Ib5b0e87064b6dcff03f6b77287a80ee2a03b8799
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-08tdf#90834 Turn in-line version control history comments.kripton
Change-Id: I525420548059f06f655daf52fe84a278abb56ff1 Reviewed-on: https://gerrit.libreoffice.org/19256 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-10-06 tdf#94559: 4th step to remove rtti.hxxOliver Specht
replaced use of PTR_CAST, IS_TYPE, ISA in idl, editeng, sc, sd, sw, sfx2, sot, starmath Change-Id: I4a5bba4fdc4829099618c09b690c83f876a3d653 Reviewed-on: https://gerrit.libreoffice.org/19132 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-10-02tdf#88128 fix unevaluated undo variable: autocorrectJustin Luth
When replacing a selection with an autocorrect character (like space, *, _) in Writer, the undo/redo remark was "Insert $1" on Linux/Mac. Change-Id: I2e7be035ec1cc107458cc30c14174a22fa31c075 Reviewed-on: https://gerrit.libreoffice.org/19069 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-10-01remove old standalone Sun bug numbersNoel Grandin
Sun bug numbers without any accompanying text are completely useless. Fixed with git grep -lP '//\s*#\d+#\s*$' | xargs perl -i -ne'/\/\/\s*#\d+#\s*$/d or print' And then hand-checking the result to restore places where it deleted code. And then some more grepping and hand-editing to kill the others. Change-Id: Ia96ce4466db8bb8da363ebf41f0ae7f45f28bf29 Reviewed-on: https://gerrit.libreoffice.org/19023 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-29Fix typosAndrea Gelmini
Change-Id: Ifddd2533b767924791338555031b848c59980c52 Reviewed-on: https://gerrit.libreoffice.org/18989 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
2015-09-29Renamed wrongly prefixed boolean variablesStefan Heinemann
Fixed tdf#94269 Change-Id: I63109cc4e095bad680d7637a065080ea368860ae Reviewed-on: https://gerrit.libreoffice.org/18851 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-09-23no point in redeclaring methods with slightly different namesNoel Grandin
Change-Id: I446ca61415e998d1f325b602cb587815af5ff425 Reviewed-on: https://gerrit.libreoffice.org/18813 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-23convert Link<> to typedNoel Grandin
Change-Id: I6a4fade1688dfce9aec1530da51ea874cddfcbc0 Reviewed-on: https://gerrit.libreoffice.org/18812 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-23remove unused Link<> parameterNoel Grandin
Change-Id: I9d8916b69e2e986ee1e30091cb046e7812a68ed1 Reviewed-on: https://gerrit.libreoffice.org/18795 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-18convert Link<> to typedNoel Grandin
Change-Id: I706a3b3489dc8e945ce9e7e7ddc41104e9a15bab
2015-09-17sw: use std::unique_ptr<> in wrtshMiklos Vajna
Change-Id: I3db550e0efa22eb4b497ad600e94ff77254bb62b
2015-09-10GetCurFrameFormat->GetSelectedFrameFormatCaolán McNamara
Change-Id: I2f1eb4567b6e073991d95dbcecdc79b24010f2c1
2015-08-21loplugin: defaultparamsNoel Grandin
Change-Id: I74d5ce7a23b87bed2ecffc8351dc15a9f0a68ed7
2015-08-04tdf#89154 stop at paragraph end when using CTRL+Right (or Left)Tomaž Vajngerl
Change-Id: I7f6bec0dbf7637b701d4dda7c573b118532b4707 Reviewed-on: https://gerrit.libreoffice.org/17484 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2015-07-04Fix typosAndrea Gelmini
Change-Id: Id9296115f30858e7fd470a199e59343a96d7deec Reviewed-on: https://gerrit.libreoffice.org/16712 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-06-23Revert "Typo: iff->if"Julien Nabet
This reverts commit cf92da3d6e1de14756efe3f1ee79f393a2f3787d. iff can mean "if and only if" so not a typo
2015-06-23Typo: iff->ifJulien Nabet
Change-Id: I3fc60856b5a56e71d70b55c89323be074bdec3b3
2015-06-15cppcheck:unreadVariableNoel Grandin
Change-Id: I03981ceba67280e8ed98a9add7f24b3bd958d522
2015-06-12Make SwFrameControlManager an EditWin ptr member to reduce re-compiles.Michael Meeks
Change-Id: Ic2491948aa555fa71f9e14af554bdf204c12247d Reviewed-on: https://gerrit.libreoffice.org/16236 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-06-09use UnoCursorPointer in SwNavigationMgrBjoern Michaelsen
Change-Id: I7c7431edd79cf4527f97c7dc0695d49174b61e2c
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann
Change-Id: I8d27ae80d209159690182ab91e272cf00e9f863d
2015-05-26tdf#91389 EDITING: Crash when deleting headerPhilippe Jung
Replaced MyDlg(pParent).Execute by VclPtr equivalent Change-Id: I7e03913665f770d694f53949e08425ba60adc6ad Reviewed-on: https://gerrit.libreoffice.org/15908 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-05-26Global CptlSttWrd and CptlSttWord -> CapitalStartWordJan Holesovsky
Change-Id: I550456ae319a6a865f2ee951a1ddf70384ce33ef
2015-05-26Global CptlSttSntnc -> CapitalStartSentenceJan Holesovsky
Change-Id: Id428332201f14b172af1590baed6aa2a67e0557a
2015-05-26now rename the new CreateUnoCrsr2 to CreateUnoCrsr, as the old stuff is goneBjoern Michaelsen
Change-Id: I82f8ed0560750d4f7bec71ea8bd3c8089b884da7
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-20bin/rename-sw-abbreviations.shlibreoffice-5-0-branch-pointChristian Lohmaier
renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
2015-05-18tdf#89783: Allow more than 64k PageDescsKatarina Behrens
+ adjust related code using the functionality Change-Id: I6fa4ad04137643009ee39522c36d6c9e6f3d2502
2015-04-30Gradually typed LinkStephan Bergmann
Turn the Link class into a template abstracting over the link's argument and return types, but provide default template arguments that keep the generic, unsafe "void* in, sal_IntPtr out" behvior. That way, individual uses of the Link class can be updated over time. All the related macros are duplicated with ..._TYPED counterparts, that additionally take the RetType (except for LINK_TYPED, which manages to infer the relevant types from the supplied Member). (It would have been attractive to change the "untyped" LinkStubs from taking a void* to a properly typed ArgType parameter, too, but that would cause -fsanitize=function to flag uses of "untyped" Link::Call.) Change-Id: I3b0140378bad99abbf240140ebb4a46a05d2d2f8
2015-04-28SwWrtShell::IntelligentCut return type is int/SwWrtShell::wordStephan Bergmann
Change-Id: Ib87cf099d7eade7d6dd04f14b5693c8b2f9115ec
2015-03-31sw: remove pointless wrtsh/docsh.cxx fileMichael Stahl
SwDocShell already has 4 or 5 other cxx files. Change-Id: I591d6e5d7ebf5727b4a760add2eeea04c3ca5abe
2015-03-31sw: SwDocShell::aFinishedTimer dead since 2006Michael Stahl
becf02e58637276ab80227ffb19aa01c86e4962d removed the last use Change-Id: Ib72a36961dbe4c6218125f48ed251be964016f9d
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I2ec58d0bfe13fae4fc2141f9b017b5a72e0ba2c2
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann
Change-Id: Icb14a036ea9d7636359b6bc5e0af17568c0d54cb
2015-03-18convert DocumentSettingId to an enum classNoel Grandin
Change-Id: Ia4f135c64e6b6b5bd7a522e4a1e9ca63738ff3ef
2015-03-16Consistency ;-)Jan Holesovsky
Change-Id: Ibb5ff11bc49d346c5435ffe7866a33148954f3c1
2015-03-16use toUtf8 instead for string conversionSiqi Liu
Change-Id: I1ec96957fba161a35ec2cf44f197ed3d7199dd89
2015-03-14SwWrtShell: rename member variables missing their prefixesMiklos Vajna
Change-Id: I78ae647cca9167e130592fd11b8dd15c512a2353
2015-03-13Typos for descriptionJulien Nabet
Change-Id: I1579c4a79f8806d4580b282737e829462361af98
2015-03-11convert SetAttrMode to enum classNoel Grandin
Change-Id: If7dd0c49480756afb7d4eaaba597ecc305c35f64
2015-03-11sw: s/eEnde/eEnd/Michael Stahl
Change-Id: I9ea963d09c2975b8e40856e3ba2d3896be9a1876
2015-03-09Whitespace in a recent commit.Jan Holesovsky
Change-Id: Ied315d27cd0b5dbe640a2a3c87f5dc6c3dc11bf0
2015-03-09tdf#89705 hyperlink clickable in writer (not in impress, yet)Siqi Liu
Change-Id: Ifaa6c0de7d9b91706985667b72195bcfc2d610cd
2015-03-08sw: prefix global variables in edtwinMiklos Vajna
Change-Id: Iee32ede1cc474a361fb3b1bf47f1c52b4ff2c4b7 Reviewed-on: https://gerrit.libreoffice.org/14799 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>