summaryrefslogtreecommitdiff
path: root/sw/source/ui
AgeCommit message (Collapse)AuthorFilesLines
2015-10-12no need to explicitly specify these destructorsNoel Grandin1-4/+0
the compiler will do it for us Change-Id: I6ea04aa32ee3357d01a4dbfc58ebbaedff38c0ab
2015-10-12convert Link<> to typedNoel Grandin51-318/+304
Change-Id: Iec15042138e0715459b2c9e872a7464d75a6b1eb Reviewed-on: https://gerrit.libreoffice.org/19305 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-07Prefer getSelectedFiles to getFiles (sfx2+sw)Julien Nabet6-19/+19
+ tweak files of other modules which needed it Change-Id: Ibb673eba6609734addd233ac1477698c01b94678 Reviewed-on: https://gerrit.libreoffice.org/19180 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-10-06vba: convert to variadic InheritedHelperInterfaceImpl&WeakImpl etcDouglas Mencken36-62/+36
Variadic templates ~-i.e. templates, which can take an arbitrary number of arguments of any type-~ is new C++11 feature note that uno::Reference and cppu::UnoType can only take one parameter thus leave XNamedObjectCollectionHelper non-variadic in vbacollectionimpl.hxx Change-Id: I22e60fa050ee31d39ae8bb7cac06cf243c4587b1 Reviewed-on: https://gerrit.libreoffice.org/19145 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-10-06 tdf#94559: 4th step to remove rtti.hxxOliver Specht9-22/+20
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-06need <numeric> for std::accumulateNoel Grandin1-0/+1
Change-Id: Ic7d237ab5e4a7925bf265b8ab495ad3e0c128735
2015-10-05sw: replace boost::ptr_vector with std::vector<std::unique_ptr>Michael Stahl1-9/+7
Change-Id: I1f77947b6f9fde4c949d32d524740be0951572af
2015-10-05sw: let's try to write a C++ program, stop using reserved identifiersMichael Stahl1-26/+26
Change-Id: I8810ca647af7b376b1c2bb1c4d866eb081718145
2015-10-05sw: replace boost::ptr_vector with std::vector<std::unique_ptr>Michael Stahl2-17/+15
Change-Id: I1e6ccafea4c876b27e0a57e76c93f075f67a5f54
2015-10-02sw: replace boost::ptr_vector with std::vectorMichael Stahl1-0/+4
Change-Id: Ib3dbe824bd4e747981b69851c6186fd57402ed23
2015-10-01remove old standalone Sun bug numbersNoel Grandin1-3/+0
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 Gelmini4-5/+5
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 Heinemann3-13/+13
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-27sw table styles: Implement table styles in Writer.Jan Holesovsky2-2/+2
This extends the table auto formats so that SwDoc keeps track of the auto formats used in the document. With this in mind, we can update the format of the table with every operation like adding/removing a line, splitting a table, etc. So far we only have the core functionality, and cover inserting a line in the table; more to come. Based on work of Alex Ivan <alexnivan@yahoo.com> during GSoC 2013 - thank you! Change-Id: I7839147e54c2f976988121a523331def9859f4c2
2015-09-25hackfect 2015: vertical text columns need page height not widthCaolán McNamara1-8/+38
the "width" of columns for preview of vertical text is not based on on the width of the host page, but the height of the host page Change-Id: I1f1e611f251760bbb9b095839214289bcbd6492a
2015-09-24convert Link<> to typedNoel Grandin17-115/+148
Change-Id: I59d325c3b051690303a5841907317122fa1ec98b Reviewed-on: https://gerrit.libreoffice.org/18825 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-23convert Link<> to typedNoel Grandin1-25/+23
Change-Id: If48dd5fd9ea87ca5c770424ce824998d842aacef Reviewed-on: https://gerrit.libreoffice.org/18811 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-23convert Link<> to typedNoel Grandin4-10/+13
Change-Id: Ie31b7f6ed89d684b6ec0ac8e6a144ef6024ba1d2 Reviewed-on: https://gerrit.libreoffice.org/18801 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-23convert Link<> to typedNoel Grandin7-15/+11
Change-Id: If1e53fee4b39daed44632b2395ddb42064c698fb Reviewed-on: https://gerrit.libreoffice.org/18800 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-23convert Link<> to typedNoel Grandin1-10/+10
Change-Id: I39f08451c546865327f2f1014cfa33c78cdcdc9b Reviewed-on: https://gerrit.libreoffice.org/18798 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-23convert Link<> to typedNoel Grandin1-14/+12
Change-Id: I210ea5a66ebb78d6aa93c53e95ddf00e93fd81e0 Reviewed-on: https://gerrit.libreoffice.org/18797 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-23convert Link<> to typedNoel Grandin1-13/+11
Change-Id: I2b8ef243a82c39174c1102c2e75f38dcf7efd376 Reviewed-on: https://gerrit.libreoffice.org/18796 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-21hide ScopedPtr::reset and add disposeAndClearCaolán McNamara1-2/+2
Change-Id: I55d6e789abd408b8478a2b9ae141d8899af2c309 Reviewed-on: https://gerrit.libreoffice.org/18745 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-20convert Link<> to typedNoel Grandin1-3/+2
Change-Id: I10b050dc4aae45e646761a82520caa96969bc511 Reviewed-on: https://gerrit.libreoffice.org/18700 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-20convert Link<> to typedNoel Grandin2-7/+6
Change-Id: I3b80cc0147c8f21e391267fd1683af65934fd220 Reviewed-on: https://gerrit.libreoffice.org/18696 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-20convert Link<> to typedNoel Grandin2-13/+12
Change-Id: I8db191c87e80b11fe20370703f4bd6780d18f378 Reviewed-on: https://gerrit.libreoffice.org/18695 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-17Give drawing objects unique names by defaultCaolán McNamara1-0/+5
when created through the UI, similar to how frames and graphics get names. This way they appear in the navigator by default Change-Id: I5ec92221583494a0908948d6d0c0815980cb7050
2015-09-17boost->stdCaolán McNamara28-54/+35
Change-Id: Idfbcfa1e5ba7bff92e98693c33c4b33a6beda08f
2015-09-17convert Link<> to typedNoel Grandin14-49/+49
Change-Id: I3d35a0bb75b6989dd13371543d1bdf3ef5f47641
2015-09-16sw: replace boost::ptr_vector with std::vector<std::unique_ptr>Michael Stahl1-5/+6
Change-Id: I880526fdcce3be0f9e9149695812e048d95004e6
2015-09-14Avoid getTokenCount in (SwMailMergeOutputTypePage) TypeHdl_Impl linkMatteo Casalin1-9/+6
Change-Id: If506716a45a869c40a0a449189b049c38215e25c
2015-09-13boost->stdCaolán McNamara1-2/+1
Change-Id: I9b4f884c6313a53fea543ea6f93175205351ad14 Reviewed-on: https://gerrit.libreoffice.org/18517 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-12Update many ListBox users to its sal_Int32 interfaceMatteo Casalin1-1/+1
Change-Id: I6469ac5e2d17406bee9bc434930e2471cb3bae9f
2015-09-11tdf#93901: apply handling in style/edit dialog improvedOliver Specht1-1/+11
introduced SfxTabPage::ChangesApplied() to enable resetting values to their initial state while editing styles Change-Id: I60fd68d8464e12e795b0e0d2f2e53882a225c181 Reviewed-on: https://gerrit.libreoffice.org/18467 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-09-11convert Link<> to typedNoel Grandin7-11/+22
Change-Id: I85658fa35b9b85106a3b9c8ef303584cad6f39b0
2015-09-10convert Link<> to typedNoel Grandin1-3/+2
Change-Id: I603463d0486d4d0f21ebbdc6eca900db58bb090f
2015-09-09stray debugging linesCaolán McNamara1-2/+0
Change-Id: I525009b9d037387b236cb4605fe0b93c94858d89
2015-09-09sw: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe12-20/+18
with the variadic variants. Change-Id: I1c423f98fba55c1ac5c3bd9a4e81ebd7eb6604b4 Reviewed-on: https://gerrit.libreoffice.org/18393 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-08convert Link<> to typedNoel Grandin1-1/+1
Change-Id: Ia7bdaa3a02af8f81884d81d60c0f135af2f8aeae
2015-09-08convert Link<> to typedNoel Grandin1-2/+1
Change-Id: Ia2706c308c6297d05b2862e9f86fc0f2ee90e4f0
2015-09-08convert Link<> to typedNoel Grandin20-46/+45
Change-Id: I365a81a0a960f5da736c9a97aa056da16c99452f
2015-09-07sw: convert boost::ptr_vector to std::vector<std::unique_ptr>Michael Stahl1-1/+1
Change-Id: If8d9770717c21875b4472b0d94a1fa5a9d136085
2015-09-07convert Link<> to typedNoel Grandin3-10/+10
Change-Id: I38f2c15b4f8bb1d7187b019d26a2644b087898c1 Reviewed-on: https://gerrit.libreoffice.org/18357 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-04tdf#92732: fix vclptr lifecycle for index entry editing dialogOliver Specht1-1/+1
Call SwViewShell::SetCareWin() in closeHdl instead of d'tor since with care window set the d'tor is never called Change-Id: Ieb8280ab57c3bccf95ce2ce96937aab261133ce0 Reviewed-on: https://gerrit.libreoffice.org/18330 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-09-04convert Link<> to typedNoel Grandin2-9/+5
Change-Id: I2136c3db2742afcb4722f69297276bea1e0119f4 Reviewed-on: https://gerrit.libreoffice.org/18306 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-030xFF is reserved in [Height|Width]Percent as a special flagCaolán McNamara3-10/+10
no logic change here, just collect all the uses of 0xff, 0xFF, 255, 0xfe that are for this hackery together under SwFormatFrmSize::SYNCED Change-Id: I061da70962e410903aed94b62868dec1d61e54b9
2015-09-01Make saving the default fonts work againMaxim Monastirsky1-0/+34
This reverts part of 745c7bce5fe8b218f7d300667a5409bc7ef58c34. The current behavior of affecting only the current document is useless, given that the same can be done by editing the corresponding styles. Actually I'm pretty sure that's why the wiki flagged the "Current document only" option as unnecessary. So let's go back to saving for all documents. Change-Id: I7ed9609bc93ae519ac89a6e6080a3b37b09633d8
2015-09-01sw: use std::unique_ptr<> in dbinsdlgMiklos Vajna1-6/+6
Change-Id: If882d49c3abe236c8ca5af502a38947b98e34d5e
2015-08-31convert Link<> to typedNoel Grandin1-3/+2
Change-Id: I53b0a7a9875a3ebcca915c8f2d8c53face6f9509
2015-08-28make PostUserEvent Link<> typedNoel Grandin5-14/+12
Change-Id: I13f10bda985d55d419a5bff481130a456ae2db8a