summaryrefslogtreecommitdiff
path: root/cui/source/options/optgdlg.cxx
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-01-05 12:21:29 -0500
committerPetr Mladek <pmladek@suse.cz>2011-01-05 19:04:34 +0100
commitf785a4af182c5f864fe43b97c6ac643ee0594bd5 (patch)
tree9f32687bac540a68e79a08b02ec30ecb060bb0b9 /cui/source/options/optgdlg.cxx
parentd7b48d2e4e0e048ddc70defe3844430d86a0438d (diff)
Fixed layout breakage for KDE, X11 and (possibly) Mac. (fdo#32133)
Signed-off-by: Petr Mladek <pmladek@suse.cz>
Diffstat (limited to 'cui/source/options/optgdlg.cxx')
-rw-r--r--cui/source/options/optgdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 7a1e3c121..cd4ecb638 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[] =