summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2019-08-30 17:00:46 +0200
committerMiklos Vajna <vmiklos@collabora.com>2019-08-30 17:50:14 +0200
commita40fbd031de042b0181dc5570164ae8ce0abb0f1 (patch)
treef95b431ee61c16c95ced0e5d9f926d8165413923 /sfx2
parente607beeed1b391ee2a622494700d78d68dd2868f (diff)
tdf#127211 Revert "tdf#71087 sfx2: avoid flicker in the start center"
This reverts commit d5c7657c541c1f6d17bfe5e605594c235eecfcdb. By the time I created that, I forgot to test the case when there are no recent documents. I'm not exactly sure how to fix that, so just go back to the old behavior for now (trading a regression for a normal bug). Change-Id: I8abc251a3e6506ca17429ba106e2dd70fff31556 Reviewed-on: https://gerrit.libreoffice.org/78301 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/backingcomp.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/sfx2/source/dialog/backingcomp.cxx b/sfx2/source/dialog/backingcomp.cxx
index dea33fa1698f..eb29da210fcc 100644
--- a/sfx2/source/dialog/backingcomp.cxx
+++ b/sfx2/source/dialog/backingcomp.cxx
@@ -576,12 +576,6 @@ void SAL_CALL BackingComp::dispose()
{
m_xWindow->removeEventListener(this);
m_xWindow->removeKeyListener(this);
- VclPtr<vcl::Window> pWindow = VCLUnoHelper::GetWindow(m_xWindow);
- auto pBack = dynamic_cast<BackingWindow*>(pWindow.get());
- if (pBack)
- {
- pBack->RequestDoubleBuffering(false);
- }
m_xWindow.clear();
}
@@ -666,10 +660,6 @@ void SAL_CALL BackingComp::initialize( /*IN*/ const css::uno::Sequence< css::uno
// create the component window
VclPtr<vcl::Window> pParent = VCLUnoHelper::GetWindow(xParentWindow);
VclPtr<vcl::Window> pWindow = VclPtr<BackingWindow>::Create(pParent);
- if (!pWindow->IsNativeControlSupported(ControlType::Pushbutton, ControlPart::Focus))
- {
- pWindow->RequestDoubleBuffering(true);
- }
m_xWindow = VCLUnoHelper::GetInterface(pWindow);
if (!m_xWindow.is())