summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-02-09 14:28:24 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-02-09 14:28:24 +0000
commit3d106972014ba9e00126a077ed62b351518c2afa (patch)
tree39728b8d4c06f55a2b1214e728bb7fc26610c48f
parent6d82d8b51776b349ff58fc15d269840755859d02 (diff)
fix build
Change-Id: I797e2a4feb240c463bd34c9699c945d6df72bb55
-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());