Commit Graph

1052 Commits

Author SHA1 Message Date
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
a96ae2104d Some cppcheck cleaning
Change-Id: I39e1dd985af6029e1fd688ff47350734c85928a6
2013-01-31 22:55:41 +01:00
828dfdd4fb unify the spelling of 'Kazakh' language name
While 'Kazakh' can be written as 'Kazak' or 'Qazaq', the 'Kazakh' form
is the most widespread according to online sources (Wikipedia,
LCID list from Microsoft). Also the 'Kazakh' form is preferred by a
Kazakh contributor, see http://listarchives.libreoffice.org/global/l10n/msg05444.html
In LibreOffice both 'Kazak' and 'Kazakh' was used at different places.

Change-Id: Ief83eb05e92af16cb5b795f2bbb1e3d6f7c9659a
2013-01-26 11:36:53 +01:00
3d6d07a7e3 Get rid of GetVersionInfo and checkdll
With gbuildification neither was actually used anyway, as far as I
could see.

Change-Id: I00d914e6571aed3110226f91ac1685a838031c65
2013-01-16 18:21:51 +02:00
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
6943c7b11c Sigh, my git grep regexps missed some cases
Change-Id: I085f14f40fb83cba171b35b14cf7c0d99091fc00
2012-12-27 14:03:18 +02:00
30c77b4c3f -Werror,-Wunused-result
Change-Id: I25cf94e9abaf976df9a8a0b8ee5f9955d623b006
2012-12-05 17:29:50 +01:00
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
28327c28ce API CHANGE: remove com.sun.star.system.XProxySettings
... and related services:

com.sun.star.system.SOffice52ProxySettings
com.sun.star.system.ProxySettings
com.sun.star.system.SystemProxySettings

The implementation for these has apparently been removed in
OpenOffice.org 2.0 or thereabouts.

EXISTENCE: published key
"/UCR/com/sun/star/system/SOffice52ProxySettings" exists only in
registry 1
EXISTENCE: published key "/UCR/com/sun/star/system/ProxySettings" exists
only in registry 1
EXISTENCE: published key "/UCR/com/sun/star/system/XProxySettings"
exists only in registry 1
EXISTENCE: published key "/UCR/com/sun/star/system/SystemProxySettings"
exists only in registry 1

Change-Id: If00c332edf08619fcad12ed07d0d8a13a714045e
2012-11-29 23:53:37 +01:00
a3ce60eb3c We only support MSVC 2008 (_MSC_VER 1500) or later
We can drop or simplify many conditionals.

Change-Id: I37e820e515cc09845c30b62c89ddb3b6ff370f97
2012-11-28 20:53:40 +02:00
ca00713a61 offapi: rename XModify.InstalliGStreamerResources
...since GStreamer is not an Apple product it should not be
called iGStreamer.

Change-Id: Ia2b73ecb56dd7aee88b23b560430ffe94b455665
2012-11-20 21:44:16 +01:00
3d55b14aa2 remove license header that confuses lngconvex
This is not C++ source.

Change-Id: I05fe98ef019df23fd4be0d7e281ebb877b545484
2012-11-20 10:21:57 +01:00
b0126a2ea2 do not use exitcode 0 on failure
Change-Id: I47ce1502e8ffd58709a64a3ca520d59cb765bfaa
2012-11-20 10:12:52 +01:00
577b95a960 use LanguageTag
Change-Id: I1ec1f619cb6b427b4376d28292d3412ba6eb67ee
2012-11-17 01:03:48 +01:00
b6c6fc8ced template pack installer
- so this adds a button to the templates dialog to install
  https://launchpad.net/ubuntu/+source/libreoffice-templates/0.1.20120814-0ubuntu2
  which is packed from
  http://cgit.freedesktop.org/libreoffice/templates
- could be packed and used like that on other distros
- disabled when service is not available

