Commit Graph

5513 Commits

Author SHA1 Message Date
Tor Lillqvist
9d67b621c5 Fix compilation error with older GCC
The GCC 4.0 we still use for the "official" Mac OS X build says:
"error: conversion from ‘const char*’ to non-scalar type
‘rtl::OUString’ requested." Sigh, I guess there might be lots more of
these elsewhere in the code.

Change-Id: Ifad5722bbadd465ebfca1ac3f0b55f07a6895e12
2013-02-14 17:25:55 +02:00
Jean-Noël Rouvignac
77fd448d09 Removed several useless macros: UNISTRING, USTR, USTR_ASCII, ASCII_STR, ASCII_STRING, CONST_ASCII, ASCSTR, ASCII, DEFINE_CONST_UNICODE, DEFINE_CONST_OUSTRING
Change-Id: I96d690bf9f9b319e9eeafcf218ec5ce87f21215f
Reviewed-on: https://gerrit.libreoffice.org/1954
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-02-14 13:20:14 +00:00
Julien Nabet
814ae45d4b Some cppcheck cleaning
Change-Id: I099171d85a51095f0ff6d592c1260d931f9769b2
2013-02-13 15:08:20 +01:00
Julien Nabet
8803b1faf5 Return the real result of the test
Change-Id: I05d4b62a32a44a7d174d7fa19f7814d45dab22b2
2013-02-13 00:00:47 +01:00
Kohei Yoshida
1aaf9a9b36 Renamed hard-to-remember 8-char headers in editeng.
Change-Id: If255802082890e1b1b4c5197a791fa79a011773e
2013-02-12 15:15:06 -05:00
Noel Grandin
e7a76a0e65 fdo#46808, convert form::runtime::FormController to new-style
Change-Id: Ied761cbb8e23d65596a5fdc4650e1cd2c95e9245
2013-02-11 08:02:18 +02:00
Noel Grandin
a9934b36fe fdo#46808, some simple conversions to XComponentContext
Change-Id: I68e90fde0645d4d1d518d22620d4c28ae91139d4
2013-02-11 08:02:18 +02:00
Noel Grandin
f53517a5b0 fdo#46808, convert xml::xpath::XPathAPI to new-style service
Change-Id: I54bb0eb08d687e7d54c42601c826c580a7a17ebb
2013-02-11 08:02:14 +02:00
Chr. Rossmanith
82e3760855 replace (Xub)String with OUString in vcl
Change-Id: I0a44bab196ae239d3bdea75fd2b657bdfa4ecf31
Reviewed-on: https://gerrit.libreoffice.org/2011
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-06 17:12:24 +00:00
Andras Timar
5acf58bbde remove obsolete hidother.src files
Change-Id: Ieb30afd81d16d184e0276ce7699b848f26a00013
2013-02-06 14:51:42 +01:00
jailletc36
38bdcbbeeb cppCheck: Variable is reassigned a value before the old one has been used.
Change-Id: I42cfb06dd8b6b0ff7d4fec6e3b296fa61302c1c0
Signed-off-by: jailletc36 <christophe.jaillet@wanadoo.fr>
Reviewed-on: https://gerrit.libreoffice.org/2014
Tested-by: Tomáš Chvátal <tchvatal@suse.cz>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-06 12:50:15 +00:00
David Ostrovsky
30957764a9 fdo#57417: remove LDAP choice from non windows platform
Change-Id: I0557a7c9cf0d18fbe5620ef8869bb83d0a6a7904
Reviewed-on: https://gerrit.libreoffice.org/1983
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-02-06 10:39:54 +00:00
David Tardon
6ef4656468 ... and ssl3 too
Change-Id: I16263e87855cc63a964d4f6780715739b6027bda
2013-02-04 10:04:32 +01:00
David Tardon
996ac0815a must link with plc4 too
Change-Id: I29deb025e3869dc495a84d6559708f5308a83ff1
2013-02-04 09:55:11 +01:00
David Tardon
423079fd4d fdo#60115 build of ldapbe2 breaks if nss is in nonstd. location
Change-Id: I32a0495edffbe13734457c230a3a1735aa254198
2013-02-04 08:09:57 +01:00
Julien Nabet
f6f5bde055 Some cppcheck cleaning
Change-Id: I57baea223b0f0a78346d9872665ab85c00c8fc51
2013-01-31 23:01:32 +01:00
Julien Nabet
a96ae2104d Some cppcheck cleaning
Change-Id: I39e1dd985af6029e1fd688ff47350734c85928a6
2013-01-31 22:55:41 +01:00
Luboš Luňák
5443d64862 fix string literals concatenation
Change-Id: I2dc86b3c24f22f4e52e25152a5741ecefad9c7d3
2013-01-30 16:10:30 +01:00
Michael Stahl
abfd688a7d extensions: fix wrongly converted OUString literals
Change-Id: I23594fe715fbd8d34ea5d938bde963a17dffb296
2013-01-30 14:43:46 +01:00
Jean-Noël Rouvignac
97eb8a6e0e Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRING
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd
Reviewed-on: https://gerrit.libreoffice.org/1924
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-30 12:54:40 +00:00
Julien Nabet
b8d4b8656f Some cppcheck cleaning
Change-Id: I7217ab7500de5d8220b85e56aceb6e843bd0769f
2013-01-27 23:11:41 +01:00
Michael Stahl
8cad36dfcd fix omissions in a53586f4ef
Change-Id: I65e3fc3e34416b74365490a1cd7cba178ef7eb55
2013-01-27 01:17:38 +01:00
Michael Stahl
5a61e28378 gbuild: fix silly "expandtabs" in makefile VIM modelines
Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
2013-01-26 22:20:07 +01:00
Michael Stahl
a53586f4ef gbuild: do not copy boost headers around
- do not use gb_UnpackedTarball_copy_header_files for boost
- adapt the optimization in concat-deps.c for new path
- use boost_headers in all LinkTargets that require it
- add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus

Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-26 22:20:06 +01:00
Caolán McNamara
bd272cd3da rename SfxSingleTabDialog to SfxNoLayoutSingleTabDialog
Change-Id: I4922b719bf819879909e9949bf7946f20914d1e5
2013-01-24 14:29:46 +00:00
Chr. Rossmanith
e3f11c10d8 Changed SetText() / GetText() to take/return OUString
replaced lots of Len() with isEmpty()

Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0
Reviewed-on: https://gerrit.libreoffice.org/1795
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-21 20:48:35 +00:00
Noel Grandin
1e618a8df6 fdo#46808, Adapt ui::AddressBookSourceDialog UNO service to new style
The service already existed, it just did not have an IDL file.

