Age | Commit message (Collapse) | Author |
|
as demonstrated by fdo54887-1.ods
Change-Id: I2d5568126c58c831446b4c4b050ffed193f7921d
|
|
Change-Id: If451dfb24567157c86bca9a4a8564eb8de231a38
Reviewed-on: https://gerrit.libreoffice.org/6524
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Convert code like:
if( aStr == OUString("xxxx") )
to this:
if( aStr == "xxxx" )
Change-Id: I8d201f048477731eff590fb988259ef0935c080c
|
|
Change code like this:
aStr = OUString("xxxx");
into this:
aStr = "xxxx";
Change-Id: I31cb92e21658d57bb9e14b65c179536eae8096f6
|
|
This also means that this code now gets bounds checked in debug builds.
Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
|
|
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: I70ef44216fb7ddb4e12b9d90406b45cc594279f0
|
|
Change-Id: I4d2a93fa7395354fbf2893df9e254ab39fa365af
|
|
Change-Id: Id6bed78d92eba52283a17ab3ca66e751c225e48d
Reviewed-on: https://gerrit.libreoffice.org/6423
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Stephan Bergmann <sbergman@redhat.com>
|
|
There were only a couple of real bugs fixed, but we're a little
bit safer now.
This also fixes the assert and the comment in OUString::operator[]
about this.
Change-Id: Ibe16b5794e0ba7ecd345fa0801586d25b015974c
|
|
Conflicts:
sw/source/ui/inc/content.hxx
Change-Id: I58d81881271fc6e3320bf3b5f1321594b28614a6
Reviewed-on: https://gerrit.libreoffice.org/6388
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
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: I4278999b9b7d184c26036bbe9e3b98420f461e8c
|
|
Change-Id: I45da175fe0f72996b26d66c29e0e6a1b4115b896
|
|
to use cppu::supportsService and other pieces.
Change-Id: I16893b3d31a8055acd214ff23d01e63d38fe0826
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
|
|
Change-Id: Ia1f718341858de57d0e417d079981d91968f912b
|
|
Change-Id: Iec697f7100c06da37158e564ac64f0248f923638
|
|
Change-Id: Ib592ca2fe359293da6c10aa9e1535a91627cfc43
|
|
Change-Id: I5da99869fc7f61ce698180fa5daa9be9db9ac132
|
|
The key here is to only use the shared formula ID's and ignore the ref
range. The ref ranges are not correct half the time.
Change-Id: If65f9b1b44ab6239db37977b6dfe3f822a9cf67e
|
|
Change-Id: I0ebc43abe59ac317c053a4f606dbe376d85c03b0
|
|
They shall never be used.
Change-Id: I019c88b1511a67175d782777cd41e0ec0434f497
|
|
With this, both ScColumn and ScMatrix store svl::SharedString as their
string values, instead of OUString.
Change-Id: I3faece94d98f774881fd72b3ed5f6143504cd350
|
|
Change-Id: I633e3bb633317eeb61cd804faf20e79312f569f7
|
|
One is for the cased string and the other one for the non-cased one.
Change-Id: I798687f2efecaaea73a09e0b3348f85a9d9e8c07
|
|
Change-Id: I947713bda2c37e22199161a2c59e5d9ed00b37a2
|
|
Change-Id: I05d3877e2b0cb4bfccd3a2ae6f24abfd6507c46d
|
|
Change-Id: I2fc3ce4f0c2291d402cb470346d5561373fb51e7
|
|
So that the user of this class won't have to include the header just
to get the string ID type.
Change-Id: I0ccbc18fe02644f69701f57b0b1b9c30fd141d83
|
|
Change-Id: Ic676dd875c27ce60a0707903d7f22207764829e0
|
|
Calling intern() simply moves it to a global hash storage. Now
the test passes.
Change-Id: I0a93420abce1c3adaaa61d469dff5f359dd5ada4
|
|
But this code needs more work.
Change-Id: I538eebf5eb1738a2cfeebc22052b3d5db6001b6b
|
|
Change-Id: Iff6fcf3aba73f2d06ac0c885b39e69ac0febc49f
|
|
Change-Id: Ia343165941231fab34c4904b7a2fa10b07fa32bb
|
|
To prevent the string ID's from being used to instantiate string objects,
which can mess up shared string object's life cycles.
Change-Id: Ibcd9a4fa9f591d5c27a9e1b50bc9f83ae230e86a
|
|
Change-Id: Ie66de46d69f664839aa0a2d056cd3b8df4d4989b
|
|
This will be used to retrieve case insensitive string identifiers
later.
Change-Id: Ia34f57d0e8d0cb6bd4630f8d110853ed049770b5
|
|
Change-Id: I1379fbc377607be8831133d64db2e14f8c75bff8
|
|
Change-Id: I9fb67a1b7ccd4c8fbc17274902a16d8c0b13d598
|
|
Change-Id: Ieed1b52624afa8fc36fadb54d3209a3482416068
|
|
Change-Id: Ia0bba3c1610dce5d364fb584f04e0b66cc41fb20
Reviewed-on: https://gerrit.libreoffice.org/6077
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I53dafdb4d23a7a2773a6f63e84f36be191d9f261
|
|
Change-Id: I6a772c5ba8df071caa88bfef4a1e9f114c26a369
|
|
... and %PRODUCTXMLFILEFORMATNAME at runtime and hard-code
OpenOffice.org 1.0 for these too.
Change-Id: Id96390506d2a0f367f932e85d3115362ad483bc3
|
|
Also remove all others implementations.
Change-Id: I1dc108a9103f087bd8ce591dff2ac5dd254746f8
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
|
|
Change-Id: I2af468933b1e9bdad1c6da1f881daaf068b6bec0
|
|
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
|
|
AutoCorrect option "Add non-breaking space in French..." insert
non-breaking space (hard blank) and avoid recognition of percent
number and time number. This patch treats hard blanks as soft blank
in number format recognition
Rev.#1: change #define to const variable. Same change in svxaccor
Rev.#2: improvements
Change-Id: I30c2c36778cb53a0238a0829043dad4d709f97d2
Reviewed-on: https://gerrit.libreoffice.org/6015
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
|
|
Fix compilation errors when not using system boost. Might be more.
It's sad that one has to micro-manage boost use like this.
Change-Id: I3541789530fbdb0fb03e2b355144e63f8b031097
|