diff options
author | Caolán McNamara <caolanm@redhat.com> | 2016-08-02 20:53:57 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-08-02 20:53:57 +0100 |
commit | 40c889105ff758ae09c7d9f423fbc3b85d5e2a53 (patch) | |
tree | 27e1ec7e58ddc755a08d192ceaf1362ccc3f9f64 /cui/source | |
parent | 1c33b3f5f693d432f74c795a87f87bd487b09d47 (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.cxx | 12 |
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 ) ); |