summaryrefslogtreecommitdiff
path: root/extensions
AgeCommit message (Collapse)AuthorFilesLines
2013-02-15Fix conversionJulien Nabet1-2/+2
to avoid error messages like: error: could not convert ‘(const char*)"LocalFile"’ from ‘const char*’ to ‘const rtl::OUString’ Change-Id: I8b55049bd29c63b837f80b1562b9e8cd8324c603
2013-02-14multiple unsequenced modifications to 'nPos' [-Werror,-Wunsequenced]Stephan Bergmann1-9/+4
...solved by removing the nPos member and instead calculating the index on the fly. The difference is that old indices were before calling std::sort in OPropertyInfoService::getPropertyInfo() while new ones are after, but that should probably be OK per the documentation of com.sun.star.inspection.XObjectInspectionModel.getPropertyOrderIndex (which appears to be the only client of that functionality). Change-Id: Id346bb219acbdad88ec43cf46feca8c37f2c7cf4
2013-02-14Fix compilation error with older GCCTor Lillqvist3-3/+3
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-14Removed several useless macros: UNISTRING, USTR, USTR_ASCII, ASCII_STR, ↵Jean-Noël Rouvignac10-287/+267
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-13Some cppcheck cleaningJulien Nabet1-3/+0
Change-Id: I099171d85a51095f0ff6d592c1260d931f9769b2
2013-02-13Return the real result of the testJulien Nabet1-3/+3
Change-Id: I05d4b62a32a44a7d174d7fa19f7814d45dab22b2
2013-02-12Renamed hard-to-remember 8-char headers in editeng.Kohei Yoshida1-3/+3
Change-Id: If255802082890e1b1b4c5197a791fa79a011773e
2013-02-11fdo#46808, convert form::runtime::FormController to new-styleNoel Grandin2-6/+6
Change-Id: Ied761cbb8e23d65596a5fdc4650e1cd2c95e9245
2013-02-11fdo#46808, some simple conversions to XComponentContextNoel Grandin4-16/+9
Change-Id: I68e90fde0645d4d1d518d22620d4c28ae91139d4
2013-02-11fdo#46808, convert xml::xpath::XPathAPI to new-style serviceNoel Grandin2-14/+4
Change-Id: I54bb0eb08d687e7d54c42601c826c580a7a17ebb
2013-02-06replace (Xub)String with OUString in vclChr. Rossmanith1-4/+4
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-06remove obsolete hidother.src filesAndras Timar1-52/+0
Change-Id: Ieb30afd81d16d184e0276ce7699b848f26a00013
2013-02-06cppCheck: Variable is reassigned a value before the old one has been used.jailletc361-2/+2
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-06fdo#57417: remove LDAP choice from non windows platformDavid Ostrovsky1-15/+10
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-04... and ssl3 tooDavid Tardon1-0/+1
Change-Id: I16263e87855cc63a964d4f6780715739b6027bda
2013-02-04must link with plc4 tooDavid Tardon1-0/+1
Change-Id: I29deb025e3869dc495a84d6559708f5308a83ff1
2013-02-04fdo#60115 build of ldapbe2 breaks if nss is in nonstd. locationDavid Tardon1-10/+3
Change-Id: I32a0495edffbe13734457c230a3a1735aa254198
2013-01-31Some cppcheck cleaningJulien Nabet1-2/+1
Change-Id: I57baea223b0f0a78346d9872665ab85c00c8fc51
2013-01-31Some cppcheck cleaningJulien Nabet1-2/+1
Change-Id: I39e1dd985af6029e1fd688ff47350734c85928a6
2013-01-30fix string literals concatenationLuboš Luňák3-15/+15
Change-Id: I2dc86b3c24f22f4e52e25152a5741ecefad9c7d3
2013-01-30extensions: fix wrongly converted OUString literalsMichael Stahl1-3/+3
Change-Id: I23594fe715fbd8d34ea5d938bde963a17dffb296
2013-01-30Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac6-261/+256
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-27Some cppcheck cleaningJulien Nabet1-2/+2
Change-Id: I7217ab7500de5d8220b85e56aceb6e843bd0769f
2013-01-27fix omissions in a53586f4efe26b8875107d04001f4ecec760c343Michael Stahl2-1/+3
Change-Id: I65e3fc3e34416b74365490a1cd7cba178ef7eb55
2013-01-26gbuild: fix silly "expandtabs" in makefile VIM modelinesMichael Stahl33-33/+33
Change-Id: I54d8923ad315e8041fd3904da3a29f1a7a8c8b16
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl14-3/+33
- 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-24rename SfxSingleTabDialog to SfxNoLayoutSingleTabDialogCaolán McNamara1-1/+1
Change-Id: I4922b719bf819879909e9949bf7946f20914d1e5
2013-01-21Changed SetText() / GetText() to take/return OUStringChr. Rossmanith6-14/+14
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-15fdo#46808, Adapt ui::AddressBookSourceDialog UNO service to new styleNoel Grandin3-32/+15
The service already existed, it just did not have an IDL file. Change-Id: I34f9c29b7d5c91735cf1763b74d02516466bc78c
2013-01-11QUARTZ is equivalent to MACOSXTor Lillqvist3-10/+10
So just check MACOSX in the sources, and don't pass any -DQUARTZ to compilations. Change-Id: Ia1de6024810f81f1eea01b8eb0b885d9d1ee8e20
2013-01-09extensions: kill no longer needed C2U and C2SMiklos Vajna10-207/+185
2013-01-09fdo#46808, use new method OConfigurationTreeRoot::createWithComponentContextNoel Grandin4-22/+26
.. everywhere that was using createWithServiceFactory, and delete the old method. Change-Id: I02cb2bfbcc2390494383579d2f14caa4fc5b8014
2013-01-09fdo#46808, Adapt sdb::OrderDialog UNO service to new styleNoel Grandin1-6/+2
The service already existed, it just did not have an IDL file. Change-Id: If24e9d6069bf7454bb0add3be8c4bc5916cc4d1f
2013-01-03gbuild: replace all use of PRODUCT with ENABLE_DBGUTILMichael Stahl1-1/+1
Also fix the wrong check in cppunit/ExternalProject_cppunit.mk which caused cppunit to always be built without -D_GLIBCXX_DEBUG. Change-Id: Ia247dcd84e2c6fa0e9384fd27643537984d980b5
2012-12-27More MSC -> _MSC_VER, sorryTor Lillqvist1-2/+2
Change-Id: Ie5070d514c1f4dd9f9708253eb44134baec6524a
2012-12-27Sigh, my git grep regexps missed some casesTor Lillqvist1-1/+1
Change-Id: I085f14f40fb83cba171b35b14cf7c0d99091fc00
2012-12-25Get rid of (most uses of) GUITor Lillqvist7-9/+9
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-21use external for sane headersDavid Tardon1-3/+4
Change-Id: I6fc53e185254a37df7d03ab6f91210b8e397db2e
2012-12-21Fixes for my UNO commitsNoel Grandin2-2/+2
- fix missing SAL_CALL annotations - fix missing namespace usage Change-Id: I8fa462bcbeaad63ad6a73cba68236b74bbe97e70
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin11-109/+60
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-21fdo#46808, Adapt sdb::FilterDialog UNO service to new styleNoel Grandin2-50/+23
The service already existed, it just did not have an IDL file. Change-Id: I2267bec182ad1cc8f6a37939861a7368a17fcef2
2012-12-20extensions: oleautobridge: avoid boatloads of warning C4005Michael Stahl8-93/+78
... "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-20Templates Manager: removed the old dialogs and menu entriesCédric Bosdonnat1-8/+0
Change-Id: I5aa9dd8c0bfb95c26bca14962f60041e892ea2ea
2012-12-18Replace GUIBASE checks with equivalent OS checksTor Lillqvist2-4/+4
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-10Replacing '__LOADONCALLAPI' with 'SAL_CALL' definitionChristos Strubulis3-3/+3
Change-Id: I692a9cfdca5ad50170eea2178a6aa87e8154b951
2012-12-10fdo#46808, Adapt sdbc::DriverManager UNO service to new styleNoel Grandin4-13/+18
Change-Id: Ic2be6bd08aaabc81d0fbe0269ca577868defe934
2012-12-09add missing dep on tools/urlobj.hxxDavid Tardon1-0/+4
Change-Id: I8529f58d9acd6d9203f7107b269638fd05167a65
2012-12-09add missing dep on sfx2/sfx.hrcDavid Tardon1-0/+4
Change-Id: Ib8853b97561d982509e3a5e2d0160a2fa34397cc
2012-12-09add missing dep on boostDavid Tardon1-1/+4
Change-Id: I04fe44afceaf0a415577b1b3a359d05d0d1821dc
2012-12-07use config_xxx.h files instead of -DHAVE_XXX on the command lineLuboš Luňák3-0/+6
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