summaryrefslogtreecommitdiff
path: root/cui/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-08-02 20:53:57 +0100
committerCaolán McNamara <caolanm@redhat.com>2016-08-02 20:53:57 +0100
commit40c889105ff758ae09c7d9f423fbc3b85d5e2a53 (patch)
tree27e1ec7e58ddc755a08d192ceaf1362ccc3f9f64 /cui/source
parent1c33b3f5f693d432f74c795a87f87bd487b09d47 (diff)
Related: tdf#101196 shorten description, move info into tooltip
Change-Id: Id3e083dc45135c8af724c64530b6eb4e36c7f6d2
Diffstat (limited to 'cui/source')
-rw-r--r--cui/source/options/optgdlg.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index fb7aa5846724..1f6019fc98ba 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -644,18 +644,6 @@ OfaViewTabPage::OfaViewTabPage(vcl::Window* pParent, const SfxItemSet& rSet)
m_pOpenGLStatusEnabled->Hide();
m_pOpenGLStatusDisabled->Hide();
}
- else
- {
- //tdf#191196, we need height-for-width support here, but for now we can
- //bodge it
- Size aPrefSize(m_pForceOpenGL->get_preferred_size());
- Size aSize(m_pForceOpenGL->CalcMinimumSize(36*approximate_char_width()));
- if (aPrefSize.Width() > aSize.Width())
- {
- m_pForceOpenGL->set_width_request(aSize.Width());
- m_pForceOpenGL->set_height_request(aSize.Height());
- }
- }
#if defined( UNX )
m_pFontAntiAliasing->SetToggleHdl( LINK( this, OfaViewTabPage, OnAntialiasingToggled ) );