Commit Graph

117 Commits

Author SHA1 Message Date
Noel Grandin
46791546a8 cppcheck:noExplicitConstructor
Change-Id: I940714e303b905b756ba077eeda6c41746bd421f
2015-08-07 08:14:34 +02:00
Stephan Bergmann
3099c70b11 Fix various XServiceInfo implementations
...to match what is recorded in the .component files

Change-Id: Ie548cd37872d3b8540222201afaac73040e65c8f
2015-03-17 12:25:11 +01:00
Stephan Bergmann
7f09f384b2 shell: Use appropriate OUString functions on string constants
Change-Id: I3b2c0a4200fa953162f40eff49289052962e73d2
2014-12-18 14:12:32 +01:00
Noel Grandin
0371a63365 remove unnecessary 'using namespace rtl' declarations
It turns out that almost none of them were necessary.

Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83
Reviewed-on: https://gerrit.libreoffice.org/12133
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-29 11:28:54 +00:00
Stephan Bergmann
5253732ca6 Fix some *_component_getFactory function types
Change-Id: I8e7cc2d26df27e2eb48ddec53ea0a4f1d1381e23
2014-08-28 16:40:02 +02:00
Noel Grandin
ebc0a15515 remove more unnecesary OUString constructor use
when throwing exceptions

Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
2014-05-29 09:01:40 +02:00
Caolán McNamara
22a7f8b1f5 coverity#982766 Dereference null return value
Change-Id: Ic9efce80ea2c2489e3ef070ac4c6106c811e9889
2014-03-28 13:13:59 +00:00
Stephan Bergmann
70cc2b191b First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
Stephan Bergmann
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
Alexander Wilms
d18a2753d5 Remove visual noise from shell
Change-Id: I1857fd7a9aeda38cb8ef2a0eda7783203b7658ed
Reviewed-on: https://gerrit.libreoffice.org/8311
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 07:55:24 -06:00
Alexander Wilms
0ce0c369aa Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23 03:38:49 +00:00
Stephan Bergmann
9ed364774c Adapt all (non-extension, SharedLibrary) .components to environment="..."
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17 11:06:00 +01:00
Stephan Bergmann
89b1a0419f -Werror,-Wunused-exception-parameter
Change-Id: Ia5b7f7629a07b84b4e8042aa7f8778faa4a11b50
2013-11-14 10:14:58 +01:00
Noel Grandin
da20c7f439 remove unnecessary use of OUString constructor in SHELL module
Change-Id: Ibdb750dc8e0f4cd0f186d5801c0a269edd939547
2013-11-08 14:50:59 +02:00
Thomas Arnhold
48dd3571f8 fixincludeguards.sh: shell
Change-Id: I987c54b15c271fc80b7efd25933e13950f974423
2013-11-05 09:28:53 +01:00
Marcos Paulo de Souza
704f95e525 fdo#54938: More uses of cppu::supportsService
Change-Id: I90a7a07a43559b8d7e1d4b886b2624255200d46b
Reviewed-on: https://gerrit.libreoffice.org/6406
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-25 08:19:58 +00:00
Tor Lillqvist
c6a7300974 Use subfolder names from <config_folders.h>
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
2013-08-18 21:11:16 +03:00
Jelle van der Waa
34f50399f1 fdo#43460 shell,vcl,xmlreader: use isEmpty()
Change-Id: Ie3d16da6c246b79c4c304b21476f84b2788f0d6e
Reviewed-on: https://gerrit.libreoffice.org/4444
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-24 09:00:20 +00:00
Prashant Pandey
8398d5d9ac fdo#62096: Replaced some OUString 'compareTo' with '=='
Change-Id: I1d095cf5640595789f4ae99f1b0679be88b0baa9
2013-04-10 10:09:56 +02:00
Luboš Luňák
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
Thomas Arnhold
4f4e4e40f5 loplugin: improve indentation
Change-Id: Idb847766d93dc222d6c55889616da21eeac212ee
2013-02-25 17:59:40 +01:00
Noel Grandin
591ef78440 fdo#46808, Use singleton util::theMacroExpander new-style constructor
And deprecate the old-style service util::MacroExpander

Change-Id: Ifcefe31a8f8c68c6d44d6ec19616727eb607e1cd
2013-02-11 08:02:13 +02:00
Julien Nabet
a96ae2104d Some cppcheck cleaning
Change-Id: I39e1dd985af6029e1fd688ff47350734c85928a6
2013-01-31 22:55:41 +01:00
Marcos Paulo de Souza
e9aff4b508 fdo#57950: Remove some chained appends in shell
And remove some *STRINGPARAM macros.

Change-Id: Idebee475e4b383f5f390040515bdfa7c49a24c1d
Reviewed-on: https://gerrit.libreoffice.org/1682
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-15 18:17:17 +00:00
Thorsten Behrens
66a175834c c++ API: use css alias in generated headers, adds global css decl
This changes all generated API headers (.hpp and .hdl) to use a
namespace alias 'css' instead of the pointlessly long com::sun::star

Makes the change in cppumaker & associated tools, adds a global
namespace alias definition in sal/types.h, and removes a kiloton
of local, now pointless-to-harmful versions of that alias from all
over the code.

Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30 14:36:36 +01:00
Michael Meeks
c4008ef546 re-base on ALv2 code. Includes:
tkr41: #117828# office crash fixed . (null pointer) + add unit test
    Patch contributed by Tobias Krause
    http://svn.apache.org/viewvc?view=revision&revision=1172105

    Do not add targets for junit tests when junit is disabled.
    Patch contributed by Andre Fischer
    http://svn.apache.org/viewvc?view=revision&revision=1241508

    remove the OutDev::GetKernPair* stubs completely
    Patch contributed by Herbert Duerr
    http://svn.apache.org/viewvc?view=revision&revision=1179221

    reverting un-necessary OS/2 conditionals.
2012-10-03 16:56:06 +01:00
Tor Lillqvist
565acfef76 Use prefix
Change-Id: Ife93e37f8b24f3ce96b55c5a221f0f929b789f60
2012-10-02 12:07:06 +03:00
Stephan Bergmann
6fb127a62e Replace use_internal_api with use_udk_api etc. where appropriate
Change-Id: I5e216ca01830a6568159ee8e9265938667f201a1
2012-08-22 15:12:22 +02:00
Thomas Arnhold
2beba8f93e reduce ascii noise and useless comments
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-08 13:53:54 +02:00
Thomas Arnhold
49ad17e2b1 remove include comments and boxes
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-08 13:53:53 +02:00
Thomas Arnhold
00240d0497 Remove unused defines
Change-Id: Ic36b131ee9964a6671f7f41e1cad1631c43ad565
2012-07-01 18:33:42 +02:00
Michael Stahl
1ab899c4c8 .xml files don't need executable bits
Change-Id: I399d086181a9f513cd95157e815551f0be9b9e95
2012-06-22 22:39:31 +02:00
Michael Meeks
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Norbert Thiebaud
de0c09bb42 targeted string re-work
Change-Id: I6eb2242506ef2d230770e513579caf4455ec37d5
2012-06-02 22:43:34 -05:00
David Tardon
d4efa8b0cf gbuildize shell
Change-Id: I91a89f9d0bd1eb88a94179f1c1a41bc832599fed
2012-05-29 07:33:44 +02:00
Michael Stahl
9345437f36 .txt files don't need executable bits 2012-03-23 21:58:18 +01:00
Michael Stahl
9429bbb0c4 .component files don't need executable bits 2012-03-23 21:58:14 +01:00
Stephan Bergmann
d4b67611c4 Introduced SystemShellExecuteFlags::URIS_ONLY 2012-03-16 15:01:26 +01:00
Elton Chung
23af031b09 Fix typos in comments 2012-02-18 09:35:43 +00:00
Tor Lillqvist
a6ed487d97 Decrease verbiage a little bit 2012-01-27 15:52:23 +02:00
Stephan Bergmann
7c704c78d3 Removed some unused parameters; added SAL_UNUSED_PARAMETER.
SAL_UNUSED_PARAMETER (expanding to __attribute__ ((unused)) for GCC)
is used to annotate legitimately unused parameters, so that static
analysis tools can tell legitimately unused parameters from truly
unnecessary ones.  To that end, some patches for external modules
are also added, that are only applied when compiling with GCC and
add necessary __attribute__ ((unused)) in headers.
2012-01-21 15:21:16 +01:00
Olivier Hallot
806dce17d6 Fix for fdo43460 Part XXXIV getLength() to isEmpty()
Part XXXIV
Modules
shell, slideshow, sot, starmath
2012-01-11 18:43:07 -02:00
Takeshi Abe
5451e9c702 catch exception by constant reference 2011-12-26 03:38:50 +09:00
Norbert Thiebaud
53223466d6 remove include of pch header from shell 2011-11-27 13:21:45 -06:00
Tor Lillqvist
c7524e9441 Bypass more stuff on non-desktop OSes and enforce "lib" prefix for Android 2011-11-26 00:23:45 +02:00
Stephan Bergmann
d550bc3f45 Undo basis/brand split: move some auxiliary executables from basis to brand. 2011-10-06 22:36:31 +02:00
Stephan Bergmann
6671fa81db Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *(). 2011-09-27 20:22:03 +02:00
Tor Lillqvist
e012efa0b6 chmod -x 2011-08-22 22:38:36 +03:00
Thomas Arnhold
a60c9b6889 Kill dtwm/cde 2011-07-22 01:25:08 +02:00
Matúš Kukan
a90983bd65 Remove component_getImplementationEnvironment methods 2011-07-12 17:59:13 +02:00