Bryan Quigley
eaa7f30102
Remove gnome-open support
...
Gnome-open has been deprecate for some time. xdg-open replaces it.
Change-Id: I7fc0f32a1f2fbadbe3d1cee58d0089213665c3a5
Reviewed-on: https://gerrit.libreoffice.org/20347
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Michael Stahl <mstahl@redhat.com >
2015-12-17 13:56:22 +00:00
Pedro Giffuni
7cc31b68c4
Do not assume time_t is long.
...
time_t is long on some platforms but not on all.
This plagues a warning on FreeBSD.
Taken from: Jung-uk Kim
(cherry picked from commit 1c030e286ac7a82eaa5b87c0f950894ab6be5027)
2015-12-11 09:36:08 +00:00
Mike Kaganski
3149c04bb7
Resolve Linker Warning LNK4104
...
See https://msdn.microsoft.com/en-us/library/e821azx1.aspx
Some export symbols should be PRIVATE
Also, don't export DLLMain. It is internal function
used by CRT, and not intended to be exported.
Change-Id: I48139b985aa2ee499c2005d8b0d966a2cc6dcd0c
Reviewed-on: https://gerrit.libreoffice.org/20419
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Matúš Kukan <matus@libreoffice.org >
2015-12-08 19:34:59 +00:00
Stephan Bergmann
9c49ece604
-Werror,-Wdelete-non-virtual-dtor
...
"thumbviewer.cxx(168,9) : error: delete called on 'StreamOnZipBuffer' that has
virtual functions but non-virtual destructor"
Change-Id: I34510d54b9a99d8f1f9e8da0236625023c3fd94c
2015-11-28 08:44:51 +01:00
Stephan Bergmann
b98febded4
-Werror,-Wduplicate-decl-specifier (extern "C" already in STDAPI)
...
Change-Id: I2f170c8ad2ef30f49062fdeee4bcdcf5baf552db
2015-11-28 08:44:51 +01:00
Stephan Bergmann
feea3810b7
-Werror,-Wunused-function
...
...since ce59f88514 "INTEGRATION: CWS
desktintgr03: #i34294#" commented out the uses (whicht got later removed
completely with 45f0cc2ec1 "Remove commented code
in libs-core/shell")
Change-Id: Icb7f97b72634d07045f5880af33b372be36e66b2
2015-11-28 08:44:51 +01:00
Noel Grandin
018bacf44a
loplugin:unusedfields in shell/
...
Change-Id: I3a3f7144483cebaad6d64588ff0570f29ab24e27
2015-11-23 13:30:54 +02:00
Michael Stahl
e5c55a6f99
shell: rename CppunitTest to the same name as the makefile
...
Change-Id: I3d1ef0573a460a3101cb8c9afd30162397d8012c
2015-11-20 14:04:24 +01:00
Stephan Bergmann
b8793748b0
Seems more natural to pass a homogenous list by initializer_list
...
...than by template parameter pack (even if that requires using ServiceDecl*, as
initializer_list cannot take reference types)
Change-Id: Ia986201b52d8daedfe925f132ebc79bc2c0ba378
2015-11-20 13:39:52 +01:00
Stephan Bergmann
3b8e2f2612
-Werror,-Wunused-variable
...
Change-Id: I7ac641d052643b205f7e470de77d962dd0499dd8
2015-11-18 17:19:18 +01:00
Stephan Bergmann
3b45c0ca62
-Werror,-Wduplicate-decl-specifier (extern "C" already in STDAPI)
...
Change-Id: Ibd633b37e134483b778dcf7bdee1a1a3f377b699
2015-11-18 17:19:17 +01:00
Stephan Bergmann
cc6241ff8c
-Werror,-Wunused-const-variable
...
Change-Id: Id3885ec6323393d07def1915b95ee02e0c3dc402
2015-11-18 17:19:17 +01:00
Stephan Bergmann
d8c6b26807
-Werror,-Wunused-const-variable
...
Change-Id: I6e4aa7c0a3b420820d8581ce1a4a826fa777525c
2015-11-18 17:19:17 +01:00
Stephan Bergmann
69d64cce88
-Werror,-Wsizeof-pointer-memaccess
...
Change-Id: I08d4331e5b2c9d17d16b1415d321c4f38322c251
2015-11-18 17:19:17 +01:00
Stephan Bergmann
4668528dda
-Wmissing-braces is globally disabled in com_GCC_defs.mk anyway
...
Change-Id: Ie2a1e6785ac925f268e63775f2282df3f3c6bcd4
2015-11-18 16:53:14 +01:00
Stephan Bergmann
4b7d3395ca
Don't assume sal_Unicode is unsigned short
...
Change-Id: I721f53d79cd3e2c24542382d519a909a86a31111
2015-11-17 22:28:10 +01:00
Stephan Bergmann
ceeeb48f15
Don't assume sal_Unicode is unsigned short
...
Change-Id: Id3f43ba115d519e789b7eaf014734d2fd31d39cc
2015-11-17 10:41:21 +01:00
Noel Grandin
8569c6d0ad
use initialiser list for Sequence<OUString>
...
Change-Id: Ia5e47261d1fc6fac2d046656c05a1c5eedb07e02
Reviewed-on: https://gerrit.libreoffice.org/19978
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2015-11-16 08:35:42 +00:00
Noel Grandin
96c26b0d9d
use initialiser for Sequence<OUString>
...
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-15 12:20:39 +00:00
Noel Grandin
25aec383f9
use initialiser for Sequence<OUString>
...
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-15 12:18:55 +00:00
Noel Grandin
54d22957bc
use initialiser for Sequence<OUString>
...
performed using:
git grep -lP 'Sequence.*OUString.*\(1\)'
| xargs perl -0777 -pi -e
"s/Sequence<OUString> (\w+)\(1\);
.*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g"
Change-Id: I4da56c80fa09bfc1e8f868794001e9921431e09f
Reviewed-on: https://gerrit.libreoffice.org/19968
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2015-11-15 11:31:23 +00:00
Noel Grandin
8e234c5b7d
use initialiser syntax for Sequence<OUString>
...
replaced using the script:
git grep -lP 'Sequence.*OUString.*\(1\)'
| xargs perl -0777 -pi
-e "s/Sequence< OUString > (\w+)\(1\);
.*\[0\] = (\S+);/Sequence< OUString > \1 { \2 };/g"
Change-Id: I23688a91562051a8eed11fc2a85599545c285c34
Reviewed-on: https://gerrit.libreoffice.org/19967
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2015-11-15 10:13:08 +00:00
Stephan Bergmann
b6f6cf85ab
loplugin:nullptr (automatic rewrite; Mac-specific code)
...
Change-Id: Iaa14c583c55c3582e33a1d073ea92b388cd6f3a4
2015-11-10 16:20:38 +01:00
Stephan Bergmann
7a8d48f57d
loplugin:nullptr (automatic rewrite)
...
Change-Id: Ied61699170bd5d2c3878135b1a43b4dc1deff4d4
2015-11-10 10:31:39 +01:00
Stephan Bergmann
b8f0442fca
loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)
...
Change-Id: I7cf9fe48cf1c38a4327290e9393a5f88f3d4a97d
2015-11-06 09:37:16 +01:00
Noel Grandin
1c3d3ffa81
use uno::Reference::set method instead of assignment
...
Change-Id: Ib93d762cf523e0029bbed16e08beebd9f418ae24
2015-11-05 09:59:30 +02:00
Stephan Bergmann
b82f36ab63
loplugin:stringconstant
...
Change-Id: Ib579c499904bf10844ed58dfd3e531002b308dcf
2015-11-04 14:05:52 +01:00
Noel Grandin
59b072e22b
yyyyy
...
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
2015-11-04 14:10:44 +02:00
Noel Grandin
3bc5df7f32
UNO: no need to use OUString constructor when calling createInstance
...
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-30 08:59:59 +00:00
Noel Grandin
56c4032272
com::sun::star->css in shell
...
Change-Id: Id74a5e79764f37944afab4d2a0dcfc7dbfc9b295
Reviewed-on: https://gerrit.libreoffice.org/19663
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2015-10-29 08:44:12 +00:00
Noel Grandin
3d784c4af6
remove extra spaces around ::
...
just makes it harder to grep for methods
Change-Id: I0925db2f9284972fcf7e1e3adf90cbe21f69eb15
2015-10-26 09:12:05 +02:00
Stephan Bergmann
3569c58c0e
Remove obsolete version map files
...
Change-Id: Ic179264fe306bb2bca9797f10e26c0224fb1dd00
2015-10-23 15:10:09 +02:00
Bjoern Michaelsen
3cf557c12d
drop gconf integration as per ESC decision
...
Conflicts:
shell/source/backends/gconfbe/gconfbackend.cxx
Change-Id: I609ec83ec59f5ae8d3a8c9c09649695bfcb03b87
Reviewed-on: https://gerrit.libreoffice.org/19408
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com >
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com >
2015-10-16 13:50:28 +00:00
Jan-Marek Glogowski
a9e7645cb9
TDE: move stuff into the tde-integration package
...
Currently the package just contains the TDE shell backend library.
This moves the URL handler tde-url-open and the vcl plugin into
the integration package, like the KDE3 based kde-integration.
The TDE address book driver is left in the core package.
Change-Id: I2687b313d7f106bb344c65c50ae0a07b0140def0
2015-10-12 18:20:58 +02:00
Stephan Bergmann
b36963c0a6
Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY code
...
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12 17:52:29 +02:00
Stephan Bergmann
bff4c13475
Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY code
...
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-12 17:52:26 +02:00
Samuel Mehrbrodt
313b82d330
Library recentfile should be built when UXING_X11
...
Change-Id: I9b8d67540f646e7da59e35303bf75cc43367f2c3
Reviewed-on: https://gerrit.libreoffice.org/19092
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de >
2015-10-02 09:21:49 +00:00
Andrea Gelmini
f45ac62a20
Fix typos
...
Change-Id: I89ff6d31662824d83961d6457b82db8d8031168c
Reviewed-on: https://gerrit.libreoffice.org/18977
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de >
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de >
2015-09-30 10:34:17 +00:00
Andrea Gelmini
04724c97b3
Fix typos
...
Change-Id: Ibf70cbce0d280ab4686062a4e110c7c9bb54791c
Reviewed-on: https://gerrit.libreoffice.org/18976
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de >
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de >
2015-09-30 06:23:07 +00:00
Takeshi Abe
cfaebe5de9
shell: tdf#88206 replace cppu::WeakImplHelper* etc.
...
with the variadic variants.
Change-Id: I0eb2efbd123198c7d8a99e9dd7c613f9b2b23c2d
Reviewed-on: https://gerrit.libreoffice.org/18286
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Michael Stahl <mstahl@redhat.com >
2015-09-03 17:55:02 +00:00
Michael Stahl
72699595aa
remove KDE3 support, --enable-kde and --enable-kdeab
...
With the new RHEL6-era baseline TDF can finally ship KDE4 support.
Change-Id: I227278b576a3ed2f2aaa751d41b469ca92dc78b3
Reviewed-on: https://gerrit.libreoffice.org/18267
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Caolán McNamara <caolanm@redhat.com >
Tested-by: Caolán McNamara <caolanm@redhat.com >
2015-09-03 08:18:03 +00:00
Stephan Bergmann
330680784a
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
...
Change-Id: Idc3c74505d84a96bb5cc6713a95ef2fadc267ea8
2015-08-31 14:39:12 +02:00
Stephan Bergmann
c8f6c456bd
loplugin:stringconstant: OUStringBuffer: appendAscii -> append
...
Change-Id: I2e97fa10baa6a9bd290fabe250cf73d5f73e4537
2015-08-31 08:01:51 +02:00
Michael Weghorn
b712b1f634
tdf#39440 cppcheck: redundantAssignment
...
This addresses some of cppcheck's "redundantAssignment" warnings
("Variable '<varName>' is reassigned a value before the old one
has been used").
Change-Id: I8fd2950d5aa1a3f4bd9e1c4c336abe465d1f657e
Reviewed-on: https://gerrit.libreoffice.org/17926
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2015-08-23 06:02:42 +00:00
Noel Grandin
46791546a8
cppcheck:noExplicitConstructor
...
Change-Id: I940714e303b905b756ba077eeda6c41746bd421f
2015-08-07 08:14:34 +02:00
Noel Grandin
0fd9b79687
shell,sfx2,sd: inline some use-once typedefs
...
Change-Id: Ifde52b0d92163f99d399b4a9544a196defad1ba4
2015-08-04 08:55:56 +02:00
Noel Grandin
f5deb46349
remove some unused typedefs
...
Change-Id: I98c1e7eaa66b7afb05255a017a3de54714637501
Reviewed-on: https://gerrit.libreoffice.org/17491
Tested-by: Jenkins <ci@libreoffice.org >
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
2015-08-03 08:53:21 +00:00
Noel Grandin
95aad95fbe
inline a handful of use-once #defines
...
Change-Id: Id2654555c4042f8c0bdbd6bab6507e705f08326b
2015-07-23 08:41:46 +02:00
Noel Grandin
e963a88912
formatting of public/private/protected section qualifiers
...
make it consistent across the codebase, no space between keyword
and the colon
Change-Id: Idca61ddfc74ad2460fb05fe417499324b05e5de5
Reviewed-on: https://gerrit.libreoffice.org/17148
Reviewed-by: Noel Grandin <noelgrandin@gmail.com >
Tested-by: Noel Grandin <noelgrandin@gmail.com >
2015-07-17 09:49:35 +00:00
Stephan Bergmann
4bf8384d97
loplugin:simplifybool
...
Change-Id: I822967265cbe9f58641e2d9bd1260fd724df8ad1
2015-07-16 14:00:20 +02:00