Kaydet (Commit) bcc28ff9 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Adapt Qt5Graphics::SetXORMode

...to be504e8c "tdf#121719: Revert fix for
tdf#96971", which re-introduced the second "bool bInvertOnly" to virtual
SalGraphics::SetXORMode.  It had been removed with
25830187 "tdf#96971 SetXORMode - remove
un-needed parameter" before the (back then named) Kf5Graphics::SetXORMode
override was introduced with 9335945c "KF5
initial VCL plugin".

Assume that actually ignoring bInvertOnly in the implementation of
Qt5Graphics::SetXORMode is fine (as is done in various other overriding
implementations of SetXORMode, too).

Change-Id: I5481e0884350d02425f3f0356029e7625387656c
Reviewed-on: https://gerrit.libreoffice.org/64596
Tested-by: Jenkins
Reviewed-by: 's avatarStephan Bergmann <sbergman@redhat.com>
üst b38f856f
......@@ -168,7 +168,7 @@ public:
virtual void SetLineColor(Color nColor) override;
virtual void SetFillColor() override;
virtual void SetFillColor(Color nColor) override;
virtual void SetXORMode(bool bSet) override;
virtual void SetXORMode(bool bSet, bool bInvertOnly) override;
virtual void SetROPLineColor(SalROPColor nROPColor) override;
virtual void SetROPFillColor(SalROPColor nROPColor) override;
......
......@@ -657,7 +657,7 @@ void Qt5Graphics::SetFillColor() { m_aFillColor = SALCOLOR_NONE; }
void Qt5Graphics::SetFillColor(Color nColor) { m_aFillColor = nColor; }
void Qt5Graphics::SetXORMode(bool bSet)
void Qt5Graphics::SetXORMode(bool bSet, bool)
{
if (bSet)
m_eCompositionMode = QPainter::CompositionMode_Xor;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment