From a006d65b35f2163f1edcd0523cf02da731f79336 Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Wed, 5 Jan 2011 12:21:29 -0500 Subject: [PATCH] Fixed layout breakage for KDE, X11 and (possibly) Mac. (fdo#32133) --- cui/source/options/optgdlg.cxx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx index dbbabf2..36090d1 100644 --- a/cui/source/options/optgdlg.cxx +++ b/cui/source/options/optgdlg.cxx @@ -267,7 +267,7 @@ OfaMiscTabPage::OfaMiscTabPage(Window* pParent, const SfxItemSet& rSet ) : if ( !aFileDlgCB.IsVisible() ) { // rearrange the following controls - Point aNewPos = aDocStatusFL.GetPosPixel(); + Point aNewPos = aPrintDlgFL.GetPosPixel(); long nDelta = aNewPos.Y() - aFileDlgFL.GetPosPixel().Y(); Window* pWins[] = -- 1.7.3.1