summaryrefslogtreecommitdiff
path: root/scripting
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2022-05-19 09:15:46 +0200
committerLuboš Luňák <l.lunak@collabora.com>2022-05-31 17:03:02 +0200
commite4842a4c520c68813f0567d34ad321de11c4f1c3 (patch)
treee7754f576ee9fc75c55ade0516f3116fb546ff7a /scripting
parentf90239263fcabec30f04098e17dc1be9f9a928d1 (diff)
lok: add more efficient getSelectionType() replacement
The getSelectionType() function usually needs to be followed by a call to getTextSelection(), which means having them as two functions leads to duplicating to a number of calls, some of which may be somewhat expensive (pDoc->getSelection() e.g. for Calc builds another ScDocument for the selection, and then getFromTransferrable() converts that to the given format). Change-Id: Ib0a8844701d80eaaff4834dcd3633c09d6b921b1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134603 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'scripting')
0 files changed, 0 insertions, 0 deletions