diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2022-06-10 12:33:53 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2022-06-17 14:34:25 +0200 |
commit | 7727c61b1c7c52b211c0f9ac0cd59fab680be679 (patch) | |
tree | 9357625fb409ed1707c1a51bf071cfa7c607e41e /compilerplugins | |
parent | cdf48e57da6b8a6a5eb4131340fa2c14be135714 (diff) |
make VirtualDevice::SetOutputSizePixelScaleOffsetAndBuffer() LOK-only
Because it's used only for LOK, and SvpSalVirtualDevice::CreateSurface()
otherwise wouldn't know whether to apply LOK DPI settings or not
(since this might be called for LOK tiled painting, when it should,
or it might be called from somewhere else while LOK is active, in which
case this should be handled normally). Getting that mismatched can cause
things like https://github.com/CollaboraOnline/online/issues/4834 .
Change-Id: I1df7b8a169c8ef2e799731a6695a032948536582
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135588
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
(cherry picked from commit 91b98efc2a5cf41d9442f90d7cb37075721519e0)
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135710
Diffstat (limited to 'compilerplugins')
-rw-r--r-- | compilerplugins/clang/constantparam.constructors.results | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compilerplugins/clang/constantparam.constructors.results b/compilerplugins/clang/constantparam.constructors.results index bbb7f36f287a..c8348bc45827 100644 --- a/compilerplugins/clang/constantparam.constructors.results +++ b/compilerplugins/clang/constantparam.constructors.results @@ -527,7 +527,7 @@ include/vcl/transfer.hxx:358 const class rtl::OUString & rDestDoc "" include/vcl/virdev.hxx:164 - _Bool VirtualDevice::SetOutputSizePixelScaleOffsetAndBuffer(const class Size &,const class Fraction &,const class Point &,unsigned char *) + _Bool VirtualDevice::SetOutputSizePixelScaleOffsetAndLOKBuffer(const class Size &,const class Fraction &,const class Point &,unsigned char *) const class Point & rNewOffset Point() include/vcl/weld.hxx:635 |