Age | Commit message (Collapse) | Author |
|
Change-Id: I0fce5b2c59e468e936e3a0fa99ebd50c9d15d0cd
|
|
This is both an optimisation and a cleanup.
This converts code like
aStr.indexOf("XX") == 0
to
aStr.startsWith("XX")
and converts code like
aStr.lastIndexOf("XXX") == aStr.getLength() - 3
to
aStr.endsWith("XXX")
Note that in general
aStr.lastIndexOf("X") == aStr.getLength() - 1
converts to
aStr.isEmpty() || aStr.endsWith("X")
so I used the surrounding context to determine if aStr could be empty
when modifying the code.
Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
|
|
Change-Id: I7a8c3fdf34951e00fca8c0a2543f33817fa874fa
|
|
Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
|
|
Convert places that call
aStr[aStr.getLength()-1] == 'x'
to use the shorter form
aStr.endsWith("x")
Change-Id: I1b3a19c0e89b8989cdbeed440f95fc76f9a4b6b6
|
|
They are practically always useless, often misleading or obsolete.
Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
|
|
Change-Id: I7bffb6c976654e23e8728e902d7bac287e45afd3
|
|
Change-Id: Id1e0d4241a356bdb08a44b3ae87c3d1023c4669e
|
|
Change-Id: I759b22ca0f5bf7e3405572088d79263dd978f43c
|
|
Change-Id: Ie086cf59ae86a845e0b84e0ecba7f7e578d83783
|
|
Change-Id: I21662cb52c51332700e1021ae55d92cb46ccc15a
Reviewed-on: https://gerrit.libreoffice.org/6029
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Should be fixed by 913f83ac52629a524c373d2504a0cb349446b371
This reverts commits
4dd261e526f43a364c645e7022c49b61c8001a39
30d7729586a60bef061261e9e59bf44768cc0196
4e2e1ca76f772d4644a21b82f79dfb4412a9c99f
|
|
Change-Id: I4bf39d3f4f21a0eb78e064c74ff47a47c9d0558c
|
|
But it built fine locally for me, huh. Oh well.
Change-Id: Icef376a26eb8069eff002b2112a25363b5e18cb3
|
|
-Remove namespaces from header.
-Remove unused members (dbgcnt)
-Remove helpless methods (SetValue, copy ctr and operator,
inherited but not overriden virtual functions)
-Use prefixes for variables
-Use const where it possible
-Remove visual noise
-Correct indentation
Change-Id: I295be484dde157847cd16f260ec70d5cdb5b6fb4
|
|
Plus:
- Use macros instead of members.
- Use const where it is usefull.
Change-Id: I960f5dec29b5c17655055e1884bc4e7983359318
|
|
Change-Id: Ia93f352a2e7069e910efcc1dc3810cc689fc18ac
|
|
This patch modifies transex3.
Modified transex3 outputs a file with BOM(if MergeMode is true).
*.[hs]rc files with BOM avoid this problem.
This problem is that MSVC interprets UTF-8 source code without BOM as
local codepage when system locale is "Japanese(Japan)".
Change-Id: I3e12499a91a954236f48e6d7e360d26c93d19ed6
Reviewed-on: https://gerrit.libreoffice.org/5851
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
|
|
Change-Id: Iade7917eb9ade7248392e04f4653bda3674464aa
|
|
Change-Id: Iafadaea87501bc3675eaf2856b5050a7e3ecaa37
|
|
Change-Id: I17a257f2abe90e8d489fa1af0e0889934dc3fd47
|
|
Change-Id: Ia54965d35ffe29e32b85cd720ecd41495ff72063
|
|
Build Catalan-Valencian as ca-valencia instead of ca-XV private-use.
Introduced LANGUAGE_CATALAN_VALENCIAN 0x0803 mapping to ca-ES-valencia,
preserving old ca-XV and qcv-ES mappings to now
LANGUAGE_CATALAN_VALENCIAN and LANGUAGE_OBSOLETE_USER_CATALAN_VALENCIAN
0x8003 to ca-ES-valencia.
Removed special !bUserInterfaceSelection treatment from
MsLangId::getReplacementForObsoleteLanguage() and added the usual
obsolete replacement instead.
Change-Id: I2fdd8b0bac55d4b4ae2cbf3c3645f09fefec9b6e
|
|
No idea why that seems to work on other platform
but 10.6 SDK does not like it at all
Change-Id: I145b03874ba948cb29c998552e852f29999bc471
|
|
Change-Id: I1749714154be9c2aea7a8623719c38601abc13ba
Reviewed-on: https://gerrit.libreoffice.org/5750
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
|
|
Change-Id: I4195ae747229dd5f991acc8ed5764b42aeb73cf3
|
|
(note: object is of type 'XMLDefault'); Clang -fsanitize=undefined
Change-Id: Idaa1e30068c389ed57977d40fc90410ec9ff3665
|
|
Compiler plugin to replace with matching number(), boolean() or OUString ctor,
ran it, few manual tweaks, mark as really deprecated.
Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
|
|
Change-Id: I60cfb30c7caab308a0cbe415ba04e1245ed3dd9c
|
|
Pootle has many checks, but there are cases which are not covered.
Therefore I wrote a tool which checked three types of translation
errors:
1. Unique style names.
2. Unique spreadsheet function names.
3. Missing trailing '|' in Windows installer translation.
Usage: make cmd cmd=solver/*/bin/pocheck
It checks all languages and prints the report to stdout.
Change-Id: I89aad66ea41c0ebe4a6f45beaaf86afd1a6439cc
|
|
Change-Id: Ib78b25641ae20a3eb23545649f08b963e34c74ff
|
|
Change-Id: Ibe9babbe8610bf70a80b819e21d24c6572436092
Reviewed-on: https://gerrit.libreoffice.org/5015
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
|
|
follow-up of a7674482254ee996b1c4fee60f3064778be369aa
Change-Id: I25f40c601454c092078307d931333af1bc1447ac
|
|
Old stuff. By now we always have to add double
quotes to the edges of text.
Change-Id: I14ca7283d723bf87fb232288d92e53393e90103e
|
|
Change-Id: I9272c244e22d87fbd2547f4fcb6b94493ffaad3a
|
|
L10ntools merge skipped reading po files entirely when got
an invalid entry from one of these po files, by now just
skip the invalid po file instead.
Change-Id: I787d531e1842e53e2074690b1300a204abd928f5
|
|
...see dictionaries comits df423c53829faa96f46acd71887fd0f8697c49e9
"fix Lithuanian thesaurus" and 9b6407dadc64e10e7117d8551917b46105ecc6c8
"Fix more thesauri."
Change-Id: I6ddc41fce4e3f68d80d05af3320c835b98908fcb
|
|
Change-Id: Iafad6249a7998d7c749c1ca2979a606078cfcb5e
Reviewed-on: https://gerrit.libreoffice.org/4070
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
|
|
Change-Id: If53afd3743f44bcfffab33122657d14c0f4aba1e
|
|
1. A typo in export.cxx makes not working replacing
2. EscapeAll() ignored single backlash characters
Change-Id: I1a5309778acdd601391f643ebf3c66d04a6601d4
|
|
lets try this hack, if it fails revert and I'll just
manually update the baseline with a newer flex than
flex-2.5.4a-41.fc6
Change-Id: If644489e80fc4e4cdba97808af0fe4d544d08646
|
|
Change-Id: I9ec5192c007df6d0ce15f5e61cb53cf6ea04db08
|
|
Change-Id: If75cad038f35033be6dcad6f051673bd795accf3
|
|
transex3 crashed if a new language was added to the StringArray
PairedList in svtools/source/misc/langtab.src and that resource was
attempted to be built.
For the new entry doesn't exist a MergeEntrys entry in vMergeEntryVector
yet, but ExportList::GetSourceLanguageListEntryCount() already includes
it so nMaxList is greater than size of vMergeEntryVector. Check nLIndex
first.
Change-Id: I3b706bea7aea7cd7ecd8245d99587b944510952d
|
|
Change-Id: Ic05de69951b28b9cc8d62f0a534b507c424e6b25
|
|
Change-Id: I8d1facfa027701a4f249f14392f9b204e92180be
|
|
Change-Id: If558758e3315879adf3034038f7ebe7315baf7a6
|
|
Change-Id: I64d559603bff0d618dce72927566531296984d3c
Reviewed-on: https://gerrit.libreoffice.org/3823
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
|
|
Change-Id: I515a316bea0bef6608d993823f906390b39e9fa9
|
|
Change-Id: I0cf95c5ef222d085ccda73b54165d7238190becc
|