summaryrefslogtreecommitdiff
path: root/sw/source/ui
AgeCommit message (Collapse)AuthorFilesLines
2015-12-10tdf#94816: fixed some problems in the mail merge wizardOliver Specht3-7/+7
Some disposeAndClear have been added as calling dialogs in the wizard like select address list, new address list, match fields crashed in dbg build in shutdown because the dialogs were still alive. The wizard is now deleted on Cancel which didn't work anymore. The timeout of the preview control of page 5 has been changed as the preview didn't even appear on Windows in a debug build The timeout handler was called after the wizard has been closed and lead to a crash. Change-Id: I9cd01f39347744bda31a312f695d27eefa077721 Reviewed-on: https://gerrit.libreoffice.org/20489 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-12-03Resolves: tdf#94701 allow fully deleting illustration category in comboboxCaolán McNamara1-2/+2
Change-Id: Iaaefbe2311e61be3b9689c693481d149aa1355f5
2015-11-28Typo: ST_DOCUMETNTYPE->ST_DOCUMENTTYPEJulien Nabet2-2/+2
Change-Id: I0067f2b2493f5ecd7430bbcbb3743407199d2a7e Reviewed-on: https://gerrit.libreoffice.org/20247 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-11-26-Werror,-Wunused-private-fieldStephan Bergmann3-10/+8
Change-Id: If8faa69302775cdd24bc6f45713eb246c9210745
2015-11-25bin/rename-sw-abbreviations.shlibreoffice-5-1-branch-pointRobinson Tryon33-323/+323
This commit renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I77e5134f42f25e3786afa36b7a505c7e3237a9e8
2015-11-25loplugin:unusedfields in include/sfx2/Noel Grandin3-8/+7
Change-Id: I3eb27ed10e82ee56b33866ac576c1b1f8c9756b9
2015-11-24loplugin:unusedfields in sw/Noel Grandin4-18/+12
Change-Id: I975f35031b1833be376881d534dc6f91fae6072f
2015-11-20Seems more natural to pass a homogenous list by initializer_listStephan Bergmann1-3/+3
...than by template parameter pack (even if that requires using ServiceDecl*, as initializer_list cannot take reference types) Change-Id: Ia986201b52d8daedfe925f132ebc79bc2c0ba378
2015-11-19loplugin:sallogareasStephan Bergmann1-1/+1
Change-Id: I2220ab194384fb397716bf3227d38716ba54f537
2015-11-18remove unused typedefs and inline use-once typedefsNoel Grandin1-3/+1
and improve the script a little Change-Id: I2792ea4dd5df3a50736fbe209225c3f16fb86b84 Reviewed-on: https://gerrit.libreoffice.org/20033 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin2-4/+2
performed using: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\); .*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g" Change-Id: I4da56c80fa09bfc1e8f868794001e9921431e09f Reviewed-on: https://gerrit.libreoffice.org/19968 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-14sw: prefix members of SwPrintDataMiklos Vajna1-43/+43
Change-Id: I3e6e18a0bc224ba6d201b476d77e82571ef2ee69
2015-11-14sw: prefix members of SwSectionFootnoteEndTabPageMiklos Vajna1-102/+102
Change-Id: I785b50d6f09db79d3184a19c01e71ef26c11b1d1
2015-11-13sw: prefix members of SwLabPreviewMiklos Vajna2-84/+84
Change-Id: Ic4c9b6309aee6be51aa0b20a26e6dc28930a9879
2015-11-12sw: prefix members of SwFrmPageMiklos Vajna1-176/+176
Change-Id: I09a62466ea6b779c7589667f379e67d51890e7b4
2015-11-11sw: prefix members of SwFrmAddPageMiklos Vajna1-140/+140
Change-Id: Id4a5a5794ff03a88922df7fd1dcba75ed601dd59
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann81-514/+514
Change-Id: I01e11fa956a249974e77dce9deebe79311f098d0
2015-11-09formatting improvements in sw/Noel Grandin34-121/+121
after my recent "com::sun::star->css in sw" commit Change-Id: I2545648fc6f14ea0ebcabbe012e91546cf392b16
2015-11-06com::sun::star->css in sw/source/coreNoel Grandin47-176/+176
Change-Id: I30016977f1be8fb53dd239367d043de92a9467d9
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann7-61/+60
Change-Id: I55970d363ab53eb78d580192006e52d9240d46fb
2015-11-06sw: prefix members of SwStdFontTabPageMiklos Vajna1-301/+301
Change-Id: Ia0de4c400937305baab7fef0e414777f0cd906e9
2015-11-05use uno::Reference::set method instead of assignmenNoel Grandin5-7/+6
Change-Id: I76671a74150791e1a74ece3d5bcf40fd6c727ac7
2015-11-05sw: prefix members of SwLabItemMiklos Vajna4-238/+238
Change-Id: I8346c5f7a12deb5cbd4e4d9cc87ecadb30ebbeb4
2015-11-04loplugin:stringconstantNoel Grandin2-5/+5
Change-Id: Ic135382652966e80c288f3407508bdaf0c60316e
2015-11-04tdf#95077 Check Index != 0ccsheller1-1/+1
follow code: ScVbaCollectionBase::getItemByIntIndex .... return createCollectionObject( m_xIndexAccess->getByIndex( nIndex - 1 ) ); .... my test code of vba: Application.ActiveWindow.Panes(1).View Change-Id: I5229142377364f374e4bbc24bd3b8dfd5d351f56 Reviewed-on: https://gerrit.libreoffice.org/19239 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-10-29tdf#89337: Fixing crash in edit/index dialog, againOliver Specht1-1/+6
the fix of tdf#92732 moved the crash from pressing Close/OK to pressing the window closer. Now the CareWindow is set in dispose and this works for all Change-Id: Id9c272acec48890556a5042c0f5310e69c0a67da Reviewed-on: https://gerrit.libreoffice.org/19645 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-10-21sw: replace boost::ptr_vector with std::vector<std::unique_ptr>Michael Stahl1-14/+15
Change-Id: If476381b05b046443facc9dd220d273133bda651
2015-10-20loplugin:defaultparamsStephan Bergmann7-15/+14
Change-Id: I11ff551955c1ac291ab576f2f18c2dd410427eda
2015-10-19loplugin:defaultparamsStephan Bergmann22-39/+38
Change-Id: Ib5b0e87064b6dcff03f6b77287a80ee2a03b8799
2015-10-17coverity#1327442 Division or modulo by zeroCaolán McNamara1-2/+3
Change-Id: I4046fa491cb59c93665a5584544ab1fbda7fa733
2015-10-16convert Link<> to typedNoel Grandin1-4/+7
Change-Id: I9ce3a85eb5eba35691c376d19436c624df68be33
2015-10-16convert Link<> to typedNoel Grandin2-3/+2
Change-Id: Iea90c0e46902936bde3b51475292999fa0ead934
2015-10-16convert Link<> to typedNoel Grandin2-3/+3
Change-Id: I39a0b4d5fb62ae66926148103b396578ed37405d
2015-10-16sfx items: Kill the unreadable & misplaced SFX_ITEMSET_ARG too.Jan Holesovsky4-9/+9
Change-Id: I1e0f96dce2b9cf9da32f4f577cf76e1d8824d37a
2015-10-16sfx items: The bDeep parameter of SFX_ITEMSET_ARG is always false.Jan Holesovsky4-9/+9
Change-Id: Ifdffc82c9b4ec2e534204294575a78e34e0338c1
2015-10-16convert Link<> to typedNoel Grandin42-295/+236
Change-Id: Icbba339dac0be31e30dff021bba06a219f8aecd6 Reviewed-on: https://gerrit.libreoffice.org/19405 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-15calling IsSet() before Call() on Link<> is unnecessaryNoel Grandin1-5/+3
the Call() already does a check Found with: git grep -A 1 -w 'IsSet()' | grep -B 1 '.Call(' | grep ':' | cut -d ':' -f 1 Change-Id: Ia7248f5d62640b75f705e539c3d1183e39c0d847
2015-10-15convert Link<> to typedNoel Grandin10-81/+67
Change-Id: I2ef1e5fe5c6dc65c254b3a16b0b12fca5caba16e
2015-10-15convert Link<> to typedNoel Grandin7-14/+19
Change-Id: I6c55c74d47b13149c2fa210bb9de4e8c430c57cc
2015-10-15cppcheck:variableScopeNoel Grandin1-43/+43
Change-Id: I9b671637fbe0f32e695d22b74bfb40a39a9fe884 Reviewed-on: https://gerrit.libreoffice.org/19364 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-14convert Link<> to typedNoel Grandin3-12/+10
Change-Id: I1876f327607e0e23292950741df348d4ec31fde1
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann128-1158/+1158
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
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