Commit Graph

560 Commits

Author SHA1 Message Date
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
448fa131b2 Fix fdo#52204 add new feature ignore diacritics in search for CTL
Change-Id: Ie9044a35003217545bacea214ef59047bff3b8b1
2013-06-21 11:14:17 +02:00
6ed60d6a93 Related: #i122120# Ensured Append/Modify methods in LB implementations...
always add a UI graphic preview, corrected diag mirror in bitmap pattern

(cherry picked from commit 36a8574012525fa837df6dfd1839fa65b5a2bc70)

Conflicts:
	cui/source/tabpages/tpbitmap.cxx
	cui/source/tabpages/tpcolor.cxx
	cui/source/tabpages/tpgradnt.cxx
	cui/source/tabpages/tplnedef.cxx
	cui/source/tabpages/tplneend.cxx
	svx/inc/svx/dlgctrl.hxx
	svx/inc/svx/xtable.hxx
	svx/source/dialog/dlgctrl.cxx
	svx/source/xoutdev/xtabbtmp.cxx
	svx/source/xoutdev/xtabcolr.cxx
	svx/source/xoutdev/xtabdash.cxx
	svx/source/xoutdev/xtabgrdt.cxx
	svx/source/xoutdev/xtabhtch.cxx
	svx/source/xoutdev/xtable.cxx
	svx/source/xoutdev/xtablend.cxx

Change-Id: Iff0744061b76d8c608e285f81bcc8e76edeb6a69
2013-06-18 15:35:15 +01:00
40a5fd4aa0 Resolves: fdo#65595 wrap long checkbox string
Change-Id: Ied827721a1ceca69ed33b494f8b55cb4bb1b748b
2013-06-11 14:00:48 +01:00
1543e30a33 Convert Search in Japanese page to .ui format
Change-Id: I1874f36d3e69b39fcb456de85b28c7a09f7bdbf2
2013-06-07 09:49:19 +02:00
516ed22b3f Remove remnants of help agent
it was removed with 66714f1888eaccef4eb5341971278ae7dfafa16b
but gobs of code (and UI) still existed to collect the help id
and give it to the missing help agent with various UI visible
options and buttons to control the help agent which isn't
there

Change-Id: I625da27b3046d481e43f4d35d32cc7063a1c6291
2013-06-06 14:52:49 +01:00
35a65baefe Slowly, but surely going on compiling for mingw64
Change-Id: I590aa6a854a040281bf73d5be768c05d4906a984
2013-06-06 15:52:05 +02:00
dcbaf7c253 remove unused componentcontext.hxx includes
Change-Id: I598926b72c5540b472f9607e2f3df134a8c50048
2013-06-05 08:13:21 +02:00
1f79707438 fdo#46808, Convert office::Quickstart service to new style
Service already existed, just needed an IDL file.

Change-Id: Ief5563e53c7331b65dd429079180c4eed2f2c071
2013-06-03 10:00:01 +02:00
0badc40070 WaE: private fields are not used
Change-Id: I6c649804b0c03d8ca265e71be50aaa735e8fbeb2
2013-05-31 16:57:07 +03:00
7ce2a89f4f prompt to restart office when required for experimental features
Change-Id: I43051ec6b0efeaebcf4a28940f70913423b8ea9f
2013-05-31 09:33:07 +01:00
05f9555e03 fix spellings and some tidy of the language .ui conversion
Change-Id: Ia0d3ecc728fac13fb4745810124fd3b2c63c9835
2013-05-30 16:28:06 +01:00
fa3d5ca1f9 Convert Languages tab page to .ui
Deleted the readonly images too,it was not used any where else and was just confusing.

Change-Id: Ibdcda961966ceab28b224335bfa2e154a395e788
2013-05-30 12:42:45 +02:00
3d4d89cf5a Convert option Complex text layout to .ui
convert the complex text layout widget and do the rest
of the conversion.

Change-Id: I8d928284e9532dfbc2f5e8d7d59f789de7865925
2013-05-29 20:41:09 +02:00
1d95129bdc show the 'java' options page when java disabled
because there are now a bunch of unrelated to java things in there in its new
incarnation as the "advanced" tabpage

