Age | Commit message (Collapse) | Author | Files | Lines |
|
... so adding it to the list in Format Numbers using the checkmark
button is not possible.
Change-Id: I57ca6a7a3617583a82a99c87291373b1fe4e246d
(cherry picked from commit bf674ab0f3097ad122c727b4d86f004f8cce1f61)
Reviewed-on: https://gerrit.libreoffice.org/10999
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
... while entering a * star symbol format code and there's no fill
character following the * yet, for example "xxx"*
(cherry picked from commit 839cc63e7d1b78c56e04bafb46037e898ce2c455)
more out-of-bounds string accesses
(cherry picked from commit 349c93e0f5c9f231b2ff6854fcb795ca5881ca2d)
Change-Id: I006f125ceefccba6a95ea033fd434d98e5d4f1c2
Reviewed-on: https://gerrit.libreoffice.org/10995
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
|
|
(cherry picked from commit 5c6ee09126631342939ae8766fe36083d8c011e3)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
Conflicts:
sc/inc/sortparam.hxx
sc/source/ui/docshell/dbdocfun.cxx
sc/source/ui/undo/undodat.cxx
sc/inc/formulacell.hxx
sc/qa/unit/filters-test.cxx
sc/qa/unit/ucalc.cxx
sc/source/core/data/documen3.cxx
sc/source/ui/docshell/dbdocfun.cxx
Change-Id: I2b98610f6b774400ecfaffe2905201c27fcab33f
(cherry picked from commit e31300e8749ac7de07bbcb91c6ae28559238e60c)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
|
|
... to prevent confusion of #.### input with D.M that then later is
discarded as invalid date input instead of accepted as valid numeric
input.
(cherry picked from commit 836e504c859a5b67f7ab7ba842785951d41058cd)
work around nonsense -Werror=maybe-uninitialized, fdo#80166 follow-up
(cherry picked from commit 397362d8532d7b0abe38f2024dd2cefe2482d6a3)
0f9cf74550e43d174bf6ac75e70c51ab7f51ccf8
Change-Id: I178e28b7ef3b26d04eecc73e5e5c61ee41f89e32
Reviewed-on: https://gerrit.libreoffice.org/10037
Tested-by: David Tardon <dtardon@redhat.com>
Reviewed-by: David Tardon <dtardon@redhat.com>
|
|
Force ##-MMM-## to be ##-MMM-#### if the first number is a day value.
Note that the previous implementation of
(bDay1 && bDay2 && ((bYear1 && !bYear2) || (!bYear1 && bYear2)))
never matched anyway as the detection of bDay1 and bDay2 were changed to
only yield true if bYear1==false or bYear2==false.
Change-Id: If6bb6d3e1757015552eaa81c1f58d53c0794846e
(cherry picked from commit a6992cd0d7c085ba05877e6f68ac0650dd09010f)
Reviewed-on: https://gerrit.libreoffice.org/9665
Tested-by: David Tardon <dtardon@redhat.com>
Reviewed-by: David Tardon <dtardon@redhat.com>
|
|
(cherry picked from commit 8e71f81f47c20320c4de7a7aadb7d524f0d8ea76)
(cherry picked from commit 3885b5d4b00ebb31adabc36c507abd642c03d0d4)
Change-Id: I897dbcee47de574d91ba3e3b40a39a35b779fef8
Reviewed-on: https://gerrit.libreoffice.org/9387
Reviewed-by: Kohei Yoshida <libreoffice@kohei.us>
Tested-by: Kohei Yoshida <libreoffice@kohei.us>
|
|
(cherry picked from commit 624e5c34ce815af6f65ce6699ad6b3f2aa1bf0da)
Change-Id: Idad7b083ce5528f5c735f3a8bd091819bf043fc8
Reviewed-on: https://gerrit.libreoffice.org/#/c/9329
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
|
|
Also with this commit, the signature of SvtListener::Notify() changes,
by dropping the first argument which nobody uses. This change was necessary
in order to call it directly without needing to pass any broadcaster instance.
(cherry picked from commit 88955714d345d8584e86ae34bf5f5d1f3f4af9f7)
(cherry picked from commit 99809b246c5dd2be548668032fac4f3c65fb962a)
(cherry picked from commit 8b368d808e90561a9b34658e6b811a8fad83088f)
(cherry picked from commit 83ee6b640eaf86f9aef6f42a4dd9c8a930cf9135)
Conflicts:
sc/inc/table.hxx
sc/source/core/data/table2.cxx
sc/source/ui/undo/undoblk.cxx
svl/source/notify/broadcast.cxx
Change-Id: I6a1e97f0fb1e070d1d8f7db614690b04c9e8024e
Reviewed-on: https://gerrit.libreoffice.org/8600
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
|
|
SfxDateTimeItem and SvxExtTimeField need to use 64-bit integer to store
Time as well. These classes also have binary serialization
Load()/Save() methods but they are unlikely to be used in a persistent
way, just for the clipboard.
The problem is easy to reproduce in Impress: Insert->Field->Time(fixed)
(regression from 9830fd36dbdb72c79703b0c61efc027fba793c5a)
Change-Id: I5946c5b94dd5a509805b6dc40461bbd910caffc4
(cherry picked from commit 7b9c61c7f20a679c5316a288c2ec2ffbf04b4200)
|
|
change code like
aStr = OUString("xxxx");
to
aStr = "xxxx";
Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
|
|
...after 18d07b2affbbbfb2ff9152d3ad8d1744fe75ab47 "Rework SvtListener and
SvtBroadcaster internals" broke the case where SvtBroadcaster::Add/Remove is
called from within SvtBroadcaster::Broadcast, and at least CppunitTest_sc_ucalc
started to fail.
It should be evaluated whether the original SvtBroadcaster logic to handle this
was better than taking a copy here.
Change-Id: Ie47bccb8c5789e405349a9c8b89f30b1dba3cfba
|
|
This helps file load performance at the slight overhead during editing.
That said, the overhead during editing is only in theory (not measured) and
shouldn't be that much even in theory.
Change-Id: If22ea34acb0cda311575ac3ed8ce1a8eb69ae33a
|
|
Otherwise a crash would ensue.
Change-Id: I9a52524cc205765d059745e9f7e914b636667cb6
|
|
The old code was simply awkward.
Change-Id: I1a58a9af86c100be238d306570b40f70c5100314
|
|
- this renames the 'almost' module target to non-l10n
- and adds a l10n target which is intended to only build l10n parts of
the product
- packagers should then be able to build l10n and non-l10n parts of the
product independently, thus:
- enable quicker rebuilds
- distribution of load
- updates to l10n without a full rebuild
- security fixes to binaries without rebuilding all l10n
- the new targets are called build-l10n-only and build-non-l10n-only
- note this is not intended to move a concept of split packages
upstream -- while this exsists in distros, the number of test
scenarios for this would explode upstream
Change-Id: Ib8ccc9bc52718d9b0ebbfee76ad93dc29c260863
Conflicts:
filter/Module_filter.mk
|
|
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
|
|
Change-Id: I31e2cf3a479e385aa0fca4678a3a2c7fa6cc4b5f
|
|
Convert code like
aStr.compareToAscii("XXX") == 0
to
aStr.equalsAscii("XXX")
which is both easier to read and faster.
Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
|
|
According to the dmake documentation, ICC refers to Visual Age C++ for
OS/2, which is not a supported compiler (or platform).
Change-Id: Ic9e23bc7c44de110a3a312bd007beda3b660927d
|
|
...and clean up call sites.
Change-Id: I7219a33652835e82fdc44e9e801a7e62868e4f38
|
|
Change-Id: Ib3c2f2b43895fe45e9efff888bbd81d8be5969e4
|
|
Change-Id: Ieb077b6ce661e2885d6010519f137235a048f9df
|
|
Change-Id: I0eb97d0fbeaefd8a1c86d240ed8bd7f208fb662e
|
|
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
|