summaryrefslogtreecommitdiff
path: root/xmlhelp
AgeCommit message (Collapse)AuthorFilesLines
2016-04-18clang-tidy performance-unnecessary-copy-initializationNoel Grandin2-24/+19
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-14clang-tidy performance-unnecessary-value-param in variousNoel Grandin4-22/+22
Change-Id: I7168d44dab8e6a8e37bb7920d744ff32f5e52907 Reviewed-on: https://gerrit.libreoffice.org/24019 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-14loplugin:passstuffbyref in variousNoel Grandin2-12/+12
Change-Id: I80070c83204e531c2f599f8a56193d6ffe0e5022
2016-04-04reduce unnecessary reallocingNoel Grandin1-6/+7
Change-Id: I01880cfecdab4addb358c74cbcdc02c98c0d6224 Reviewed-on: https://gerrit.libreoffice.org/23764 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-03-08new loplugin:constantparamNoel Grandin2-5/+3
finds parameters that are only ever being called with a single value Change-Id: Ibd0c9b6e6dbc1d1b5d5a005eaa19959560a6e50f
2016-02-23new loplugin: commaoperatorNoel Grandin1-1/+3
Change-Id: I03f24e61f696b7619855e3c7010aa0d874e5a4ff
2016-02-19new loplugin: find write-only fieldsNoel Grandin5-78/+0
Change-Id: I0f83939babacf92485420ee63f290a297d7cb717 Reviewed-on: https://gerrit.libreoffice.org/22498 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-17use consistent #define checks for the Windows platformNoel Grandin1-2/+2
stage 2 of replacing usage of various checks for the windows platform with the compiler-defined '_WIN32' macro In this stage we focus on replacing usage of the WIN macro Change-Id: Ie8a4a63198a6de96bd158ecd707dadafb9c8ea84 Reviewed-on: https://gerrit.libreoffice.org/22393 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-09Remove excess newlinesChris Sherlock9-42/+0
A ridiculously fast way of doing this is: for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \ --exclude-dir=workdir --exclude-dir=instdir '^ {3,}' .) do perl -0777 -i -pe 's/^ {3,}/ /gm' $i done Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c Reviewed-on: https://gerrit.libreoffice.org/22224 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-25InterfaceContainer2 with vector instead of SequenceNoel Grandin2-7/+7
create an InterfaceContainer2 class to replace InterfaceContainer. It uses a std::vector instead of a Sequence for the mutable listener list, which provides far better performance. Switch all our internal use-sites to the new class. Change-Id: I6b56cfa511ded2395faa22e68fab3b2f16c3cb88
2016-01-10Fix typosAndrea Gelmini1-1/+1
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-05Simplify codeStephan Bergmann1-15/+8
Change-Id: I28cff254d2cc1e2abe6fc893d918bd84bfc8645c
2016-01-05Clean up configuration accessStephan Bergmann3-172/+20
Change-Id: I0662e8ddb24f2c6a7197b8a5f23c219484628b78
2016-01-04tdf#96855: Put back assignment of xHierAccessStephan Bergmann1-0/+2
...that had inadvertently been removed as part of a larger code removal in 6948c546fdc00dddec7d58e03150dcc87921d6b2 "tdf#75637: Resolve help images via a vnd.libreoffice.image UCP" Change-Id: Ic2d5e1a5fa5a10b240bb9e511e6dcb8097e58081
2015-12-21loplugin:unusedfields in xmlhelp,xmloffNoel Grandin3-12/+0
Change-Id: I4d2f0ff95da5abaa3d0a0a5223616e09e0c476fc
2015-12-21loplugin:unusedmethodsNoel Grandin2-20/+0
Change-Id: Ifafdaf6da0225f244853a0042a6458643b570623
2015-11-26-Werror,-Wunused-private-fieldStephan Bergmann1-8/+0
Change-Id: I4649381a330bc4e9d4f419137f0393f6f35bea17
2015-11-26loplugin:unusedfields variousNoel Grandin7-14/+4
Change-Id: I18f94269a1172cf195ee402384f7144610e1e82d
2015-11-25com::sun::star->css in xmlhelpNoel Grandin16-472/+462
Change-Id: Iaa57a071f8f0e6945d24f019cb4c06e02d066e0a Reviewed-on: https://gerrit.libreoffice.org/20147 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-24loplugin:unusedfields in xmlhelp/Noel Grandin12-39/+5
Change-Id: I1db28ad3670c166201050a4e19a50ec13a82fa76
2015-11-15use initialiser for Sequence<OUString>Noel Grandin1-2/+1
using variations of: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\)\; \s*OUString\* pArray.*; .*\[0\]\s*=\s*(\S+)\;/Sequence<OUString> \1 { \2 };/g" Change-Id: I03c64334ff30ee14dce0d17b67f5122a3893bbe3 Reviewed-on: https://gerrit.libreoffice.org/19971 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin1-2/+1
replaced using: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<\s*OUString\s*> (\w+)\(\s*1\s*\); .*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g" Change-Id: I20ad0489da887a9712982531c3b127339bb8b3b9 Reviewed-on: https://gerrit.libreoffice.org/19969 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-12Killed the 'lastedited' element, it's useless, we have git.Jan Holesovsky1-3/+0
Change-Id: I61a7f92843ef888f64eb5b97267ba30227d64d73
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann13-64/+64
Change-Id: Ibdc68ac3fa6e1424337096c720c8c9605b767480
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann2-5/+5
Change-Id: I9ee0d12d68cef7bd65d1e119d0272e356e7cf300
2015-11-05use uno::Reference::set method instead of assignmentNoel Grandin6-16/+12
Change-Id: I60e52ef2abc3107ba77e81811dfe1bffbfd77218
2015-11-04yyyyyNoel Grandin1-5/+5
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
2015-11-01no need to use OUString constructor in call to createInstanceNoel Grandin1-4/+2
Change-Id: Iaf3d83ba1490cb1d97a5bd4d1f7cd6943d4a7296 Reviewed-on: https://gerrit.libreoffice.org/19704 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-30UNO: no need to use OUString constructor when calling createInstanceNoel Grandin3-3/+3
Change-Id: I37da28539b94706574116d0fff5f008aabfb5526 Reviewed-on: https://gerrit.libreoffice.org/19682 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-27xmlhelp: apparently "picture.jar" hasn't existed for a long timeMichael Stahl3-82/+9
Change-Id: I9ac46ffcf21e8af2cb3b92d4068981cafb271ebc
2015-10-26tdf#75637: Resolve help images via a vnd.libreoffice.image UCPStephan Bergmann5-168/+31
...which uses the logic already available in VCL's ImplImageTree to locate the image zip files and find fallbacks for incomplete themes and for localized images. Change-Id: Ic1c15fcacb6596a27a2b051093232902202bf472
2015-10-26...but do not erase localize attributes from image elementsStephan Bergmann1-0/+5
...as these are used in xmlhelp/util/main_transform.xsl at runtime Change-Id: I097cb79f660386d7fa2d97e7115f689a1e442fe2
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann11-156/+156
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann1-2/+2
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-12loplugin:mergeclassesNoel Grandin1-13/+4
Change-Id: Ic02d59708670949c3342566753882eebd086438f
2015-09-30xmlhelp: -GR is added by default in com_MSC_defs.mkMichael Stahl1-6/+0
Change-Id: Ibd2c851cef3c26a37c05b894e7487e460470fecf
2015-09-29Fix typosAndrea Gelmini1-1/+1
Change-Id: If2e4adb2ce93c02ee14d831eedf4ef31da04b92d Reviewed-on: https://gerrit.libreoffice.org/18996 Reviewed-by: Joren De Cuyper <jorendc@libreoffice.org> Tested-by: Joren De Cuyper <jorendc@libreoffice.org>
2015-09-15Resolves: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe2-4/+4
with the variadic variants. Change-Id: I7154f9472f02fdf47d27ba715db55bb1ec669a8a Reviewed-on: https://gerrit.libreoffice.org/18580 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-13xmlhelp: Add missing includeDavid Ostrovsky1-0/+2
Change-Id: Ie369f00a745dba82c8966f51886d74a8a9a7c1ff Reviewed-on: https://gerrit.libreoffice.org/18523 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2015-08-31loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann1-1/+1
Change-Id: I816d2205dcd01d4566054da33439e943a3c6348b
2015-08-19Consolidate isFileUrl checksStephan Bergmann1-2/+2
Change-Id: I1b74fdfaa09c4d0d6c296253958e83e78b546a9a
2015-07-30loplugin:unusedmethodsNoel Grandin2-13/+0
Change-Id: Ib4d77ee01e7362f5951f81fceeca3c489872d971 Reviewed-on: https://gerrit.libreoffice.org/17378 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-27inline a bunch of use-once macrosNoel Grandin2-5/+2
no point in having a macro unless it's actually going to reduce the number of lines of code Change-Id: Ic8760d6506cf272d7bd088f7b3b4dcbf288099fc
2015-07-08xmlhelp: remove obsolete GCC 4.2 warning stuffMichael Stahl1-13/+0
Change-Id: Ica1e7430ac7dc9fc61c8135498a0470ba5f1ab81
2015-07-08Fix typosAndrea Gelmini1-3/+3
Change-Id: I020c7ce4d9aa93cb0292378a410cdb9f7788e920 Signed-off-by: Michael Stahl <mstahl@redhat.com>
2015-07-07Remove unused XmlSearchExceptions.hxxStephan Bergmann3-61/+0
Change-Id: Iff364452d72c49f6484bed1520b5d2a17c342ddf
2015-07-07-Werror,-Wunused-private-fieldStephan Bergmann4-60/+8
Change-Id: I80da554ab15450ff6aa13575784ee8f64ca506db
2015-07-07loplugin:unusedmethods xmlhelpNoel Grandin7-114/+6
Change-Id: Iaaeb6e6f928c6e40112b6c852a6868e1f4abdc47 Reviewed-on: https://gerrit.libreoffice.org/16793 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-03Fix typosAndrea Gelmini1-1/+1
Change-Id: I98b4dfb0f72f315065693335e2f882bb2eed3afe Reviewed-on: https://gerrit.libreoffice.org/16713 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2015-06-24Get rid of comphelper::string::is*Ascii functionsStephan Bergmann2-4/+3
Change-Id: I99912112e5b009d7a143f9816d757cdf6ebb1783