Change-Id: I55d5bada25693070aae5e5f9e0e77bf8aa52e982
Reviewed-on: https://gerrit.libreoffice.org/1071
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2012-11-16 11:38:19 +00:00
f1dfc1f23f Bin leftover debugging printout
Change-Id: I9ff9f53cedb34ff896104b39322edab91aa5cbdc
2012-11-15 18:38:41 +02:00
d8edf07ed9 Bin use of UTF-16 expat variant in the Windows shell extension
Thus we can drop that variant completely.

Change-Id: I11a8e40436921219bd6dd4afad4c7907ccb6b84c
2012-11-15 18:33:09 +02:00
15055466e0 fix annoying Ressource typo
Change-Id: Ie6cf3cc8e672ad9499c55bda7c29b50140c6a57a
2012-11-12 11:18:29 +00:00
40c1e728c4 WaE: unused parameter
Change-Id: Ib9956bd2671434fc15905e7c4fd56bd8f7162b60
2012-11-10 08:46:53 +01:00
8cd6a947d9 making org.freedesktop.PackageKit.Query and .Modify available
- partial implementation of the SessionInstaller interfaces
 - accessable via service:
   org.freedesktop.PackageKit.SyncDbusSessionHelper

Change-Id: Ica91f481d041a066215fba3e808bf587e1271f1b
2012-11-09 19:18:34 +01:00
0ac9a10d31 fdo#46808, Deprecate configuration::ConfigurationProvider old-style service
...in favor of existing new-style configuration::theDefaultProvider singleton.

Theoretically, ConfigurationProvider instances can be created with specific
Locale and EnableAsync arguments, but this is hardly used in practice, and thus
effectively all uses of the ConfigurationProvider service use the
theDefaultProvider instance, anyway.

theDefaultProvider is restricted to the XMultiServiceFactory interface, while
ConfigurationProvider also makes available XComponent.  However, dispose must
not be called manually on theDefaultProvider singleton anyway, and calls to
add-/removeEventListener are so few (and in dubious code that should better be
cleaned up) that requiring an explicit queryInterface does not really hurt
there.

This commit originated as a patch by Noel Grandin to "Adapt
configuration::ConfigurationProvider UNO service to new style [by creating] a
merged XConfigurationProvider interface for this service to implement."  It was
then modified by Stephan Bergmann by deprecating ConfigurationProvider instead
of adding XConfigurationProvider and by replacing calls to
ConfigurationProvider::create with calls to theDefaultProvider::get.

Change-Id: I9c16700afe0faff1ef6f20338a66bd7a9af990bd
2012-10-31 15:31:36 +01:00
8e7a3669dd Combine senddoc null and default cases for better mailer selection. 2012-10-18 14:20:12 +02:00
4dd53b3893 fix shell build with Win8 SDK
Change-Id: I19d39f26732772f274e6c8fd76326c50fd73baa3
2012-10-07 10:42:10 +02:00
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
565acfef76 Use prefix
Change-Id: Ife93e37f8b24f3ce96b55c5a221f0f929b789f60
2012-10-02 12:07:06 +03:00
ed08ddb31b fdo#53588 Assume cdir being in the last 1k of the file to speed-up search
Change-Id: I25291c52d9f0117c70c48781c2eb575bb6b374ff
2012-09-11 12:38:15 +02:00
40c85b88ad fdo#53592: Try not to crash on empty m_ZipContent
Change-Id: I9bdc9997e260a75682177c8641695b60df0c81a6
2012-08-27 16:33:13 +02:00
d330020591 fdo#53533: don't seek to bogus offset
Change-Id: I27d056bdb8329dce302f2737bad5c5dc55791e74
2012-08-27 16:02:50 +02:00
4d7b955705 libmerged: add more libraries
Change-Id: Ia35e93b9632cb2bbfce0d40f8491044d56f2bb05
2012-08-25 12:45:35 +02:00
6fb127a62e Replace use_internal_api with use_udk_api etc. where appropriate
Change-Id: I5e216ca01830a6568159ee8e9265938667f201a1
2012-08-22 15:12:22 +02:00
2beba8f93e reduce ascii noise and useless comments
Change-Id: I317058e3b25cebb7c1d89361636261c5f16a84d4
2012-08-08 13:53:54 +02:00
49ad17e2b1 remove include comments and boxes
Change-Id: I9ccf664e8f75a68b1b87c2b29ae617a90d0741a7
2012-08-08 13:53:53 +02:00
8cdd150a0a Fixed multiple attachment passing to thunderbird: file:// part needs 's
Change-Id: I365e559610e06c6ffe964121b3c45077bf6ca264
2012-07-23 21:14:01 +01:00
e5a0755bc2 new does not return null
Change-Id: Iea00f7c6435c6ae3ccbb2f97ab4407df8b86c54b
2012-07-20 15:55:44 +02:00
a767448225 Search for char instead of 1 char long string, when possible.
It is faster and even avoid memory allocation somtimes.

Change-Id: Ic12ff70e95953de44ef5798131150669d07a5445
2012-07-13 16:36:04 +02:00
09a5a74956 warning C4267: conversion from 'size_t' to 'unsigned long'
Change-Id: I1d922e5b3c7959022b6f57c33b9a4976a16305f6
2012-07-13 14:02:17 +02:00
e61c222255 warning C4267: conversion from 'size_t' to 'DWORD'
Change-Id: Idd467f2963099e2ae6bb76f405124dfa32c8cc9a
2012-07-13 14:02:17 +02:00
958898510c clarify branding in comment
Change-Id: I3101b9f582861bc88ab694c551e66079f133e3e0
2012-07-13 14:02:17 +02:00
9f41a8f30d warning C4267: conversion from 'size_t' to 'int'
Change-Id: Id495b96f6f496f4ae16d9c9a3697f94c7b3f305c
2012-07-13 14:02:17 +02:00
d6ee925423 shell: remove dead SaveDebugInfoToFile
Change-Id: I18655247f0e836cefd2791e1c78cf9f49e396d02
2012-07-13 11:26:59 +02:00
b8c1742c40 warning C4267: conversion from 'size_t' to 'int'
Change-Id: I00e5e4f959c351004d8c1181c124cc6a1058b666
2012-07-13 11:26:59 +02:00
7677eafaab warning C4267: conversion from 'size_t' to 'DWORD'
Change-Id: If6cbb99b59b14fc7911c0fe76f44ac21b0db5042
2012-07-12 22:51:51 +02:00
9e20e9a7b8 warning C4100: unreferenced formal parameter
Change-Id: I0965bb0cf13becd8a55170789f81714919cbbdf2
2012-07-12 22:50:51 +02:00
23e2875473 XML_Parse returns enum XML_Status
Change-Id: Ie4dde5aa412dae05d2629ce5675356db70b2529b
2012-07-12 22:08:10 +02:00
5a44320a4d Related: fdo#30763 always fill in default name under GNOME
regardless of whether lockdown is in effect.

Change-Id: I3c5d3aba89f8cedb6e3e4bd2ecc1af954a953306
2012-07-09 12:16:57 +01:00
00240d0497 Remove unused defines
Change-Id: Ic36b131ee9964a6671f7f41e1cad1631c43ad565
2012-07-01 18:33:42 +02:00
8e1bffe7ff Remove include guards
Change-Id: Ib4ba76d0083e5bd75cc589a55318089c004f591f
2012-06-29 15:59:53 +02:00
60845a6d21 enable gnome-mail and xdg-mail
Change-Id: Iba47ee76328aeb4734dbeb46322a9516b0ea9f7a
2012-06-26 12:21:10 +01:00
d0d24f7ce1 .ulf files don't need executable bits
Change-Id: Ie84a08aa0626dffed871200df565e33642f53866
2012-06-22 22:39:33 +02:00
1ab899c4c8 .xml files don't need executable bits
Change-Id: I399d086181a9f513cd95157e815551f0be9b9e95
2012-06-22 22:39:31 +02:00