summaryrefslogtreecommitdiff
path: root/svtools
AgeCommit message (Collapse)AuthorFilesLines
2016-04-25add English (Mauritius) [en-MU] and French (Mauritius) [fr-MU], tdf#99372Eike Rathke1-0/+2
Change-Id: I98a0bc42a7d7f5c0943c9861556392399b9d0313
2016-04-22Fix typosAndrea Gelmini1-1/+1
Change-Id: Iea11112a1bf1ff934de0e355b9e81979aa1966a3 Reviewed-on: https://gerrit.libreoffice.org/24286 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-04-21new plugin stylepoliceNoel Grandin1-4/+4
check for local variables which follow our member field naming convention, which is highly confusing Change-Id: Idacedf7145d09843e96a584237b385f7662eea10
2016-04-20loplugin:salbool: Automatic rewrite of sal_False/TrueStephan Bergmann12-29/+29
Change-Id: I706d2b85ba6a49ee34f9fe88a960943e87079902
2016-04-20clang-tidy clang-analyzer-deadcode.DeadStoresNoel Grandin1-1/+0
suspect that some of these may reveal latent bugs.... Change-Id: I9de9aabbda9c8952715631577c29c1830df1eb71 Reviewed-on: https://gerrit.libreoffice.org/24200 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-18clang-tidy performance-unnecessary-copy-initializationNoel Grandin7-20/+17
probably not much performance benefit, but it sure is good at identifying leftover intermediate variables from previous refactorings. Change-Id: I3ce16fe496ac2733c1cb0a35f74c0fc9193cc657 Reviewed-on: https://gerrit.libreoffice.org/24026 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-18clean-up: unused using declarations and includesJochen Nitschke10-25/+0
Searched source for using declarations. Checked if those symbols reappear in the source file, even in comments or dead code but not in #include statements. If they don't reappear, remove the declaration. Remove includes whose symbol got removed. Change-Id: Ibb77163f63c1120070e9518e3dc0a78c6c59fab0 Reviewed-on: https://gerrit.libreoffice.org/24148 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-13tdf#94306 remove unused boost dependenciesJochen Nitschke1-1/+0
remove <boost/noncopyable.hpp> in pch and remove boost from makefile if it was the only boost entry. Change-Id: Icb945ae59c137571f4f63807601738eea5c3e831 Reviewed-on: https://gerrit.libreoffice.org/24061 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-04-13loplugin:passstuffbyref in svtoolsNoel Grandin7-8/+8
Change-Id: Ie166eaef65e56fafe4e57a5559b587d7558d7aa4
2016-04-13tdf#94306 replace boost::noncopyable in stoc to xmlsec..Jochen Nitschke7-16/+17
Replace with C++11 delete copy-constructur and copy-assignment. Remove boost/noncopyable.hpp includes. Add missing default ctors. With this commit there should be no users of boost::noncopyable left. Change-Id: I6b1e47824912a6a80cc3f00f34938ebc048d8975 Reviewed-on: https://gerrit.libreoffice.org/24051 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-04-13tdf#97087 Give comprehensible names to timersMuhammet Kara1-1/+1
Timers and idles should have programmer comprehensible, unique names Change-Id: I837d1890c687936f8a31278c0102391e6f87212d Reviewed-on: https://gerrit.libreoffice.org/23917 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Jenkins <ci@libreoffice.org>
2016-04-13Stop assigning null to intrusive_ptrTakeshi Abe1-2/+0
which added at f6d61562d41b8a49449d881da66a3d8fa519487f. But they seems unnecessay because, even without them, soon the intrusive_ptr goes out of scope then its dtor decrements refcount. Change-Id: I6e35ecb7d5a0b5ccaef6ea9b7507300dcb589801 Reviewed-on: https://gerrit.libreoffice.org/24013 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com>
2016-04-12lp#1569589: a more honest attempt at disposing SvtFileView_ImplBjoern Michaelsen1-0/+2
Dunno yet if that completely fixes the story -- the reference here are quite messy: ownership isnt exactly obvious. Change-Id: I54d71ac724590e85549bd152c963fdc8de46746e Reviewed-on: https://gerrit.libreoffice.org/24040 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-04-12Avoid reserved identifiersStephan Bergmann3-9/+9
Change-Id: I481621d58b94163e32f9b5f19187d8ad587f2b1d
2016-04-12cleanup: remove unused com/sun/star/uno includesJochen Nitschke9-16/+0
Sequence.h(xx), Any.h(xx) and Type.h(xx) and remove unused using-declarations from these files. Add a few missing includes provided by them. Change-Id: I6b91b6d1fdf9d0496dd546c0aab9bdcc6831a5d4 Reviewed-on: https://gerrit.libreoffice.org/23805 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-11clang-tidy performance-unnecessary-value-param in svtoolsNoel Grandin7-7/+7
Change-Id: I6360a780aac9a387fed3a1c9a086196dbba0b089
2016-04-11tdf#79656 Restart now window for language changeBerk Gureken2-4/+22
When you change the UI language and click OK, Restart Now window opens instead of warning window. Change-Id: Ic503bf4536a855891456f48745b748786857200f Reviewed-on: https://gerrit.libreoffice.org/23421 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com>
2016-04-11loplugin:constantparamNoel Grandin2-42/+6
Change-Id: Ie690088d7a7d568703afd22f544628fc8012a7e1
2016-04-05tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionalsRohan Kumar4-15/+10
I removed OSL_DEBUG_LEVEL > 1 conditionals, replaced DBG_ASSERT to standard assert(..) and used SAL_INFO() in some places Change-Id: Ib6d6065e3f141e60f865fef1faacdb5598e12431 Reviewed-on: https://gerrit.libreoffice.org/23073 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2016-04-04loplugin:constantparam in svtoolsNoel Grandin16-99/+45
Change-Id: Iceb1b57997e0369946150ef0764b71da59a6b7a6 Reviewed-on: https://gerrit.libreoffice.org/23725 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-02cleanup: remove unused Reference.h(xx) includesJochen Nitschke4-7/+0
and unused using-declarations from Reference.h Change-Id: I297a7ae6044fa329d245ecf08fd5c4cb930f5b19 Reviewed-on: https://gerrit.libreoffice.org/23735 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-04-01tdf#97966 Drop 'static' keywordsWastack4-8/+8
Including no keywords from extern "C" blocks Change-Id: I364aa7d67c2bf867588798e07df95c3f3f2bd7f3 Reviewed-on: https://gerrit.libreoffice.org/23676 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-31tdf#97525 vcl: make DeletionListener internalJochen Nitschke1-1/+0
move include/vcl/impdel.hxx to vcl/inc/ include impdel.hxx in salframe.hxx remove vcl/impdel.hxx includes in pch add missing <list> includes Change-Id: Id146363b2e20ce0238542929c26a83efb1e8c4bd Reviewed-on: https://gerrit.libreoffice.org/23664 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-28tdf#90795 Fix Hyperlink Dialog for HiDPIChirag Manwani2-4/+11
Change-Id: I30964d3bd3b5c4433e72be45bfa0202661248051 Reviewed-on: https://gerrit.libreoffice.org/23347 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2016-03-24Disable gdrive/OneDrive/Alfresco cloud based on whether they are compiled in.Jan Holesovsky1-7/+9
Change-Id: I81bde1f85489ede4b8c826389146ad0990d6abb6
2016-03-23tdf#63211: saving embedded images to HTML optionalOliver Specht1-1/+14
This change re-introduces linked images in HTML export but keeps embedded image export in mailmerge e-Mail function Change-Id: I9e956b590f4c675b5954e19e4d3948c36b55f1e6 Reviewed-on: https://gerrit.libreoffice.org/23359 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2016-03-23loplugin:constantparm in svtoolsNoel Grandin20-112/+88
Change-Id: I637efc68d02da527cf543d7e7bfbf51e5e70a1ad
2016-03-21tdf#93837 chart2: Convert shape context menus to xmlMaxim Monastirsky1-13/+0
Change-Id: Ie0589c576b26dd74b9bc16d78a37a01c9bb2985e
2016-03-18convert SvButtonState to scoped enumNoel Grandin3-13/+13
Change-Id: I601f9e2fe33e85cf3f7dc52ee20d68202bd2b09d
2016-03-18convert SvLBoxButtonKind to scoped enumNoel Grandin2-6/+6
Change-Id: Ia8e19473132cf95837acc499c5831b5ca8786a68
2016-03-18drop unused params from SvLBoxItem and all it's subclassesNoel Grandin4-33/+15
looks like this is fallout from commit ac7acb0a "Merged SvTreeListBox and SvLBox." (in year 2012) Change-Id: Iaebeae64fc7cd3ba11f5f45b53bcb65bf906e906
2016-03-17loplugin:constantparam in svtoolsNoel Grandin16-257/+122
Change-Id: I1a3c4a36e29a6712c589ffd3aaada593880d978d Reviewed-on: https://gerrit.libreoffice.org/23304 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-16coverity#1355502 Dereference before null checkCaolán McNamara1-7/+4
Change-Id: I2833454ca4afd9e11a6c0c4fb1386f0dbb0d13d8
2016-03-16coverity#1355503 Dereference before null checkCaolán McNamara1-7/+4
Change-Id: Ie5791423546c15470d0e0aaeb80f8bc9c1c99eeb
2016-03-16loplugin:constantparams in vcl/Noel Grandin3-5/+5
also some improvements to the plugin Change-Id: I0e3a519d70756e577fcb1bd47dd66864b5b4c871 Reviewed-on: https://gerrit.libreoffice.org/23289 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-15remove unnecessary parentheses in case labelsNoel Grandin7-94/+94
Change-Id: I987bf68c767709080c67c8b183c036a4109c6caa
2016-03-15loplugin:constantparamNoel Grandin3-13/+12
Change-Id: I270e068b3c83e966e741b0a072fecce9d92d53f5
2016-03-10coverity#1355504 Dereference before null checkCaolán McNamara2-2/+2
Change-Id: I1f19fa2b55054bff7bb7e34d8a07dcf29fd229be
2016-03-10No need for extern "C" hereStephan Bergmann1-1/+1
...and fix resulting loplugin:salbool fallout Change-Id: I5ae1497608d31c20b0d10676450a7673dee1c651
2016-03-10Avoid reserved identifierStephan Bergmann1-2/+2
Change-Id: I4e846dcfa3325a1b700da0ec16a380b97a9fb2ed
2016-03-10Avoid reserved identifierStephan Bergmann1-4/+4
Change-Id: I47c9613771bb99c43c12dfe43e2d3c2417403b56
2016-03-10Avoid reserved identifiersStephan Bergmann1-39/+39
Change-Id: I0b9e187be888cb1f89b52dcc60edadf6399802d6
2016-03-10Avoid reserved identifiersStephan Bergmann1-4/+4
Change-Id: Ie27122c31703b1a09874d21a686cd0bc54ebbccb
2016-03-10Avoid reserved identifiersStephan Bergmann1-8/+8
Change-Id: Id82db66f932c033491c6014eecdff4cc48f5c083
2016-03-10Avoid reserved identifierStephan Bergmann1-2/+2
Change-Id: I8fa13369070d8364c8f1f574dfa056d021d4c083
2016-03-10Avoid reserved identifierStephan Bergmann3-10/+10
Change-Id: I59b2e4859fab89fb7508b8c929d4d586495c6022
2016-03-10tdf#97344 : Allow focus change using mouse in autofilter popupDennis Francis1-1/+1
Also modified CycleFocus() to skip controls that are disabled. Change-Id: I6d84e0d4aacc719b83c70e92a17f58f1756ff072 Reviewed-on: https://gerrit.libreoffice.org/21922 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2016-03-10Extract Directories from BootstrapFixtureBaseStephan Bergmann1-5/+5
(as some tests derive from the latter only for the Directories part, not for the setUp/tearDown overrides: those tests will be cleaned up next) Change-Id: Ib6b78eea868b8bc21d4cc6e8fd9e1d025deca05f Reviewed-on: https://gerrit.libreoffice.org/23078 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-03-10tdf#89329 Use std::unique_ptr for pImpl in svparserAleksas Pantechovskis1-8/+3
Change-Id: Ia791bade1a1f9d27a48994f8bb380ffec50e23bb Reviewed-on: https://gerrit.libreoffice.org/23072 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-09loplugin:vclwidgetsStephan Bergmann1-1/+1
Change-Id: If4ec250577c6ebdc302b89587f4475713baa4b81