summaryrefslogtreecommitdiff
path: root/sw/source/uibase/config
AgeCommit message (Collapse)AuthorFilesLines
2015-11-26loplugin:unusedfields variousNoel Grandin1-2/+1
Change-Id: I18f94269a1172cf195ee402384f7144610e1e82d
2015-11-25bin/rename-sw-abbreviations.shlibreoffice-5-1-branch-pointRobinson Tryon3-7/+7
This commit renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I77e5134f42f25e3786afa36b7a505c7e3237a9e8
2015-11-14sw: prefix members of SwPrintDataMiklos Vajna1-42/+42
Change-Id: I3e6e18a0bc224ba6d201b476d77e82571ef2ee69
2015-11-12sw: prefix members of SwViewOptionMiklos Vajna1-77/+77
Change-Id: Ia86aac05e67990bd47400dc7aabbedde278e4fd1
2015-11-115th step to remove tools/rtti.hxxOliver Specht1-4/+0
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-10loplugin:nullptr (automatic rewrite)Stephan Bergmann5-38/+38
Change-Id: I01e11fa956a249974e77dce9deebe79311f098d0
2015-11-09formatting improvements in sw/Noel Grandin6-6/+6
after my recent "com::sun::star->css in sw" commit Change-Id: I2545648fc6f14ea0ebcabbe012e91546cf392b16
2015-11-06com::sun::star->css in sw/source/coreNoel Grandin6-30/+30
Change-Id: I30016977f1be8fb53dd239367d043de92a9467d9
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann1-1/+1
Change-Id: I55970d363ab53eb78d580192006e52d9240d46fb
2015-11-02sw: prefix members of SwViewOptionMiklos Vajna1-70/+70
Also rename nPagePrevRow/Col to nPagePreviewRow/Col, so that it's more clear that they are about the page preview row/col, not about some previous row/col. Change-Id: I5f1f47edde3dbe6bcce14a654398f8a0be2fa79f
2015-10-20loplugin:defaultparamsStephan Bergmann2-7/+7
Change-Id: I11ff551955c1ac291ab576f2f18c2dd410427eda
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann1-13/+13
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-06Disable spellcheck when LOK is activeMiklos Vajna1-0/+3
It's not useful when viewing, and for editing probably a dedicated overlay would be better (like the one we have for cursor/selections already). Disable for sw/sd explicitly, sc had it disabled implicitly already. Change-Id: I7134f5d1a1546787c22019e6b1abdc0dd887f888
2015-10-06sw: outline SwViewOption::SetOnlineSpell()Miklos Vajna1-0/+5
Change-Id: Ic81b039e9a1b592ca52ab684ddb45ee44c7714df
2015-10-06 tdf#94559: 4th step to remove rtti.hxxOliver Specht1-1/+1
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-05sw: replace boost::ptr_vector with std::vector<std::unique_ptr>Michael Stahl1-6/+12
Change-Id: I792c90a52c30e0c1c4702827b35afdbf958b2812
2015-10-01sw tiled rendering: default to transparent background outside page framesMiklos Vajna1-0/+3
Change-Id: Ie018a878eb7d7ef14a80a6b86020c114ff14da88
2015-09-11sw: replace boost::ptr_vector with std::vector<std::unique_ptr>Michael Stahl1-3/+3
Change-Id: I5316874cb8abe191da4fd385b281599d422a23ee
2015-09-02SetXXX(bool) with a default value of false are just wrongNoel Grandin1-1/+1
Change-Id: I4888d0474199bb10ca81d1ad03118a150f574671 Reviewed-on: https://gerrit.libreoffice.org/18235 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-21loplugin: defaultparamsNoel Grandin1-1/+1
Change-Id: I2315996f0fa147615554baf8607882eb32af2f34
2015-08-20loplugin:simplifyboolNoel Grandin1-1/+1
Change-Id: I7bb930f3b062dda9e46f517a1ea1dacb0d64de7f
2015-08-20more config skipping stuff and a tester toolCaolán McNamara4-9/+24
Change-Id: I5e93a4c84b3a0940239213766eb24d21fb5fd649 Reviewed-on: https://gerrit.libreoffice.org/17863 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-17tdf#39080 Added HideWhitespaceMode ViewOption flagAshod Nakashian1-0/+4
Change-Id: I94ac57881dc3a3628413b9198ea750fdc282accb Reviewed-on: https://gerrit.libreoffice.org/17278 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-07Delete unnecessary writer options from Options dialogMihály Palenik1-21/+1
Here https://wiki.documentfoundation.org/Design/Whiteboards/Options/Writer are unnecessary writer options. These options are set in Expert Configuration dialog under org.oppenoffice.Office.Writer node. Some of them have void type therefore they aren't deleted. Preference name, Property, Location in Options dialog; org.openoffice.Office.Writer/Layout/Window, HorizontalScroll, View/View/Horizontal Scrollbar; org.openoffice.Office.Writer/Layout/Window, VerticalScroll, View/View/Vertical Scrollbar; org.openoffice.Office.Writer/Layout/Window, HorizontalRuler, View/View/Horizontal Ruler; org.openoffice.Office.Writer/DefaultFont, Document, Basic Fonts (Western)/Current documentum only; org.openoffice.Office.Writer/DefaultFontCJK, Document, Basic Fonts (Asian)/Current documentum only; org.openoffice.Office.Writer/DefaultFontCTL, Document, Basic Fonts (CTL)/Current documentum only; Change-Id: Ia98fa456ec6039bff3ad13ca7668e73320d63920 Reviewed-on: https://gerrit.libreoffice.org/17542 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-08-03new loplugin: refcountingNoel Grandin1-2/+2
This was a feature requested by mmeeks, as a result of tdf#92611. It validates that things that extend XInterface are not directly heap/stack-allocated, but have their lifecycle managed via css::uno::Reference or rtl::Reference. Change-Id: I28e3b8b236f6a4a56d0a6d6f26ad54e44b36e692 Reviewed-on: https://gerrit.libreoffice.org/16924 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-06-15convert POSTITS_ to scoped enumNoel Grandin1-1/+1
Change-Id: Ib6fdfc22ce6cdf757066b422624b631b3f26e170
2015-06-01Use auto or more proper integer types, avoid temporariesMatteo Casalin1-1/+1
Change-Id: Iae81c30d23aa61e92b8dfd79c326c554b4164987
2015-05-20bin/rename-sw-abbreviations.shlibreoffice-5-0-branch-pointChristian Lohmaier6-115/+115
renames the most annoying abbreviations in Writer (and partially in the shared code too). Change-Id: I9a62759138126c1537cc5c985ba05cf54d6132d9
2015-05-20convert DEFAULTCONSTANT constant to scoped enumNoel Grandin1-1/+1
Change-Id: I5ebd77edfa29d6c6c7acea37e826ef1d625916c3
2015-05-13sw: Rename variable.Jan Holesovsky1-3/+3
2015-05-06sw: clean up some defensive programming in modcfg.cxxMichael Stahl1-278/+263
Change-Id: I901d934d1c2bdf6f15760292481091eb740dfda1
2015-05-06convert DEFAULTFONT_ constants to scoped enumNoel Grandin1-7/+7
Change-Id: Ia33e957f6cf530e2639b3c86d9482f642652cb46
2015-05-06convert CONFIG_MODE constants to scoped enumNoel Grandin5-12/+12
Change-Id: I1b0fb976e7bf8d7de06da0c30012e8bba1320498
2015-05-05loplugin:staticmethodsNoel Grandin1-5/+5
Change-Id: I90dd921077bbfc57200e398e7959306f26c65cfe
2015-04-15convert TXTFORMAT constants to scoped enumNoel Grandin1-3/+3
and move them to the SW module since that is the only place they are used Change-Id: Ic037e5ac9d2514377669c5f583b856e1da429a19 Reviewed-on: https://gerrit.libreoffice.org/15303 Tested-by: Noel Grandin <noelgrandin@gmail.com> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-07tdf#90362 sw: config option for ignoring protected areasMiklos Vajna1-2/+5
Change-Id: Idfa62aa5bbccf62ee85f863150e13f80b8b5db90 Reviewed-on: https://gerrit.libreoffice.org/15181 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2015-04-06sw: use variadic cppu::WeakImplHelperMiklos Vajna1-2/+2
Change-Id: I2c03ffad8d935bad126c19a8647c924af5a9bce5 Reviewed-on: https://gerrit.libreoffice.org/15174 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann3-33/+33
Change-Id: I2ec58d0bfe13fae4fc2141f9b017b5a72e0ba2c2
2015-03-24rename GetDepends->HasWriterListener and make it a boolBjoern Michaelsen1-1/+1
Change-Id: Idc090c9e105f24ef91ef123db03db6d6e67ed1d4
2015-03-24convert SvxZoomType to enum classNoel Grandin1-1/+1
Change-Id: I7308e848d3f9ac391dc656a145139dabbc792df3
2015-03-11utl::ConfigItem::Commit() should call ClearModified()Michael Stahl6-14/+14
Rename the virtual function, and add a new non-virtual Commit() to do that. Change-Id: I09421df781ba965d6ff638b46cd8214fb3a00022
2015-02-02tdf#68183 sw: config option for disabling the creation of automatic RSID marksMiklos Vajna1-2/+6
It was a problem since the initial commit 062eaeffe7cb986255063bb9b0a5f3fb3fc8e34c (sw: Improved document comparison based on RSIDs., 2011-12-22) that this new feature -- which is annoying for some use-cases -- could not be disabled, let's allow that. Change-Id: I33fa77382919586fb00198246f737caa68dcbd85 Reviewed-on: https://gerrit.libreoffice.org/14277 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2015-01-19fdo#39440 sw: reduce scope of local variablesMichael Weghorn1-2/+4
This addresses some cppcheck warnings. Change-Id: I0de4e6278fb564c299722a9e23eb67d0999c4e31 Reviewed-on: https://gerrit.libreoffice.org/13966 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-01-07fdo#84938: convert STREAM_ #defines to 'enum class'Noel Grandin1-1/+1
Change-Id: Ibbf14c7e9a5c1883c1311d4c86f948f74f8e473e
2015-01-06fdo#84938: convert IMPORT_ constants to 'enum class'Noel Grandin1-1/+1
Change-Id: Idaa8f07c62b3ba93c27ca5fe286720254baac10d
2014-12-15sw: Use appropriate OUString functions on string constantsStephan Bergmann1-1/+1
Change-Id: I559d1e44d9096a2583af8e05468b3743ac210c6c
2014-12-10Use Any specializations for bool, instead of SetValueMatteo Casalin3-66/+42
Change-Id: I7a5babe494bdb09a71164ea74d7be3f6bf985ff6 Reviewed-on: https://gerrit.libreoffice.org/13215 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-12-02loplugin: cstylecastNoel Grandin1-4/+4
Change-Id: Ic1c68ee7094afbd9727508a148eae2429ba8c380
2014-11-25loplugin: cstylecastNoel Grandin3-5/+5
Change-Id: I0607afad59068e3d94494f971990fb45c2b79443
2014-11-16sw: convert 'a ? b : sal_False' to 'a && b'Matteo Casalin2-3/+3
Change-Id: I4b7829a1abe1459f2e4915159588fd3e16a14eea