Change-Id: I34f9c29b7d5c91735cf1763b74d02516466bc78c
2013-01-15 09:56:00 +02:00
Tor Lillqvist
e103887c8c QUARTZ is equivalent to MACOSX
So just check MACOSX in the sources, and don't pass any -DQUARTZ to
compilations.

Change-Id: Ia1de6024810f81f1eea01b8eb0b885d9d1ee8e20
2013-01-11 11:16:59 +02:00
Miklos Vajna
4b1db520a0 extensions: kill no longer needed C2U and C2S 2013-01-09 21:36:51 +01:00
Noel Grandin
77d215ae2e fdo#46808, use new method OConfigurationTreeRoot::createWithComponentContext
.. everywhere that was using createWithServiceFactory, and delete the old
method.

Change-Id: I02cb2bfbcc2390494383579d2f14caa4fc5b8014
2013-01-09 08:08:15 +02:00
Noel Grandin
3a50e97499 fdo#46808, Adapt sdb::OrderDialog UNO service to new style
The service already existed, it just did not have an IDL file.

Change-Id: If24e9d6069bf7454bb0add3be8c4bc5916cc4d1f
2013-01-09 08:08:14 +02:00
Michael Stahl
3f27da0a67 gbuild: replace all use of PRODUCT with ENABLE_DBGUTIL
Also fix the wrong check in cppunit/ExternalProject_cppunit.mk
which caused cppunit to always be built without -D_GLIBCXX_DEBUG.

Change-Id: Ia247dcd84e2c6fa0e9384fd27643537984d980b5
2013-01-03 16:02:13 +01:00
Tor Lillqvist
09b08d4adb More MSC -> _MSC_VER, sorry
Change-Id: Ie5070d514c1f4dd9f9708253eb44134baec6524a
2012-12-27 14:09:50 +02:00
Tor Lillqvist
6943c7b11c Sigh, my git grep regexps missed some cases
Change-Id: I085f14f40fb83cba171b35b14cf7c0d99091fc00
2012-12-27 14:03:18 +02:00
Tor Lillqvist
c29098917a Get rid of (most uses of) GUI
GUI only takes values UNX or WNT, so it is fairly pointless. One can check
whether OS is WNT or not instead.

Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34
Reviewed-on: https://gerrit.libreoffice.org/1304
Reviewed-by: Peter Foley <pefoley2@verizon.net>
Tested-by: Peter Foley <pefoley2@verizon.net>
2012-12-25 17:53:25 +00:00
David Tardon
eafaec9539 use external for sane headers
Change-Id: I6fc53e185254a37df7d03ab6f91210b8e397db2e
2012-12-21 14:55:29 +01:00
Noel Grandin
40e526e497 Fixes for my UNO commits
- fix missing SAL_CALL annotations
- fix missing namespace usage

