summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optgdlg.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index d1ac60341bcb..5d28c51bce73 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -665,8 +665,8 @@ OfaViewTabPage::OfaViewTabPage(vcl::Window* pParent, const SfxItemSet& rSet)
get(m_pForceOpenGL, "forceopengl");
//fdo#87876 , 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(40*approximate_char_width()));
+ aPrefSize = m_pForceOpenGL->get_preferred_size();
+ aSize = m_pForceOpenGL->CalcMinimumSize(40*approximate_char_width());
if (aPrefSize.Width() > aSize.Width())
{
m_pForceOpenGL->set_width_request(aSize.Width());