373 Commits

Author SHA1 Message Date
Norbert Thiebaud
d92aa2f445 remove SFX_APP() macro that was a mer wrapper for SfxGetApp()
Change-Id: I480a789c767dd671775c9d70d96bf71908f21f5b
2014-06-27 17:08:04 +02:00
Thomas Arnhold
b312a38797 update_pch: add a bunch of pch files
desktop:    1m51s ->   54s
 framework:  1m55s -> 1m04s
 package:      32s ->   16s
 sdext:      1m31s ->   47s
 svgio:        32s ->   15s
 uui:          49s ->   20s
 vbahelper:  1m44s ->   27s
 xmlscript:    15s ->   10s
 xmlsecurity:  45s ->   23s

Change-Id: Ia437969c091bf877983ababc5ea2d044bbc0bee0
2014-06-04 21:18:37 +02:00
Julien Nabet
ac76cc7e60 Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part20
Change-Id: If87cdfb2c605254f6d69baa4ca5aec09091caa68
2014-05-23 22:11:52 +02:00
Noel Grandin
e7bc3cab01 remove boilerplate in UNO Exception constructor calls
Now that we have default values for Exception constructor params,
remove lots of boilerplate code.

Change-Id: I620bd641eecfed38e6123873b3b94aaf47922e74
2014-05-23 15:06:00 +02:00
Julien Nabet
a362f15f85 Typo: shoud -> should
Change-Id: I44f4fb9682a56af6654e1f7462dc37557d60e735
2014-05-13 23:26:20 +02:00
Noel Grandin
79cf53cb3b vbahelper: sal_Bool->bool
Change-Id: I9fd549bd4ad8f67f83db6a864aa86d0c7310d43e
2014-05-08 11:48:13 +02:00
Noel Grandin
17dcf76ef8 vbahelper: sal_Bool->bool
Change-Id: Ibf21ce17a8e743701f1011e1620f26b93f952991
2014-05-02 08:49:23 +02:00
Caolán McNamara
833067c870 coverity#707469 Uncaught exception
Change-Id: I93bb55b339dcc6a177d7403760703a895cebc805
2014-04-24 17:16:36 +01:00
Caolán McNamara
76e998d7dd coverity#707474 Uncaught exception
Change-Id: I42b3dd934f7aadd2cd7d71e7e22242b504af8825
2014-04-24 17:16:36 +01:00
Caolán McNamara
d8fa21bd11 hmm, need a rethink on these exceptions
Change-Id: I0d91e142d719b946f65ed704b06371d00534ad78
2014-04-24 13:26:57 +01:00
Caolán McNamara
cf058da1e5 coverity#707475 Uncaught exception
Change-Id: I4c9da1bb21e55578fc81e4c5b3133cbd639711cc
2014-04-24 11:10:00 +01:00
Caolán McNamara
6b260f17e9 coverity#707476 Uncaught exception
Change-Id: I667867d0333d9d82db3218e2645741a2327cd8fe
2014-04-24 11:10:00 +01:00
Caolán McNamara
4d225d3e7f coverity#707477 Uncaught exception
Change-Id: Ie91515b0cd0fcf5a1b3bc7b2d394927dafa851ea
2014-04-24 11:10:00 +01:00
Caolán McNamara
b6804259c5 coverity#707478 Uncaught exception
Change-Id: Ib967053b7d306d18c69843da39646d69540f081f
2014-04-24 11:10:00 +01:00
Caolán McNamara
cc44da64b1 coverity#707479 Uncaught exception
Change-Id: I4a1c43dab2814ed66f1785b91ead76407e32de46
2014-04-24 11:09:59 +01:00
Caolán McNamara
c27fb22432 coverity#707461 Uncaught exception
Change-Id: I73d469744605e788c3b5710b38ef846a444cff68
2014-04-23 09:40:04 +01:00
Thomas Arnhold
2dfd639916 fixincludeguards.sh: sc
sorry, huge one...
2014-04-19 11:10:10 +02:00
Thomas Arnhold
618a0f8c03 whitespace for include statements
Change-Id: I76bd0ef07a2fa134e948724cecdf539ffe6ccb8a
2014-04-15 13:43:13 +02:00
Stephan Bergmann
e04c36b459 Clean up function declarations
Change-Id: I0602166c8e6485b68e06bbcc9f0064938facd3fa
2014-04-14 14:23:33 +02:00
Thomas Arnhold
18c7992d7f no need for those static strings 2014-04-14 12:31:54 +02:00
Julien Nabet
091f4f14c5 cppcheck: multiCondition, remove 2 duplicate "else if" blocks
Change-Id: I538bacd0e52a5e7d5df9847ad4632e02124aeb95
2014-04-12 23:25:20 +02:00
Caolán McNamara
2a14903786 fix colon
Change-Id: Ibeaa20a99d7b027dee26e591bb19bd61a3aed8a2
2014-04-05 21:15:16 +01:00
Caolán McNamara
0825c92c0b coverity#708570 Uninitialized scalar field
Change-Id: I0b5a12181d67db6b096807b7b32836214c71ebc8
2014-04-05 21:11:46 +01:00
Noel Grandin
5babf1b903 remove unnecessary scope qualifier from sal_Bool uses
i.e. convert "::sal_Bool" to "sal_Bool"

Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-03 13:54:02 +02:00
Noel Grandin
ba73873ea7 vbahelper: sal_Bool->bool
Change-Id: Ic4bcc2fa02426e1995d08a6992cc5b35777c1c9a
2014-04-03 09:17:51 +02:00
Stephan Bergmann
6d20b453b6 coverity#1194895 Logically dead code
Change-Id: I24e8ee88a1efdfaa7cedf996bd2d3bb05fbd4dc6
2014-04-02 10:52:04 +02:00
Stephan Bergmann
362d4f0cd4 Explicitly mark overriding destructors as "virtual"
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
2014-04-01 19:22:54 +02:00
Stephan Bergmann
567ef6d578 Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27 18:12:18 +01:00
Caolán McNamara
2196d1b750 coverity#982489 Unchecked dynamic_cast
Change-Id: I6211295884a2ddd4d2b1bfa2a9e1c2d31e6559da
2014-03-19 15:37:57 +00:00
Noel Grandin
fddde2b74a xmloff,vbahelper: prefer passing OUString and OString by reference
Change-Id: I8b7e4284c122549c03edaa7f3963cbfb2024b3fc
2014-03-13 15:05:31 +02:00
Stephan Bergmann
25cedf1dc7 Introduce com.sun.star.beans.theIntrospection singleton
...deprecating com.sun.star.beans.Introspection (single-instance) service.

