diff options
author | Szymon Kłos <szymon.klos@collabora.com> | 2021-11-26 17:05:41 +0100 |
---|---|---|
committer | Szymon Kłos <szymon.klos@collabora.com> | 2023-02-06 17:02:54 +0000 |
commit | 52eba7937154a49e07360b297d5d7c396ca91903 (patch) | |
tree | 3e5f8afc29458f720cb6d7cd46e84d3ffeae6a3e /solenv/bin/native-code.py | |
parent | f16f69f719b7efa99a2b3a4d73dffc2777d5d425 (diff) |
Make LOKClipboard available to other modules
LOKClipboard has higher level dependencies (sfx2) so it cannot be
moved to the vcl where SystemClibpoard instance is created.
- introduce new interface LokClipboard to differentiate
from SystemClipboard so we can have vcl's and lok's implementations
at the same time
- publish LOKClipboard using new interface for other modules by adding
component file in desktop module
Thanks to that when code calls GetClipboard and we cannot get clipboard
assigned to the vcl::Window* (for welded widgets) in GetSystemClipboard
correct instance is returned (shared clipboard for current view) so we
can access content which was copied before. Previously always a new
instance was created (with empty content).
test ScTiledRenderingTest::testPasteIntoWrapTextCell was broken
add some content to clipboard to simulate more real case
and test the content copied
Change-Id: I23c0298960a710c498646493f33122b908864cba
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126310
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131644
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
Tested-by: Szymon Kłos <szymon.klos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135198
Tested-by: Jenkins
Diffstat (limited to 'solenv/bin/native-code.py')
-rwxr-xr-x | solenv/bin/native-code.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/solenv/bin/native-code.py b/solenv/bin/native-code.py index 6869bdbf805e..660c5d65fd57 100755 --- a/solenv/bin/native-code.py +++ b/solenv/bin/native-code.py @@ -127,6 +127,8 @@ core_constructor_list = [ "com_sun_star_comp_dba_ODatabaseDocument", "com_sun_star_comp_dba_ODatabaseSource", "com_sun_star_comp_dba_ORowSet_get_implementation", +# desktop/lokclipboard.component + "desktop_LOKClipboard_get_implementation", # drawinglayer/drawinglayer.component "drawinglayer_XPrimitive2DRenderer", # embeddedobj/util/embobj.component |