summaryrefslogtreecommitdiffstats
path: root/xmlhelp
Commit message (Collapse)AuthorAgeFilesLines
* Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part11Julien Nabet2014-05-132-6/+6
| | | | Change-Id: Ibe0a1006aba2b6cbd87c0bd6ca3acbf9ba7b0fbe
* Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part9Julien Nabet2014-05-102-7/+7
| | | | Change-Id: I82ed4a4868cb22566706ca0f4b1321e0d45016cf
* simplify ternary conditions "xxx ? yyy : false"Noel Grandin2014-05-051-1/+1
| | | | | | | | | Look for code like: xxx ? yyy : false; Which can be simplified to: xxx && yyy Change-Id: Ia33c0e452aa28af3f0658a5382895aaad0246b4d
* xmlhelp: sal_Bool->boolNoel Grandin2014-05-027-13/+13
| | | | Change-Id: I0aa1b7023b5100fb855a8a839e44036988d8bc2e
* fixincludeguards.sh: some smaller dirsThomas Arnhold2014-04-1918-36/+36
| | | | Change-Id: Ic25bd678dc299627299b22145efd7bebcf2b39d0
* Remove unused codeStephan Bergmann2014-04-152-4/+0
| | | | Change-Id: Ia624a624271b1143c96cd189cc9e4dab4c5ae302
* typo: misformed -> malformedThomas Arnhold2014-04-141-1/+1
|
* Explicitly mark overriding destructors as "virtual"Stephan Bergmann2014-04-016-8/+8
| | | | | | | | It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
* First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann2014-03-2612-158/+158
| | | | | | | ...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
* de-macroize xmlhelp ContentProviderNorbert Thiebaud2014-03-202-23/+66
| | | | Change-Id: I806cd7a263dbe37581c8845b4089a76a7d591628
* kill ucbhelper XTYPEPROVIDER_DECL macroNorbert Thiebaud2014-03-202-3/+9
| | | | Change-Id: I1daf6661dd7b5be396bec980da84feaab6e6b80f
* de-macroize xmlhelp tvfactoryNorbert Thiebaud2014-03-202-66/+4
| | | | Change-Id: Ie4b0e0923ade427f7ab637e8e76769a6dca957c5
* de-macroize xmlhelp TVBaseNorbert Thiebaud2014-03-202-69/+6
| | | | Change-Id: I92e9bc4bbdf18273d26d666d98401cd83a9b1560
* Find places where OUString and OString are passed by value.Noel Grandin2014-03-181-6/+6
| | | | | | | | | | It's not very efficient, because we generally end up copying it twice - once into the parameter and again into the destination OUString. So I create a clang plugin that finds such places and generates a warning so that we can convert them to pass-by-reference. Change-Id: I5341a6ea9e3190f4b4c05c42c85595e3dcd83361
* kill XINTERFACE_IMPL_6Norbert Thiebaud2014-03-051-7/+24
| | | | Change-Id: I1445524d3c15a3dec881c1499910779b9d61b840
* de-macroize XINTERFACE_DECLNorbert Thiebaud2014-03-052-2/+12
| | | | | | | Change-Id: Iaa1cf999189f6b62547c208eadc38150400ca0fe Reviewed-on: https://gerrit.libreoffice.org/8454 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* fdo#54938: Convert some places to use cppu::supportsServiceMarcos Paulo de Souza2014-03-041-6/+3
| | | | | | | | | The last cases are non obvious, so it's pratically done Change-Id: Icae1da8e238f516eaed0f7fbdf96fff778eac547 Reviewed-on: https://gerrit.libreoffice.org/8445 Reviewed-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com> Tested-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
* cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann2014-02-2615-220/+220
| | | | Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
* Remove visual noise from xmlhelpAlexander Wilms2014-02-261-4/+4
| | | | | | | Change-Id: Idd4d9d556d6644350d1a14b9f81f5fd0df8ee2d1 Reviewed-on: https://gerrit.libreoffice.org/8344 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* coverity#708696 Uninitialized scalar fieldCaolán McNamara2014-02-211-5/+7
| | | | Change-Id: If22c709ebab80d626d3d409fd6ba718781cff07d
* Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann2013-12-171-2/+2
| | | | Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
* Remove unnecessary use of OUString constructor in + expressionsNoel Grandin2013-12-172-18/+16
| | | | | | | | | Convert code like aFilename = OUString::number(nFilePostfixCount) + OUString(".bmp"); to aFilename = OUString::number(nFilePostfixCount) + ".bmp"; Change-Id: I03f513ad1c8ec8846b2afbdc67ab12525ed07e50
* Related: fdo#72022 internal links bustedCaolán McNamara2013-12-061-1/+1
| | | | | | regression since 58fa3d50aa43102cea8690fd6bf51fb80c007955 Change-Id: I499704d18872da6f2f01cf955a6496104c53dd3f
* Resolves: fdo#72022 Integrated help ignored if installedCaolán McNamara2013-12-061-1/+1
| | | | | | regression since 58fa3d50aa43102cea8690fd6bf51fb80c007955 Change-Id: Ia20f28daace30181652bbbbec3f9845045db03b4
* fdo#60698: Merge tvhlp1 into ucpchelp1Marcos Paulo de Souza2013-12-029-92/+11
| | | | | | | | | | | tvhlp1 just have 2 files, and this lib is used always with ucpchelp1. By these reasons, we can merge these 2 libs. Change-Id: I515f9c12893c986279ffac91b83879c467b091c7 Reviewed-on: https://gerrit.libreoffice.org/6820 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* remove unnecessary use of OUString constructor when assigningNoel Grandin2013-11-195-12/+11
| | | | | | | | | change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
* remove unnecessary sal_Unicode casts in various placesNoel Grandin2013-11-144-30/+30
| | | | Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
* i123670 - Add support for https linksAriel Constenla-Haile2013-11-131-1/+1
| | | | (cherry picked from commit a2afc19e04f8bb3089cbfef34960ad8f0a3b99bf)
* xmlhelp: include <> for external includesNorbert Thiebaud2013-11-116-7/+7
| | | | Change-Id: I274968e015f1d0c3d06aa5040f53b72d14c45b9f
* convert OUString compareToAscii == 0 to equalsAsciiNoel Grandin2013-11-116-41/+41
| | | | | | | | | | Convert code like aStr.compareToAscii("XXX") == 0 to aStr.equalsAscii("XXX") which is both easier to read and faster. Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
* remove unnecessary use of OUString constructor in XMLHELP moduleNoel Grandin2013-11-074-40/+38
| | | | Change-Id: I033bcf9cddc58f605fe8d65731f8b312410da7e5
* remove redundant calls to OUString constructor in if expressionNoel Grandin2013-11-041-8/+8
| | | | | | | | | Convert code like: if( aStr == OUString("xxxx") ) to this: if( aStr == "xxxx" ) Change-Id: I8d201f048477731eff590fb988259ef0935c080c
* gbuild: set Package default target to INSTDIRMichael Stahl2013-10-281-2/+0
| | | | Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
* xmlhelp: remove Package_xslMichael Stahl2013-10-242-19/+0
| | | | Change-Id: Id0a5213b39886e2f6929f7ff2c014ed861d1da91
* valgrind: on success aHDFData is out of scopeCaolán McNamara2013-10-241-1/+1
| | | | | | and pData points to data belonging to it Change-Id: I2a3c1f73e4cdcb07d21ef14cb410d351f39cdba8
* pEmpty is completely insane to useCaolán McNamara2013-10-241-4/+2
| | | | | | | DbtToStringConverter protects against a NULL pointer, but not a pointer to the too short data that pEmpty provides Change-Id: I5d21e852ce0373eff7d3627e266b9cbc77f5dd09
* clean up some include guardsThomas Arnhold2013-10-231-2/+2
| | | | | | | | | | Conflicts: sw/source/ui/inc/content.hxx Change-Id: I58d81881271fc6e3320bf3b5f1321594b28614a6 Reviewed-on: https://gerrit.libreoffice.org/6388 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* fdo#54938: Adapt supportsService implementations..Marcos Paulo de Souza2013-10-221-9/+2
| | | | | | | | | to cppu::supportsService Change-Id: I0b03d3910f094f2183bf9859db9d5bcaf35d1f14 Reviewed-on: https://gerrit.libreoffice.org/6370 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* cleanupThomas Arnhold2013-10-161-2/+1
| | | | Change-Id: I7bfd221f89718ba8634417c93a26b3a199178694
* CID#705780 seeing as this is irredeemably wrong remove itCaolán McNamara2013-10-033-54/+1
| | | | | | | | This is catastrophically wrong, just appear to be lucky that this code path is never called, so remove it entirely rather than mess around fixing it Change-Id: I4a8a443ed20b7e11cd9cc69b3d66d28087f09db8
* Try to fix cross-compilationTor Lillqvist2013-09-231-1/+1
| | | | | | | | Add more FOO_FOR_BUILD variables and some gb_Foo_for_build functions. Get rid of gb_INSTROOT and gb_DEVINSTALLROOT, just use INSTROOT. Change-Id: Iee531b02d14fae41edb68ad589a5dec829a60255
* CID#707598 uninitialized scalar valuesCaolán McNamara2013-09-211-0/+1
| | | | Change-Id: Id3c6488cfda25ab809bf554216bf2e5161456be0
* Towards a working instdir for Mac OS XStephan Bergmann2013-09-111-1/+1
| | | | | | | | | | | | | | | | | Introduced gb_INSTROOT, which is the same as $(INSTDIR) except for Mac OS X, where it is $(INSTDIR)/LibreOffice.app/Contents. Most stuff ends up there (so most occurrences of $(INSTDIR) have been replaced with $(gb_INSTROOT)), but SDK- related stuff goes to $(INSTDIR)/$(gb_Package_SDKDIRNAME). (And GeneratedPackage needed to be made more flexible, to allow for packages that go into either of those two places.) For Android and iOS, gb_INSTROOT probably still needs to be set. The most obvious missing thing yet to make instdir work for Mac OS X is the instdir/*/LibreOffice.app/Contents/ure/ vs. instdir/*/LibreOffice.app/Contents/ure-link/ split. Change-Id: I4478edd27b14c92c96d92d5169bdca3ec50d78f5
* finish deprecation of O(U)String::valueOf()Luboš Luňák2013-08-211-1/+1
| | | | | | | Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
* Further work on the "Mac-like app structure" optionTor Lillqvist2013-08-182-7/+3
| | | | | | | Lots of stuff still either ended up in the wrong place, or was looked up from the wrong place, or both. Fix most cases. Change-Id: I06ebbce207c219f3cd82b4387dd9b3fdb83420d4
* Use subfolder names from <config_folders.h>Tor Lillqvist2013-08-181-1/+1
| | | | | | | | Change all instances of hardcoded "program", "share" etc subfolder names to use those from <config_folders.h> instead. In normal builds, the end result will not change. Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
* fdo#57950: Remove some chained appends in xmhelpJelle van der Waa2013-08-133-38/+13
| | | | | | | Change-Id: I4680547aa1d12d3e8eab3c33e3158845848c2068 Reviewed-on: https://gerrit.libreoffice.org/5376 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
* fdo#62475 removed pointless commentsJelle van der Waa2013-08-1012-265/+0
| | | | | | | Change-Id: I4fa01553246fa023806b3fec8e6e756a1efa59f1 Reviewed-on: https://gerrit.libreoffice.org/5342 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
* remove OUString wrap for string literalsThomas Arnhold2013-06-292-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For some functions and all kinds of Exceptions. CannotConvertException CloseVetoException DisposedException EmptyUndoStackException ErrorCodeIOException Exception GridInvalidDataException GridInvalidModelException IOException IllegalAccessException IllegalArgumentException IllegalTypeException IndexOutOfBoundsException NoMasterException NoSuchElementException NoSupportException PropertyVetoException RuntimeException SAXException ScannerException StorageWrappedTargetException UnsupportedFlavorException VetoException WrappedTargetException ZipIOException throwGenericSQLException throwIllegallArgumentException createInstance createInstanceWithContext forName getByName getPackageManager getPropertyValue getUnpackedValueOrDefault getValueByName hasPropertyByName openKey setName setPropertyValue supportsService bash command: for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx' | cut -d ':' -f1 | sort -u | xargs sed -i -e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g" -e "s/\($i.*\)\"+ /\1\" + /g"; done Change-Id: Iaf8e641b0abf28c082906014f87a183517630535 Reviewed-on: https://gerrit.libreoffice.org/4624 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* remove some createFromAscii usageThomas Arnhold2013-06-291-1/+1
| | | | | | | | there are a lot more of them: git grep 'createFromAscii[^)]*"' Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424