cui/source/options/treeopt.cxx | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-)
New commits: commit b45aa8d59351e78660ef504e0c8433c5011e6e09 Author: Ivan Timofeev <[email protected]> Date: Mon Jun 4 11:28:49 2012 +0400 scatterbrain forgot to amend the previous commit Change-Id: Id26bb075d02be3d6ddfd457afd36c5d1114122e4 diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index 809943b..95a52c6 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 ); } _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
