office-gobmx/svtools
Miklos Vajna d5cd62164d embeddedobj: handle getting the visible area on a thread
The Windows OLE2 implementation of the embedded object interface assumes
that the same thread is used for loading and saving the embedded
objects.

This means that in case the main thread is used for loading (e.g. from
remote UNO, but with OnMainThead=true), but a
thread is used for storing (without an explicit OnMainThead=true), then
the underlying win32 API call failed and we returned a fixed size in
EmbeddedObjectRef::GetSize().

Fix the problem by explicitly checking for RPC_E_WRONG_THREAD and adding
error handling for that case.

Change-Id: Icf1e7722d33a809fa671d1505b2a0155af040c71
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115236
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2021-05-07 14:21:40 +02:00
..
inc loplugin:unusedmethods 2021-05-06 22:17:16 +02:00
langsupport
qa use more string_view in tools/stream 2021-04-27 09:27:44 +02:00
source embeddedobj: handle getting the visible area on a thread 2021-05-07 14:21:40 +02:00
uiconfig/ui uniformly remove xalign of 0 2021-04-20 09:46:50 +02:00
util
AllLangMoTarget_svt.mk
CppunitTest_svtools_dialogs_test.mk
CppunitTest_svtools_graphic.mk
CppunitTest_svtools_html.mk
Executable_langsupport.mk
IwyuFilter_svtools.yaml
JunitTest_svtools_unoapi.mk
Library_svt.mk
Makefile
Module_svtools.mk
README.md Updated README.md files to represent current code / use Markdown format 2021-04-07 17:47:16 +02:00
UIConfig_svt.mk translation domain of sfx for .ui in framework doesn't look right 2021-04-06 21:28:35 +02:00

Tools on the Top of VCL

Common dialogs, file and print dialogs, wizards, vcl filters, lots of helper code.