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
5cb2e3104b
remove toolkit/unohlp.hxx hack
...
Change-Id: Idb9971d848870f4d00dbf77e80e48bf7dfde8913
Reviewed-on: https://gerrit.libreoffice.org/4601
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-06-28 11:49:28 +00:00
31fc0b7442
always call setDeferredProperties for dialog get/set title
...
Change-Id: I57f9cc8fbdb9d2a304c346e03893fa55d6a61bd5
2013-06-28 11:50:15 +01:00
a85aed77e6
Resolves: fdo#65716 MACROLANG not substituted in title
...
Change-Id: I1fa71a926e0df753a553f43aebaa201a13f74f95
2013-06-25 20:31:15 +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
3e56337733
fdo#46808, More LinguProperties fun
...
Change-Id: Ia3173e980370f532fcabc8f1c7a913e5d66d6d8a
2013-05-15 08:25:38 +02:00
be1833cbc4
fdo#46808, Convert singleton theBrowseNodeFactory to new style
...
Change-Id: I68fa7f5dde1928e895575bc602b54de83279fb7c
2013-05-15 08:25:37 +02:00
467dc11fba
adapt code to use paste special .ui
...
Change-Id: Iaac28f442aa38dd6610c89ba04ea2d1ccfca35c5
2013-05-14 16:14:55 +01:00
55fe8bf2e7
IconBox checkbox is always hidden and always disabled
...
Change-Id: I4aad1568501e4ecb2758c19ee62f78388abb6fcf
Change icon button is always hidden, and hooked to nothing
Change-Id: I8b8e290908223467b76b0a861a8285e9a87e9fe4
ShouldLink never called...
so bLink is never used
so the always hidden aRbPasteLink is unneccessary
Change-Id: Ic48c9856a8750706262c883a079e0374fc9bb59c
GetAspect never called...
so nAspect is unnecessary,
so SetDefault becomes a no-op and unnecessary
Change-Id: I4a2d0af2eae2a822ecc2d71c84b26b8a2a2de210
aRbPaste is always hidden
Change-Id: I2b1c6eefee5dada29ad5952010b7121e5bcadcde
2013-05-14 16:14:55 +01:00
4481f5d4bc
fdo#46808, Replace some XMultiServiceFactory with XComponentContext
...
Change-Id: Ifbf8041ef9ffbecb88dacc9757895d777805372f
2013-05-14 08:08:25 +02:00
fbc4e96901
coverity#704141: resource leak
...
Change-Id: I4147dfa5d0d1fb2324a6441580212f25ce9d4a01
2013-05-09 23:29:45 +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
e61ea2d79f
fdo#54087 refactor/fix browser plugin detection on Windows
...
Former code did not find the Firefox plugin, if it was
registered under HKEY_CURRENT_USER. Therefore the checkbox state was not
preserved in Tools - Options - Internet - Browser Plug-in.
Change-Id: I9ae2a7dae1501500d7ea7cb42517605219450af3
2013-05-04 09:58:06 -07:00
f8231a9765
some eco-activism
...
Change-Id: Ib447cd8633c3102ee78c919cfbeabcc88018b130
2013-04-27 23:04:15 +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
e0067f8451
sal_Bool to bool
...
Change-Id: I5831dfb7270ce3983a454c6c40558a74931d5200
Reviewed-on: https://gerrit.libreoffice.org/3537
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-04-22 07:16:25 +00:00
8546c324ff
Remove pass-through header file sot/inc/sot/clsids.hxx
...
Change-Id: I122669d4ffaf72fb1d5f6fccc98e8a648f31aa23
Reviewed-on: https://gerrit.libreoffice.org/3490
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 14:55:56 +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
ab7776e1bc
fdo#63503 add 'Delete Last' button to Special Characters dialog
...
Change-Id: I7f14564f6b28e0b480b503394e0e078ed28f9150
2013-04-18 12:47:23 -07:00
eb1c808001
Resolves: fdo#59246 shrink font to fit available width
...
Change-Id: I74cabfcbbfe24e598e497cf6eb451bd9ab517c44
2013-04-08 14:42:53 +01:00
34da7fbcc6
fdo#46808, convert embed::MSOLEObjectSystemCreator to new style
...
the service already existed, it just needed an IDL file
Change-Id: Iccd283f3537f8c8d57b2c2d68609dd9ef025da0b
2013-04-08 13:53:03 +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
79af094f8a
convert about dialog to .ui format
...
Change-Id: I7a4636c212e19702b94f5c42491c9785f1eccc00
2013-04-04 20:59:45 +01:00
f7f9b74163
replace PathDialog to xFolderPicker, remmove obsoleted PathDialog class
...
and at the same time we got rid of tools/fsys.hxx dependency in svtools
Change-Id: I5237529681a8b6ec32f41086af41ac575fbcff9b
2013-03-29 07:33:37 -07:00
ed23cd5974
String to OUString
...
Change-Id: I3292e489d0033f56c407af799e9c90d497e98744
2013-03-29 07:33:34 -07:00
5be14df244
ResMgr with LanguageTag
...
Change-Id: Ie5ce9157a7ea59db7b0509fbaec61d07f8f9edf0
2013-03-29 14:09:01 +01:00
3801c6ea7c
DBG_ASSERT -> SAL_WARN_IF (silence -Werror=unused-macros)
...
Change-Id: Iac61bcae89e9a96c7b9b97be3fa60378acc89bd9
2013-03-27 22:27:52 +01:00
aa753f01ba
-Wunused-macros
...
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-27 09:36:53 +01: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
9d548d56cf
Replace String with OUString (unotools)
...
Change-Id: I9a0677cb36805d0a27514824c937901f73fee1c8
Reviewed-on: https://gerrit.libreoffice.org/2864
Reviewed-by: Noel Power <noel.power@suse.com >
Tested-by: Noel Power <noel.power@suse.com >
2013-03-20 12:10:09 +00: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
918f8ed91e
"show logo" in slideshow settings doesn't do anything
...
This wants to load about.png which doesn't exist anymore. "about.svg" does,
but is a rather abstract background image for the about dialog these days, so
use "flat_logo.svg" instead.
Which requires moving the svg loader out of cui into sfx2 for re-use.
Change-Id: I8654f0f93766556ef4ed4b87eff35b45d8189761
2013-03-16 21:25:17 +00:00
59bc10eb46
fdo#38838, String to OUString, in dbaccess/source/ui/browser
...
Applied fdo#38838 in dbaccess/source/ui/browser, +
RTL_CONSTASCII_USTRINGPARAM removals
Change-Id: I8a565cdae7fd9da1de05525c602ce011542ab4d5
Reviewed-on: https://gerrit.libreoffice.org/2538
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-03-15 01:03:35 +00:00
38d3e115c1
vcl: make Region ctors explicit to prevent overloading desasters
...
Change-Id: Id36d125b4940418833bec31a4710d6cd545629e0
2013-03-13 22:29:46 +01:00
03c1f1732d
String::AppendAscii cleanup
...
Change-Id: If9e57c77d39597db78739a7886d76ee0197f6461
Reviewed-on: https://gerrit.libreoffice.org/2703
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-03-13 15:11:20 +00:00
7d1f4cdec3
fdo#38838: Converting String/UniString to OUString
...
Change-Id: If64db96005fcd8a42e4fa24041867b99183965f9
Reviewed-on: https://gerrit.libreoffice.org/2586
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org >
Tested-by: Fridrich Strba <fridrich@documentfoundation.org >
2013-03-11 15:50:44 +00:00
a0296296fb
fdo#60691 add modelines to *.src and *.hrc files
...
use solenv/bin/add-modulelines script for the task
and remove all UTF bom from *.src and *.hrc files
svx/source/dialog/hdft.src
Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4
2013-03-08 21:02:26 +00:00
5ecb308bd3
rename setInitialLayoutSize to setOptimalLayoutSize
...
and add a mechanism to know that we're in true
initial layout mode
Change-Id: I4ff61160ae67a7ccf1cb8b25c41870c195d32b94
2013-03-07 14:06:17 +00:00
a6b9173005
fdo#60148 Clean up warnings from the Clang compiler plugin
...
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671
loplugin: clean warnings: unused variables, incorrect indentation and log area.
Reviewed-on: https://gerrit.libreoffice.org/2544
Reviewed-by: Eike Rathke <erack@redhat.com >
Tested-by: Eike Rathke <erack@redhat.com >
2013-03-06 12:59:26 +00:00
cc71e03d3b
audit GetParent harder wrt GetParentDialog
...
weed out assumption that widgets are direct children of Dialogs
Change-Id: Ib2cf0c8862bd5e82b13380634ed82ca7fcc746b8
2013-03-04 16:07:48 +00:00
5fff8a99b3
SvxZoomDialog: m_pColumnsEdit can be a NumericField
...
Change-Id: Ic5469c89587b509822be8e29febc9047548c07ab
2013-03-04 16:31:49 +01:00
ce33f85ffd
sal_Bool to bool
...
Change-Id: I8c554fb3faead41c974af9c2a89728bd0bdf5eb6
2013-03-04 23:14:41 +09:00
cc9849118f
fix build
2013-02-28 11:25:30 +01:00
f4bb6d7cb5
remove unnecessary ascii arts
...
Change-Id: I4b76249ad29ed0ef4a35e2e2bffbf98508bad327
2013-02-28 10:53:11 +01:00
32fcb0c4f5
coverity#705636: fix memory leak
...
Change-Id: Iabb4922aedd6f2897e005797e6d2ae1fea11ac4a
2013-02-28 10:53:11 +01:00
07c584ad8c
postit dialog is always used for redline comments now
...
Change-Id: Id3ec1c12c354aabf2556e91e4fa75d60bb2c0f3c
2013-02-26 12:44:48 +00:00
58ba8835bc
adapt code to comment .ui conversion
...
Change-Id: I93f98f50443ab3b2fb0ce9f3126b03c8a3281ad2
2013-02-26 10:02:05 +00:00
f5305a942b
RTL_CONSTASCII_USTRINGPARAM and ::rtl:: removals
...
Conflicts:
cui/source/options/optgdlg.cxx
cui/source/options/webconninfo.cxx
dbaccess/source/ui/app/AppController.cxx
Change-Id: I2abfad91318e8be8c0f77909cbd76825cdca9b85
Reviewed-on: https://gerrit.libreoffice.org/2350
Reviewed-by: Thomas Arnhold <thomas@arnhold.org >
Tested-by: Thomas Arnhold <thomas@arnhold.org >
2013-02-25 18:31:40 +00:00