Change-Id: Ica2e3a3541c7dcb1aab79222c5abf40d6988c882
2014-03-07 10:33:07 +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
d304c532e8 Remove visual noise from vbahelper
Change-Id: I068c2a73a3ae487aff7c5451545d3e0aee50b1da
Reviewed-on: https://gerrit.libreoffice.org/8338
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26 07:13:32 -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
Matúš Kukan
ffaa20a1de ScVbaButton -> VbaButton in vbahelper, the same name is in sc/source/ui/vba.
Change-Id: Id85002ba80335a2a7c662cb1189ecabb05bbf8b9
2014-02-21 07:52:24 +01:00
Caolán McNamara
b44ba1ace8 coverity#707460 Uncaught exception
Change-Id: I8157893addbf805a18deac5034098dfda125a631
2014-02-13 14:56:18 +00:00
Matúš Kukan
4ff873bda2 Introduce com.sun.star.ui.theWindowStateConfiguration singleton.
Change-Id: I50861ac8952d54cb1a45846ea72a2ecac4f83409
2014-02-06 12:03:28 +01:00
Norbert Thiebaud
4f957dc0c7 coverity#735370 : signed/unsigned mixup
Change-Id: I98366335430ba5ede4e46e1e9ec6488739e2099a
2014-01-31 21:27:24 -06:00
Matúš Kukan
19e16083c6 Introduce com.sun.star.ui.theModuleUIConfigurationManagerSupplier singleton.
Change-Id: I7b503e5d49865c9ff287bf72eaff1995ce871790
2014-01-30 10:48:25 +01:00
Stephan Bergmann
2cfe889453 bool improvements
Change-Id: I7b599df68b5004b5a1c9e5328e40d07bf3f388b4
2014-01-28 20:26:19 +01:00
Caolán McNamara
df3c3ed1f0 coverity#738968 Unused pointer value
Change-Id: I0fabc525f5c052823946da93587ff1caaada9ab1
2014-01-27 17:03:07 +00:00
Stephan Bergmann
d980ba7a9d bool improvements
Change-Id: I9eebb02ff295bf5713ce39fabd38a7a0d10b89f4
2014-01-22 08:22:33 +01:00
Tor Lillqvist
e1b14fa655 Fix syntax error
Change-Id: I3967658c001479d0adc7a0f60dea97d1c0c64eb2
2014-01-07 10:11:02 +02:00
Noel Grandin
82625bb98e remove unnecessary sal_Unicode casts in OUStringBuffer::append calls
Convert code like:
    buf.append( static_cast<sal_Unicode>('!') );
to:
    buf.append( '!' );

Change-Id: Iacb03a61de65a895540940953b49620677b3d051
2014-01-07 09:43:37 +02:00
Andras Timar
b55259eeb5 typo fixes
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-20 15:55:00 +01: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
83e191e25d Do not use C++-UNO internal static_type functions in client code
...use cppu::UnoType instead.

Change-Id: I507914b30ef8acda910ee4ecc0589fd328eb6f31
2013-12-12 11:10:10 +01:00
Noel Grandin
610b2b94b3 remove unnecessary use of OUString constructor when assigning
change code like
   aStr = OUString("xxxx");
to
   aStr = "xxxx";

Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-19 10:29:31 +02:00
Stephan Bergmann
24cad6a649 Move MediaDescriptor from comphelper to unotools
...so it will be able to use SvtSecurityOptions internally.

Change-Id: Id7433247e8fc53651935578510bedbcca5aa2ac9
2013-11-14 11:13:24 +01:00
Noel Grandin
d366c9b20e remove unnecessary sal_Unicode casts in various places
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-14 08:17:32 +02:00