Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: If0f47a78bbffec5c2ebd33c552d0d8a300b48eb1
|
|
Added clear() method to OString and OUString class, Updated appropriate call-sites.
Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
|
|
...to keep UBSan from complaining about illegal downcasts from FormulaToken to
ScToken (which were practically harmless, given that ScToken did not add any
data members).
Change-Id: I8fdc026eec363442cc4b720b71d65c972b4a4446
|
|
...so that default implementations can return nullptr without further ado
Change-Id: Idc8778fe868efa00b1de597a54aa07a2e6fa3bc0
|
|
Change-Id: I3bc8d82c5689b8a2da1374e42dd70191e2fe8ef3
Reviewed-on: https://gerrit.libreoffice.org/11099
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
|
|
Change-Id: Ib15413e73409cc33de01fa92a47b9d1237cfc4b2
|
|
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
|
|
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
|
|
When inserting or deleting sheets.
Change-Id: Ibf898350e22f092ec38b75ad98957832a5580e6a
|
|
Change-Id: I7fd62153c7267a3d606b86d74bebecf6b8d75250
|
|
My test file leaks 9MB during import with that.
Change-Id: Ie7aba31878721ad8caef1e301a6b54a42a8c0c54
|
|
Change-Id: Id8a85f6c7bcf8eed4688ebebf30b1b74676dae0d
|
|
Change-Id: Ib3a442cbb68c23294762561f2911101a087a795e
|
|
Change-Id: Id1dcadcac179c52977e48a6912ce4d5fd542f60c
|
|
Conflicts:
sc/source/ui/inc/docfunc.hxx
Change-Id: I9314437ed3dd60e84d28c08ac0a2d1ed7bd1daf8
Reviewed-on: https://gerrit.libreoffice.org/8301
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: Ic77fc2d436bf70ee166e4732f19f2067907f7c53
|
|
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I933aa0d34d99808ccc359acfd895a7b9ea60217c
|
|
Change-Id: I27609462f2daba6b2289aff7a6a96686c961f3ce
|
|
Change-Id: I80480f963b643596ff1c0e93af3eaa6ffc63c9dd
|
|
Instead of a pointer to ScTokenArray, and then clone its instance. If
the token array gets cloned in ctor, take a const reference.
Change-Id: I280fd7eb9eaea9905dbf954a1ace904ab0814dfe
|
|
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: Icdc36b4b24d2f399f481065df3200feb98025135
|
|
Change-Id: I5da99869fc7f61ce698180fa5daa9be9db9ac132
|
|
With this, both ScColumn and ScMatrix store svl::SharedString as their
string values, instead of OUString.
Change-Id: I3faece94d98f774881fd72b3ed5f6143504cd350
|
|
Change-Id: Ib74667fb958aa9bbbcae3a0289b3cbd6edf8fb37
|
|
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: If4499dbee52532cc8a95c380bbe840719fe9279b
|
|
Change-Id: I313c6504d7c0beeb68318ce436b48fa900e4cf48
|
|
No tests are written for this yet.
Change-Id: Ic26a7f19d6ce6e6d7059035dc9c99ae5bcb9d77b
|
|
Change-Id: I3b20f79d9c2f373c93a34ccdb308c6d5c09f69e7
|
|
It works fine with live calc instance, but somehow fails in unit test.
Change-Id: Ie60774b4f1f8391801e0d9358f6cca78d8e52397
|
|
Change-Id: I5fdc0d248fe9c36418fd02a1e652e4e35a638c8a
|
|
Change-Id: Ib8322228f25094c7c90a6623293e61f56b66b659
|
|
Change-Id: Ib4a2f195b3ff1d291b0ffe99c27b1d3e807252d5
|
|
Change-Id: I7ca5cd0aefbcbda5d89116aca90e974b4bed6ca0
|
|
ScEditUtil::GetString() iterated over the paragraphs of an
EditTextObject where GetText() does not resolve field content but
returns the embedded field markers. To resolve field content an
ScFieldEditEngine is needed.
This makes it necessary to pass an ScDocument* to obtain the
ScFieldEditEngine from, or for cases where there is no ScDocument in the
context use a static ScFieldEditEngine which unfortunately is not
capable of resolving document specific fields of course, such as
DOCINFO_TITLE and TABLE.
Also added unit test.
Change-Id: Ife3c23b2fec2514b32303239d276c49869786eb5
|
|
This broke the shared formula import from xls and xlsx. Disabling the
tests for now.
Change-Id: I75d802b00947b21083db19b5c07204a0c3d4f369
|
|
When the formulas depend on cells outside of the paint range we need to
update the whole range. This approach will update the range more often
than necessary but prevents that we need to mess with ScFormulaCell.
In the future we should replace ScFormulaCell in this part of the code
with something simpler that will correctly fix this problem.
Change-Id: Ie8a8e5205f9ea1e43bb6d9f8bee6e0bab29e4840
|
|
Use block position hint to avoid re-starting search in the cell text
attribute array. This change alone cuts additional 10 seconds off of
the previously mentioned use case, by reducing the duration of
HasEditCells() call from the previous ~10 seconds to a tiny fraction
of a second.
Change-Id: Id9f951cd235a88928c900619b6b66d7b8a057e0c
|
|
and Calc is now officially broken. Let's start fixing this bit by bit...
Change-Id: I383c88245fe1e573666da636c6a8ca8815352ce7
|
|
d3f063cc86b50ac9adf08eb46dd2caf7975ed43c, by instead restricting the use of the
Boost pointer containers to non-inline code (watch out for implicitly generated
copy ctors and copy assignment ops), thus preventing MSVC from trying to
generate full template instantiations of those containers (similar to
f4227c822c7f5a4e1e1b3b4e096cb63cf710a3f1 "Blind fix for MSVC, take two").
Turns out the ScConditionalFormat copy ctor was unused anyway (but the
ScConditionalFormatList copy ctor isn't, so only prevent generation of an
implicit copy assignment op there).
Change-Id: I23303a98df7024dbce95638ac13097b71a9c5c04
|
|
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
|
|
Change-Id: Ic99967a3ef6a35ca4fc465054e0d4de512cafb43
|
|
Change-Id: I65f2cb12c06784b5bcf6c6a2fad773825b6c409c
|
|
Change-Id: I93f83a840874c973cdc0821ddeb1913be7f09767
|
|
See ScFormulaCell::UpdateReference for a similar update
Change-Id: I1f98d26adb5085e4bdab63cc23f97a81928d6b13
|
|
Change-Id: I1c305c67772b46cede6b4da3e79578f2f1a8ee89
|
|
Change-Id: I4c9c383cffa2cfadbee32ec1e19af4b569b13f0c
|
|
Change-Id: I0c741d2cda4568aef81a18788a764f3ef679660c
|