ba0a57702c
remove OUString wrap for string literals
...
For some functions and all kinds of Exceptions.
CannotConvertException
CloseVetoException
DisposedException
EmptyUndoStackException
ErrorCodeIOException
Exception
GridInvalidDataException
GridInvalidModelException
IOException
IllegalAccessException
IllegalArgumentException
IllegalTypeException
IndexOutOfBoundsException
NoMasterException
NoSuchElementException
NoSupportException
PropertyVetoException
RuntimeException
SAXException
ScannerException
StorageWrappedTargetException
UnsupportedFlavorException
VetoException
WrappedTargetException
ZipIOException
throwGenericSQLException
throwIllegallArgumentException
createInstance
createInstanceWithContext
forName
getByName
getPackageManager
getPropertyValue
getUnpackedValueOrDefault
getValueByName
hasPropertyByName
openKey
setName
setPropertyValue
supportsService
bash command:
for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx'
| cut -d ':' -f1 | sort -u
| xargs sed -i
-e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g"
-e "s/\($i.*\)\"+ /\1\" + /g";
done
Change-Id: Iaf8e641b0abf28c082906014f87a183517630535
Reviewed-on: https://gerrit.libreoffice.org/4624
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org >
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-06-29 21:52:54 +00:00
72e5d0c8fb
Move to MPLv2 license headers, with ESC decision and author's permission.
2013-04-30 13:34:06 +01:00
c914d7d5cc
fdo#63154: Remove all usages of the macro EXTERN_C
...
Change-Id: I25b7f509ba5d1007a16c84ad05870a8174c094ec
Reviewed-on: https://gerrit.libreoffice.org/3621
Reviewed-by: Tor Lillqvist <tml@iki.fi >
Tested-by: Tor Lillqvist <tml@iki.fi >
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2013-04-26 11:52:36 +00:00
1cc9bbfd57
gbuild: drop empty use_packages calls
...
Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f
Reviewed-on: https://gerrit.libreoffice.org/3503
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2013-04-24 05:18:15 +00:00
c042cd05e9
gbuild: drop uses of removed packages
...
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac
Reviewed-on: https://gerrit.libreoffice.org/3502
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2013-04-24 05:18:03 +00:00
6c7659b584
move URE headers to include/
...
Change-Id: Ib48a12e902f2311c295b2007f08f44dee28f431d
Reviewed-on: https://gerrit.libreoffice.org/3499
Reviewed-by: David Tardon <dtardon@redhat.com >
Tested-by: David Tardon <dtardon@redhat.com >
2013-04-24 05:17:10 +00:00
3b65852f37
gbuild: add support for building against MSVC debug runtime
...
Mainly this means using /MDd instead of /MD and /MTd instead of /MT in
the CFLAGS, and also re-mapping of .lib files to ones with "d".
Change-Id: Ifc56b53a66d5eb522c1695a34d68b08cad1d8338
2013-04-15 15:26:32 +02:00
d95fb607c2
fix windows build
2013-04-08 15:24:40 +02:00
84373a71d6
fix windows build
2013-04-08 14:56:59 +02:00
b248624126
fdo#46808, Convert frame::Frame to new style
...
Change-Id: I74427d1e0059808f04960c648b93245b06c20f7f
2013-04-08 13:53:04 +02:00
1946794ae0
mass removal of rtl:: prefixes for O(U)String*
...
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).
Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
2d7d465ee0
add missing dep on comphelper/classids.hxx
...
Change-Id: Ibe2fe28c19010fa8844db3ad912e9a5dc9305cad
2013-03-28 08:59:25 +01:00
488e6875e9
remove external include guards
...
Change-Id: If5758e02baa8e019923355b6c97043b306223fdd
2013-03-25 19:58:16 +01:00
39d45390f4
removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarations
...
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms
Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b
Reviewed-on: https://gerrit.libreoffice.org/2835
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-03-19 10:48:30 +00:00
8b27d78b4a
automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings
...
Done with a perl regex:
s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms
Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec
Reviewed-on: https://gerrit.libreoffice.org/2832
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-03-19 09:00:26 +00:00
79b0046ba0
remove legacy build.pl prj/build.lst files.
2013-03-14 17:05:51 +00:00
b768611724
remove all d.lst
...
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28 18:40:06 +01:00
308cac3f23
sal: new ZipPackage_sal_odk_headers for public ODK headers
...
Change-Id: I76cb00121d7b4c21137be70ab7a5bd5389037302
2013-02-27 01:33:18 +01:00
1443a9f7ab
[Uu]sefull -> [Uu]seful
...
Change-Id: I5dad83789ff9b6815561208679a5e19821041e1f
2013-02-22 11:12:33 +01: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
a6f978e1c3
Logic (only update ret if it does not indicate an error yet)
...
Change-Id: I717ff4de7cf406b01383f8f181b81695242a2ca8
2013-01-08 16:42:23 +01:00
1f5ae5e8c1
test on the return of pOleObject->Close
...
Change-Id: Iee64f6f369e2312d479fa81e7a59fb962ed8d90e
Reviewed-on: https://gerrit.libreoffice.org/1567
Reviewed-by: Miklos Vajna <vmiklos@suse.cz >
Tested-by: Miklos Vajna <vmiklos@suse.cz >
2013-01-08 09:40:34 +00:00
3567a7e324
Some cppcheck cleaning in embedserv
...
Change-Id: I49d81f482c6b97627e6e7cc3741246b70383eb5a
2012-12-22 00:14:46 +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
b5d7ac8dc9
Windows-only fixes
...
Change-Id: Ida4d7fc3f830cdc8a9c1ab9842d359763c6efae1
2012-12-11 20:59:46 +01:00
6531960ad6
Blind Windows-only fix
...
Change-Id: I66c2c0262d3b1255ec90c1e4ac6c992c91b4a821
2012-12-11 18:31:35 +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
33a0f8ce65
fdo#46808, Adapt awt::Toolkit UNO service to new style
...
Create a merged XToolkit2 interface for this service to implement.
Which is backwards-compatible, but does not require creating a new service.
Also mark sub-interfaces as non-optional.
Change-Id: I278d0288e92be277033013302267cf93f7d70480
2012-10-24 16:49:49 +02:00
5084b6dca8
fix embedserv build with Win8 SDK
...
Change-Id: I3a51a563fa3c2a57cbbe44087f0f4958c2b41a69
Reviewed-on: https://gerrit.libreoffice.org/790
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
2012-10-07 02:10:20 +00:00
31713fee3c
Fix an InteractionHandler new-style service use
...
Change-Id: I593467dce8f1e70e1f5068d722dfa0654d3346b7
2012-10-04 18:06:09 +02:00
c25cb8a641
fdo#46808, Adapt task::InteractionHandler UNO service to new style
...
Since we don't need to expose XInitialisation, we can make the new-style
service implement XInteractionHandler2.
Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558
2012-10-04 14:42:52 +02:00
28f128f037
Use prefix
...
Change-Id: I5514112b700c31fa7e30c70ca7764d4ae1170ed2
2012-10-01 23:05:36 +03:00
5032dc0fc3
gbuild: invert handling of standard system libraries:
...
Always link in gb_STDLIBS, except when the library explicitly opts out
with gb_LinkTarget_disable_standard_system_libs.
Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28 16:49:08 +02:00
dc397aae70
gbuild: gb_Library_PLAINLIBS_NONE cleanup for WNT:
...
add a new gb_LinkTarget_use_system_win32_libs to abstract different
linker options on MSVC and GCC.
Change-Id: Ic9bf2545f59bf7871e6fc06b290c486ddfbec03d
2012-09-28 16:49:08 +02:00
b85c349783
gbuild: replace direct gb_STDLIBS use with ...
...
... new gb_LinkTarget_add_standard_system_libs
Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28 16:49:06 +02:00
2e677c3981
gbuild: split uwinapi out of gb_STDLIBS
...
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-28 16:49:05 +02:00
750fc20611
replace remaining InterlockedCount() with inlined version
...
Change-Id: Ifcfa48fc87f905a91470a5b0fd597b02f220784c
Reviewed-on: https://gerrit.libreoffice.org/671
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com >
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com >
2012-09-25 01:55:38 +00:00
03a9f139bd
ComponentContext::getUnoContext -> getComponentContext simplification
...
...and some further clean-up.
Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-19 13:16:38 +02:00
206c70eef3
fdo#46808, Adapt TempFile UNO service to new style
...
Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
2012-08-27 15:40:08 +02:00
e5a0755bc2
new does not return null
...
Change-Id: Iea00f7c6435c6ae3ccbb2f97ab4407df8b86c54b
2012-07-20 15:55:44 +02:00
2c47c9989e
re-base on ALv2 code. Includes:
...
cws mba34issues01: #i117709#: make sure that parent of error message box is visible
Patch contributed by Mathias Bauer
http://svn.apache.org/viewvc?view=revision&revision=1172346
i#119036 - improve user experience of certification dialog - only shown once
Patch contributed by Oliver-Rainer Wittmann
http://svn.apache.org/viewvc?view=revision&revision=1299727
2012-07-13 21:38:47 +01:00
ad39c2cdc3
fix build, typo
...
Change-Id: I532a6822d6ee023d72a71e012c97929f56c7b05a
2012-07-02 18:43:50 +02:00
8423a74a91
fixed build break by adding missing parentheses
...
Change-Id: Ia7ab8401334945346c01a3e5cb73bbd73503b97c
2012-07-02 17:56:15 +02:00
fdda178d88
targetted improvement of UNO API includes / usage
2012-07-02 14:43:34 +01:00
66cd9eeb90
Remove various commented out defines
...
Most of them in hrc files.
Change-Id: I3944f6ed9befd2b498385f61b851790362221a4f
2012-06-25 14:12:57 +02:00
ecf943247f
re-base on ALv2 code.
...
Change-Id: I8018d9b5fa01d1720c0392dc5fdc4a0656f25a35
2012-06-22 09:51:05 +01:00
b9042fad7c
re-base on ALv2 code.
...
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
f0c7544df9
nuke dead code
...
Change-Id: I0ea47ee535ba0e903bae0de227acd311ca96aa03
2012-06-06 23:05:59 +09:00
34dfde5576
fix linking after 0fcd1a73f0e1ec564f3c6da1ccd890183d3c18db
2012-06-06 12:42:06 +02:00
0fcd1a73f0
fdo#46808, Adapt UNO services to new style, Part 7, updating ::create
...
Update code to use factory method URLTransformer::create
Change-Id: I3fd2e838497bcfd8fc949615c0e7d60a6ea47118
Signed-off-by: Stephan Bergmann <sbergman@redhat.com >, added some tweaks.
2012-06-06 10:53:34 +02:00