Attached patch (by Michael Stahl) fixes fdo#37024, a "most annoying" bug for 3.4 and 3.5. It causes forms made in older versions to clip (not show) controls outside of a fixed area, although there is enough place on screen for them all.
Let's fix it for 3.5.1 Thanks! -- Lionel
>From 7d26616c01076d8a6b7a22442df32cc681e8af2b Mon Sep 17 00:00:00 2001 From: Michael Stahl <mst...@redhat.com> Date: Wed, 1 Feb 2012 15:49:16 +0100 Subject: [PATCH] fdo#37024: SwView::SwView: fix BROWSE_MODE setting: Apparently there is a check in SwDoc::SetAllUniqueFlyNames so that when frames with certain anchor types are in a document, then SetLoaded() is never called. Checking this flag via IsLoaded() here seems unnecessary. This problem was introduced with ebc5777548dea42ed966a16c66d879b1485bbfb4, from CWS swlayoutrefactoring. --- sw/source/ui/uiview/view.cxx | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sw/source/ui/uiview/view.cxx b/sw/source/ui/uiview/view.cxx index b3bbf87..e291c19 100644 --- a/sw/source/ui/uiview/view.cxx +++ b/sw/source/ui/uiview/view.cxx @@ -835,7 +835,7 @@ SwView::SwView( SfxViewFrame *_pFrame, SfxViewShell* pOldSh ) if( !bOldShellWasSrcView && pWebDShell && !bOldShellWasPagePreView ) aUsrPref.setBrowseMode( sal_True ); - else if( rDoc.IsLoaded() ) + else aUsrPref.setBrowseMode( rDoc.get(IDocumentSettingAccess::BROWSE_MODE) ); //Fuer den BrowseMode wollen wir keinen Factor uebernehmen. -- 1.7.7.3
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice