Commit Graph

4963 Commits

Author SHA1 Message Date
9d6bb5daa6 Some cppcheck cleaning
Change-Id: I1cc0a9e5c7f8bfd310e9bf56664f0f8b396ad9ec
2013-02-16 00:38:41 +01:00
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
36d0933b66 fdo#46808, convert some svtools code to XComponentContext
Change-Id: Icf939095f130e684db88a8563c56f4eb1e6079bc
2013-02-12 10:14:45 +02:00
2fd93f19cf fdo#39370 - Fixed RTL/LTR and alignment buttons location on RTL interface
Reversed the location of the RTL and LTR buttons as well as the align right
and align left buttons on the RTL interface. It now matches the LTR interface.
Done from toolboxdocumenthandler instead of modifying 20+ xml files.

Change-Id: I6b3715e134bb45a7500b87a9e926d7940690a9af
Reviewed-on: https://gerrit.libreoffice.org/2077
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2013-02-11 11:37:16 +00:00
eb2f8c5a63 fdo#46808, use linguistic2::LanguageGuessing service constructor
Change-Id: I5c650a96ea99a1cf16ca8aa61f2db4986790040b
2013-02-11 08:02:19 +02:00
89fed427f0 fdo#46808, convert to getProcessComponentContext
Change-Id: I59632fb1fe1d0e200fc42240ab1551a46801822e
2013-02-11 08:02:16 +02:00
5c5bf140ae small doc fix
Change-Id: Ieafdd536faf4c51ec0eb1fabca3edd7f575d001e
2013-02-11 08:02:16 +02:00
bb98b129db fdo#46808, use service constructor for awt::ContainerWindowProvider
Change-Id: I15f45bb51fe8880041c396025efdd5c91ebc3f13
2013-02-11 08:02:16 +02:00
ae25ee162c fdo#46808, remove unnecessary XMultiServiceFactory fields
Change-Id: I140d82ed38afc56cbd06b0045eff0787fc99e2a6
2013-02-11 08:02:15 +02:00
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
a0dd5a8d6a String cleanup.
Change-Id: Ifdc1716ed033f01bc298243c1e2dafd5736fac68
2013-02-05 14:40:58 -05:00
50685e3caf Start center background color uses application background color, fdo51535
Change-Id: I781ea544e052e775f5cc1d709c5c3a319025ab12
Reviewed-on: https://gerrit.libreoffice.org/1958
Reviewed-by: Jan Holesovsky <kendy@suse.cz>
Tested-by: Jan Holesovsky <kendy@suse.cz>
2013-02-04 14:13:44 +00:00
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
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
c106167f5f PRODUCTEXTENSION: fix various obvious strings and such...
... to look pretty; most of these expect PRODUCTEXTENSION to be a word
like "Beta" but nowadays it is ".micro.rc.alphabeta" numbers so there
should be no space before it.

ReplaceStringHookProc adds insult to injury by refusing to
replace %ABOUTBOX variables unless some %PRODUCT is in the string.

Change-Id: Ib676f3837ab0785529a226fc9359e8defacf3459
2013-01-18 23:46:34 +01:00
54f1418824 fdo#46808, Adapt frame::SessionListener UNO service to new style
The service already existed, it just did not have an IDL file.

Change-Id: I88b914995eaa52708c1d51271455478fedb65a63
2013-01-15 09:56:01 +02:00
92f14ced5e fdo#46808, Adapt frame::TaskCreator UNO service to new style
The service already existed, it just did not have an IDL file.

Change-Id: I157c53d09b612da0178432100b8928013f811706
2013-01-15 09:56:00 +02:00
e7018375cd fdo#46808, Adapt frame::StartModule UNO service to new style
The service already existed, it just did not have an IDL file.

Change-Id: I400551d34d074cc8cf36fad58badc921422a2efa
2013-01-15 09:56:00 +02:00
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
b23fd68eee fdo#468080, remove unnecessary XMultiServiceFactory from framework
The ActionTrigger classes in framework were not using their
XMultiServiceFactory parameters, so remove them.
And follow that through by cleaning up places that no longer
need to store XMultiServiceFactory references.

Change-Id: I433c4fdb02a56eeef75728893e0c9b749d8313be
2013-01-09 08:08:16 +02:00
5b75a51670 fix api change in Menu
Change-Id: I386439be9bf7ce5c9d1b9a4df93195bd6738f573
2013-01-08 00:25:21 -06:00
6773db03a6 allow menu items to be referred to by a name
Change-Id: I8bb1c082e3948f919232b81e0f1f869b88fcd852
2013-01-07 16:17:52 +00:00
9bdaff431b Typo 2013-01-06 17:00:34 +02:00
4427bb0c58 The "ProductSource" (MWS name) makes no sense any more 2013-01-06 15:30:04 +02:00
0c22f3eadd Make LO buildable again after the GraphicFilter move.
Change-Id: I3455a7294b136400f32163626d5a7a7f2bfa898c
2013-01-04 22:02:51 +01:00
d605a49f84 Some cppcheck cleaning in framework
Change-Id: If0bb2734bb2c71f69c85496fd59ca860aa14fd75
2012-12-24 16:40:57 +01:00
f94172e639 Remove unused defines
Change-Id: Icb8ccabba162a838187d737ff30888f64dd695b6
2012-12-21 15:56:44 +01:00
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
e93a001887 fdo#46808, Adapt frame::PopupMenuControllerFactory UNO service to new style
Required creating a new merged interface.
The service interface is going to be shared by some other services,
which is why it's name is != the service name.

Change-Id: I9af3c27b367807147a0052fb6fa4e42eb1ad32de
2012-12-21 09:12:07 +02:00
ecae523d96 fdo#46808, Create new-style frame::ToolBarControllerFactory service
The service already existed, it just did not have an IDL file.

Change-Id: I70d0e1a3fe77deaeec399761cadefb20954f1c92
2012-12-21 09:12:07 +02:00
cd0b83b531 fdo#46808, Use service constructor for frame::UICommandDescription
Change-Id: I8950afd1e49fda9e3336a79024e603262d717dad
2012-12-21 09:12:06 +02:00
b4c18dc0ea Templates Manager: removed the old dialogs and menu entries
Change-Id: I5aa9dd8c0bfb95c26bca14962f60041e892ea2ea
2012-12-20 18:02:52 +01:00
55b3794950 callcatcher: update unused code list
Change-Id: Ie975cd2df17461de1bb94a23d4daf081f6588fe7
2012-12-14 11:37:22 +00:00
dde234b695 fdo#46808, remove awt::DisplayAccess service.
This service was never documented in an IDL file.
All it did was provide a wrapper around some VCL module API.
Now that we can link the VCL stuff into SD and SDEXT, just
access the API directly.

Change-Id: Ic0ba34c2bca797baa7319878d98cfe3a4ec59d4d
2012-12-13 05:20:59 +02:00
b552f521f6 fdo#46808, Adapt ui::UIElementFactoryManager UNO service to new style
Required creating a new merged interface.

Change-Id: I12be54e7e4c0614a31a04715342aa244d1687c42
2012-12-13 05:20:58 +02:00
bb8900baaa fdo#46808, Create new-style ui::WindowContentFactoryManager service
The service already existed, it just did not have an IDL file.

Change-Id: Ie059e8d81fdfb4c3a5eca274a2406f806ee77b5c
2012-12-13 05:20:58 +02:00
c1e42d60c5 fdo#46808, use service constructor for ui::WindowStateConfiguration
Change-Id: I0b7f773a7db47049d7df4138d07e7fc38c657a65
2012-12-13 05:20:58 +02:00
9779ae8bde fdo#46808, use service constructor for ui::
::ModuleUIConfigurationManagerSupplier

Change-Id: I06e8b3ef9b525da014a2bb7702587d360779aebc
2012-12-13 05:20:58 +02:00
e52a5e298b fdo#46808, use service constructor for ui::GlobalAcceleratorConfiguration
Change-Id: Icab69ba138b28c3baed4352da86a1b3b0c0cc195
2012-12-13 05:20:58 +02:00
2f998bdf8f fdo#46808, use service constructor for embed::FileSystemStorageFactory
Change-Id: Ic523e4b0a662a68a1a222b7697fcdae56d69903c
2012-12-13 05:20:57 +02:00
24f0aa76c0 fdo#46808, use service constructor for embed::StorageFactory
Change-Id: I26cd1cf86118122f392f16801a646df753a7df26
2012-12-10 08:05:53 +02:00
d9cf110dae Bye bye ODMA
SUSE has no interest in it any longer, and I doubt anybody else has
either.
2012-12-05 08:56:52 +02:00
9c2dfa9b41 activate basic gnumeric support in experimental mode
Please note that this is nothing mroe than a technical demo showing the
great opportunities provided by orcus.
It only imports some basic objects for now but provides the basis for
the future calc filter framework.

Change-Id: I6c6fb8d07e33482b2efdcbbe9a0f43224c5aa5a1
2012-12-04 08:24:18 +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
f96db7d0dd fdo#46808, use service constructor for i18n::Collator
Change-Id: I15a360723e335345aad09e73fcb0f6815ed9e0d4
2012-11-30 13:59:46 +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
9865cc0aee fix misuse of toAscii(Lower|Upper)Case
OUString are immutable so these api, contrary to what happen
with String, do not change the object but create a new copy

Change-Id: Ib48a8d11e485d4b8556f4427880aaaca32d4e82c
2012-11-28 01:32:06 -06:00
cc360f0a48 fdo#46808: Missing adaptions to XFolderPicker2
c988da288ec473a28f61ebb53aa3ff82bab11ef4 "fdo#46808, Adapt
ui::dialogs::FolderPicker UNO service to new style" had left some FolderPicker
implementations at XFolderPicker, so creating them caused DeploymentExceptions.

Change-Id: I3463161f9bb87a69a2777c331eb5b93d487790b0
2012-11-27 10:39:28 +01:00
31170413ae API CHANGE: com.sun.star.lang.IllegalArgumentException
... derives from com.sun.star.uno.RuntimeException instead of
com.sun.star.uno.Exception.

Only test that breaks with this change is jurt_uno/AnyConverter_Test,
which for mysterious reasons effectively tests that
IllegalArgumentException is a subclass of Exception and not
RuntimeException.  Presumably this is just a generic exception test that
happens to use IllegalArgumentException.

Some further testing indicates there are no problems expected at
runtime:
Running "make subsequentcheck" with all Java test code compiled against
a ridl.jar that does not contain the change, running against a soffice
that uses ridl.jar and rdbs with the change + ridl.jar with the change
on the test side yields exactly the same AnyConverter_Test failure, with
no other failures.

Change-Id: Iad183de76ec7e0d56648084e97cdcc160b5b033d
2012-11-26 23:14:33 +01:00
af60316514 some i18n wrappers with LanguageTag
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
2012-11-23 23:09:16 +01:00