this removes the weird empty tabpage in options
in the java-disabled-at-build-time configuration

Change-Id: Ie59d8362d440c41e746b67a0195e4159848f162a
2013-05-24 15:24:48 +01:00
6a043e9c0a Use the new type-checking Reference constructor to reduce code noise
Also create a Clang compiler plugin to detect such cases.

Change-Id: I61ad1a1d6b1c017eeb51f226d2dde0e9bb7f1752
Reviewed-on: https://gerrit.libreoffice.org/4001
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2013-05-22 10:44:29 +00:00
54d820a781 add experimental option for sidebar to 'Advanced' pane. 2013-05-20 11:33:37 +01:00
859f28865c make nospace edit not allow space in numbers only mode
Change-Id: Ie20dacb14b89d872045e58c84d4bf7804f4bee35
2013-05-16 14:33:40 +01:00
545e810da6 convert proxy page to .ui
Change-Id: I61db7bf0def96209a85656128188f85899b72292
2013-05-16 14:33:40 +01:00
b1415411a1 turns out the socks options don't exist either
Change-Id: Ib762aa6b98b5fcc72b4677aa52053a04cd264a73
2013-05-16 14:33:40 +01:00
8ba847daf0 sFromBrowser is unused
Change-Id: I00d2b1f25f393c6d3835a39a4b4579e66b622838
2013-05-16 14:33:40 +01:00
8594060094 drop unused dns entries from proxy dialog desc
Change-Id: I98d240c3334358a5c2ec3b34e9967ebe945464f8
2013-05-16 14:33:39 +01:00
3e56337733 fdo#46808, More LinguProperties fun
Change-Id: Ia3173e980370f532fcabc8f1c7a913e5d66d6d8a
2013-05-15 08:25:38 +02:00
4481f5d4bc fdo#46808, Replace some XMultiServiceFactory with XComponentContext
Change-Id: Ifbf8041ef9ffbecb88dacc9757895d777805372f
2013-05-14 08:08:25 +02:00
357e1c0f8d fdo#46808, Convert setup::UpdateCheck service to new style
The service already existed, it just needed an IDL file

Change-Id: Ide9fe23861d43845e242d4637b3ef9673b30e068
2013-05-14 08:08:25 +02:00
ef0af5032a fdo#46808, Convert linguistic2::LingProperties to new style
API-CHANGE:
Removed the following interfaces from the IDL because no-one was
using them:
    interface com::sun:🫘:XFastPropertySet;
    interface com::sun::lang::XComponent;
But the service still implements them, so old code should keep on
working.

Change-Id: Iab058fb42bd1a54e0b9632e99e564fdc0869fe6e
2013-05-14 08:08:25 +02:00
86c1ebc1ef fdo#46808, Convert util::PathSettings service to new style
Change-Id: I302be46b46518e1e872771e1c8a0647f7c330b30
2013-05-13 09:38:01 +02:00
67bbbfe91d Personas: Kill the non-finished "Background Image" feature.
It seems not to be a too good idea anyway - the image has to have some
specifics, so the value of setting any random image as the background of
Writer / Calc / Impress is questionable.

Either way, if anybody wants to finish that, easy to recover from the
history ;-) - better than keeping the unused code around.

Change-Id: I5079210bd91b5e70ce20681e5477b860bb28ff07
2013-05-10 12:08:29 +02:00
e2e2cc6114 remove usage of RTL_CONSTASCII_USTRINGPARAM
Mechanical removal of usage together with OUString ctor, done
by compiler plugin.

Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-05-06 16:51:45 +02:00
ec8617568f Bin ugly (ab)use of preprocessor in headers
The time when it made sense to use "clever" #ifdefs to, for performance or
compiler reasons, conditionally bypass private parts of a class declaration
passed a decade or longer ago.

Still more of this in sw and sc. People working on those modules might want to
do it too, or not.