Change-Id: I8fa462bcbeaad63ad6a73cba68236b74bbe97e70
2012-12-21 11:09:51 +02:00
Noel Grandin
bb121c864c fdo#46808, Convert frame::Desktop to new style service.
I had to drop XEventBroadcaster from the merged interface
because it introduced method name conflicts (addEventListener).

Shouldn't be an issue since it was scheduled to be dropped anyhow,
and the service implementation still implements it, so existing clients
will be fine.

I dropped the interface XPropertySet from the combined IDL because nobody
seems to be using it, and it's primary purpose appears to be to set weird
flags.

I dropped the optional interfaces
   XStatusIndicatorFactory
   XDispatchInformationProvider
from the combined IDL because the service does not implement them, and
nobody seems to be using them. I suspect they were mistakenly copied
from XFrame.

I also did not convert the Title, UserDefinedAttributes and LayoutManager
properties to attributes, again because no-one is using them.

Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-12-21 10:57:09 +02:00
Noel Grandin
6e5cb64670 fdo#46808, Adapt sdb::FilterDialog UNO service to new style
The service already existed, it just did not have an IDL file.

Change-Id: I2267bec182ad1cc8f6a37939861a7368a17fcef2
2012-12-21 09:12:09 +02:00
Michael Stahl
032d5ba4fa extensions: oleautobridge: avoid boatloads of warning C4005
... "macro redefinition" mostly from tools/postsys.h by wrapping all
inclusion of namespace polluting native windows headers in a single new
winwrap.hxx that is then included by the other headers; also cleans up
some inconsistent definitions of _WIN32_WINNT

Change-Id: Ibfe82a531615d559db2e61e4cdf399e68d0b3223
2012-12-20 18:27:35 +01:00
Cédric Bosdonnat
b4c18dc0ea Templates Manager: removed the old dialogs and menu entries
Change-Id: I5aa9dd8c0bfb95c26bca14962f60041e892ea2ea
2012-12-20 18:02:52 +01:00
Tor Lillqvist
12152d253e Replace GUIBASE checks with equivalent OS checks
The idea is to get rid of GUIBASE and GUI checks as much as possible.

GUIBASE=aqua <=> OS=MACOSX
GUIBASE=WIN <=> OS=WNT
GUIBASE=cocoatouch <=> OS=IOS
GUIBASE=android <=> OS=ANDROID

Don't set GUIBASE to these values any more in configure.ac
either.

GUIBASE_FOR_BUILD is not used anywhere.

Conflicts:
	configure.ac
	postprocess/packcomponents/makefile.mk
	postprocess/packregistry/makefile.mk

Change-Id: Ie0526b40e1073f2328ba6c333e28752104b0fed3
2012-12-18 20:52:24 -05:00
Christos Strubulis
c13ad097fb Replacing '__LOADONCALLAPI' with 'SAL_CALL' definition
Change-Id: I692a9cfdca5ad50170eea2178a6aa87e8154b951
2012-12-10 21:38:28 +00:00
Noel Grandin
9fc4553b64 fdo#46808, Adapt sdbc::DriverManager UNO service to new style
Change-Id: Ic2be6bd08aaabc81d0fbe0269ca577868defe934
2012-12-10 08:05:36 +02:00
David Tardon
92ccb9a926 add missing dep on tools/urlobj.hxx
Change-Id: I8529f58d9acd6d9203f7107b269638fd05167a65
2012-12-09 13:35:34 +01:00
David Tardon
56ac41cf8d add missing dep on sfx2/sfx.hrc
Change-Id: Ib8853b97561d982509e3a5e2d0160a2fa34397cc
2012-12-09 13:35:34 +01:00
David Tardon
b0ea67981e add missing dep on boost
Change-Id: I04fe44afceaf0a415577b1b3a359d05d0d1821dc
2012-12-09 13:35:34 +01:00
Luboš Luňák
1aad4689ba use config_xxx.h files instead of -DHAVE_XXX on the command line
As the latter does not quite scale, and also source files depending
on the setting/feature did not rebuild in case of a change.

There are intentionally more config_xxx.h files (so autoheader
from autotools is not used), so that a setting change does not force
automatically a rebuild of everything. Running configure does not
touch those config_xxx.h files that have not changed.

There's config/README with a howto.

Change-Id: I6d6e82050ff8faf5364ed246848b8401aca3e0e5
2012-12-07 19:48:16 +01:00
Stephan Bergmann
b13abba277 -Werror,-Wsometimes-uninitialized
Change-Id: I8996a06a19e7500b212acf863c44231214427f79
2012-12-06 16:26:52 +01:00
Noel Grandin
19854e653b fdo#46808, Adapt sdb::ErrorMessageDialog UNO service to new style
Change-Id: Iaf12324e6aa64b268555b0f4c82f04f4c0f6f123
2012-12-06 14:16:44 +02:00