diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-06-04 11:28:49 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-06-04 11:28:49 +0400 |
commit | b45aa8d59351e78660ef504e0c8433c5011e6e09 (patch) | |
tree | fd9e9bf773a5a6ce373c085e9c383cc5ad27894e /cui | |
parent | 0d663b02dc04f06170afdac578fc4f7629be78a0 (diff) |
scatterbrain forgot to amend the previous commit
Change-Id: Id26bb075d02be3d6ddfd457afd36c5d1114122e4
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/treeopt.cxx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index 809943bc9620..95a52c63c2d1 100644 --- a/cui/source/options/treeopt.cxx +++ b/cui/source/options/treeopt.cxx @@ -1103,12 +1103,10 @@ void OfaTreeOptionsDialog::SelectHdl_Impl() pPageInfo->m_pExtPage = new ExtensionsTabPage( this, 0, pPageInfo->m_sPageURL, pPageInfo->m_sEventHdl, m_xContainerWinProvider ); - Size aSize; - aSize.Width() = aSeparatorFL.GetSizePixel().Width(); - aSize.Height() = aSeparatorFL.GetSizePixel().Height() - aTreeLB.GetPosPixel().Y(); - Point aPos; - aPos.X() = aSeparatorFL.GetPosPixel().X(); - aPos.Y() = aTreeLB.GetPosPixel().Y(); + + Point aPos(aSeparatorFL.GetPosPixel().X(), aTreeLB.GetPosPixel().Y()); + Size aSize(aSeparatorFL.GetSizePixel().Width(), + aSeparatorFL.GetPosPixel().Y() - aTreeLB.GetPosPixel().Y()); pPageInfo->m_pExtPage->SetPosSizePixel( aPos, aSize ); } |