Change-Id: I1053139ca5e5e2631f7b22d99d3bada54fc337be
Reviewed-on: https://gerrit.libreoffice.org/3627
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-27 09:28:37 +00:00
62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
13dcaae519 fdo#62699 Remove pass-through headers
Change-Id: I84a88238f6cdc485530ffb76f9444179a22abb92
Reviewed-on: https://gerrit.libreoffice.org/3491
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-20 18:15:58 +00:00
0f200cc30e fdo#63154: Change Min/Max/Abs for std::min/max/abs
Now all these usages were removed from LO.

Change-Id: I8a7233db20abdcdbb18428ad4004c78cc516a0e6
Reviewed-on: https://gerrit.libreoffice.org/3326
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-04-20 11:09:54 +00:00
ca3fa2a210 Personas: Now they are called 'Themes', and changed location.
Updated the URL's + the code that works with them & parses the page
accordingly.

Change-Id: Iba1414c749bdf227b3945162da83e3d35ce86244
2013-04-19 16:32:38 +02:00
8fb49ab62e convert email options to .ui format
Change-Id: Ie42117b21c4b6a37831462f34f3af52c7933d438
2013-04-16 10:53:15 +01:00
0039c8598c convert browser options to .ui
Change-Id: Ia3672c43b0e80e45ff3404fa84a11182cd6c03a0
2013-04-16 10:15:38 +01:00
73cc9fc42c Fix variable reassigned before the old value has been used
Change-Id: Ifd90fe801371a7f4cbeefe49dbfbe192c3040ebd
2013-04-08 07:31: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
876c619b94 new module i18nlangtag
Moved portions from module i18npool, all of former i18nisolang1 library
that now is i18nlangtag. Included are languagetag, isolang and mslangid.

This i18nlangtag code is now even used by module comphelper, so
disentangling i18npool and making this an own module was needed to not
create circular module dependencies.

Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-05 19:10:48 +02:00
944bc0a3a3 Resolves: fdo#62478 crash on tools->options->base->databases
Change-Id: Ic24c5f14f66a4059ce653df34321352adb50496f
2013-04-05 12:19:51 +01:00
b7525f1f1d Drop jvmaccess and jvmfwk when no SOLAR_JAVA
Just sprinkle #ifdef SOLAR_JAVA into the code instead.

In the source for jvmaccess and jvmfwk such ifdefs can be removed as
it isn't compiled unless SOLAR_JAVA.

Change-Id: Ia8614f8bd6d833582d3b79b5fb75f9153fa79606
2013-04-05 00:18:50 +03:00
1b6afe0788 convert online updates page to .ui
Change-Id: I69e8a1d136df3f8f8daa2d3f5241b74d2b39efdd
2013-04-03 14:33:08 +01:00
aa753f01ba -Wunused-macros
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-27 09:36:53 +01:00
2c1da7f081 convert half of optfltr.src to .ui
Converted the "VBA Properties" half of optfltr.src to optfltrpage.ui.

Change-Id: Ie200377f2956aa243b1be859eb52972b79e9dc66
Reviewed-on: https://gerrit.libreoffice.org/2961
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
2013-03-26 16:29:27 +00:00
9c281fda84 String::AppendAscii cleanup
Change-Id: I3c1ff291488b7747e143982aa7ea95169175c2c2
Reviewed-on: https://gerrit.libreoffice.org/2914
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-22 17:17:18 +00:00
52f8321c41 use #if instead of #ifdef for testing config_xxx.hxx macros
http://lists.freedesktop.org/archives/libreoffice/2013-March/047769.html

Change-Id: I81ed4500878ff3193e028410a1f0205e28d17fc3
2013-03-20 11:34:18 +01:00
5c0dd40620 converted cui/source/options/optsave.src to .ui
Change-Id: Ieaef10684f45dc699e7d2c56dffca5483f0a30cc
Reviewed-on: https://gerrit.libreoffice.org/2816
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2013-03-19 12:41:27 +00:00
4c0c23af21 Simplify equalsIgnoreAsciiCaseAscii[L] calls
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-19 11:32:20 +01: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
a9bc164acc sal_Bool to bool
Change-Id: I0a8d0f11c45aba1d34a0098e6a371bd616b08b72
2013-03-19 14:16:50 +09:00