[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.2' - sw/source
Miklos Vajna (via logerrit)
logerrit at kemper.freedesktop.org
Tue Nov 19 10:08:11 UTC 2019
sw/source/uibase/frmdlg/frmmgr.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6a6517600b184ccd1ccc20e26127dc0094c872ef
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Mon Nov 18 13:50:32 2019 +0100
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Tue Nov 19 11:07:30 2019 +0100
sw: insert image: set anchor to at-char by default
This changes the default set in commit
4f40bf6a79de6d60da0a5090cdfeda6242e889f0 (sw: insert image: set anchor
to as-char by default, 2019-07-04), to have a better compromise, taking
both Word defaults compatibility and usability into account.
The problem is that users are used to just inserting an image and being
able to drag it to its final location, which is broken with as-char
anchoring.
So default to at-char anchoring, this is still something that is fully
interoperable to Word (unlike the old to-para anchoring), but allows the
easier image move again.
[ Testcase not backported, would depend on the original testcase from
the above commit. ]
(cherry picked from commit a7528cd6f17ea5c5b29e7d607e54c62de0d9e7db)
Conflicts:
sw/qa/extras/unowriter/unowriter.cxx
Change-Id: Ibc61ae167fc9e5cc31b04c83e854556309e27fd4
Reviewed-on: https://gerrit.libreoffice.org/83172
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Miklos Vajna <vmiklos at collabora.com>
diff --git a/sw/source/uibase/frmdlg/frmmgr.cxx b/sw/source/uibase/frmdlg/frmmgr.cxx
index 627a5d4ffdd2..5d1282aec939 100644
--- a/sw/source/uibase/frmdlg/frmmgr.cxx
+++ b/sw/source/uibase/frmdlg/frmmgr.cxx
@@ -87,7 +87,7 @@ SwFlyFrameAttrMgr::SwFlyFrameAttrMgr( bool bNew, SwWrtShell* pSh, Frmmgr_Type nT
if (nType == Frmmgr_Type::GRF || nType == Frmmgr_Type::OLE)
{
- m_aSet.Put(SwFormatAnchor(RndStdIds::FLY_AS_CHAR));
+ m_aSet.Put(SwFormatAnchor(RndStdIds::FLY_AT_CHAR));
}
}
else if ( nType == Frmmgr_Type::NONE )
More information about the Libreoffice-commits
mailing list