Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: I59b111341fc8153088882ac24322f714dc69417a
|
|
Change-Id: Idbb928b2898bc6b2b5bfe3bdbfde0b81d68e4473
|
|
Change-Id: I6f2fabd9248b1b385439ff5c074342029fb660e0
|
|
...to use single ASCII character literals "more directly" in the OUString API
(instead of having to go via an intermediary OUString ctor call). Especially
useful for character literals that are defined as const variables or via macros
("direct" uses of character literals in the OUString API can often simply be
replaced with single-character string literals, for improved readability).
(The functions overloaded for OUStringLiteral1 are those that are actually used
by the existing LO code; more could potentially be added. The asymmetry in the
operator ==/!= parameter types is by design, though---writing code like
'x' == s
is an abomination that shall not be abetted.)
Change-Id: Ic5264714be7439eed56b5dfca6ccaee277306f1f
|
|
Change-Id: I82fea345a05c0327af3b75ccfd3358f54523c082
|
|
Added clear() method to OString and OUString class, Updated appropriate call-sites.
Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
|
|
It turns out that almost none of them were necessary.
Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83
Reviewed-on: https://gerrit.libreoffice.org/12133
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: I57e5f96fe9b385de852006e4b5bb830c782f93d6
|
|
Change-Id: Id73ee64dbf8586743f0e436e004e663a65d4548f
|
|
Change-Id: Iab2d5829b28587640058d484ef806d9e9e8c1f96
|
|
Change-Id: Ie1610a9e3df8e2844f4cc6b529d50db57ef8dc0e
|
|
Change-Id: I48f74be18664f8bf82e7b3f8576fef05b0e95630
|
|
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
|
|
Change-Id: I9acc496cd95c8362972fa0c41d35b77fc0715aba
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
|
|
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
|
|
Convert code like
aStr.compareToAscii("XXX") == 0
to
aStr.equalsAscii("XXX")
which is both easier to read and faster.
Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
|
|
that always annoyed me
Change-Id: I0c439ddb00d78590b465cd47db6e60d1939bd9f7
|
|
Change-Id: Ie924cf6d3ba3b95832b1176582765284acd9d5ea
|
|
Change-Id: I976d6d565c7970858a5a259199fe14075e4f5d2e
|
|
... between com::sun::star::i18n::LocaleData of
com/sun/star/i18n/LocaleData.hpp and i18npool/inc/localedata.hxx
Change-Id: Id23f67c1e3a654fd4f2886029ee45fcc1f466879
|
|
Change-Id: I5d51d7e01913ac9917578f8c9789312af9be3638
|
|
clean up stuff like this
xI->queryInterface( getCppuType((const Reference< XExtendedInputSequenceChecker>*)0) ) >>= xISC;
to
xISC.set(xI, UNO_QUERY);
Change-Id: I3b16a38c2a363440f6079cfe6ae47f009d3940db
|
|
Change-Id: I3aeaca995bc9a3d865b6955aa47cee4d9eb07750
|
|
Change-Id: I80af0399037e4f68113338139e7f2ad2400e65ab
|
|
Change-Id: If6ad17fa9e274beff7ba872a095ced65438962af
|
|
Change-Id: I263d35464ceaa7374e8ca94f7e72e56ee33aab53
|
|
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
|
|
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
|
|
Change-Id: I1efff8e09079267f4129c474872d3fc49adeb831
|
|
Change-Id: I7c3409ac39e690fcf2f7e4085bf6857e6bd182fb
|
|
|
|
|
|
Pattern used:
find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \;
|
|
Also done lot of simplification and modernization.
|
|
Where necessary, replace with wildcard, what does not change path.
|
|
Part XXI
Modules
i18npool, idl, idlc, io, javaunohelper, jvmaccess
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Tell file name and actual error in error message. Print error message
to stderr. Always exit with failure when not able to open an input or
output file.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Done with sed -i 's%\(\.equalsAscii\)(\(\s\?"[^"]\+"\)\(\s\?\))%\1L(\3RTL_CONSTASCII_STRINGPARAM(\2\3)\3)%g'.
|