[Libreoffice-commits] core.git: sw/source

Miklos Vajna (via logerrit) logerrit at kemper.freedesktop.org
Thu Jul 16 07:14:33 UTC 2020


 sw/source/core/doc/DocumentSettingManager.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 96af0c0b41276b76c85243f48fa48a5909696384
Author:     Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Wed Jul 15 21:52:58 2020 +0200
Commit:     Miklos Vajna <vmiklos at collabora.com>
CommitDate: Thu Jul 16 09:13:57 2020 +0200

    sw handle ClippedPictures when replacing compat options
    
    This was added in commit e598ab04476a32a08f18e8f0662fafa5f78f1a4a
    (n#775270: clip pictures instead of scaling they don't fit, 2012-08-30),
    it's off by default and on for Word documents.
    
    Change-Id: I0d121b43cab760224e3528b7ab445ff2498db0bf
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98859
    Tested-by: Jenkins
    Reviewed-by: Miklos Vajna <vmiklos at collabora.com>

diff --git a/sw/source/core/doc/DocumentSettingManager.cxx b/sw/source/core/doc/DocumentSettingManager.cxx
index 5873f299493d..cc092dcc2c49 100644
--- a/sw/source/core/doc/DocumentSettingManager.cxx
+++ b/sw/source/core/doc/DocumentSettingManager.cxx
@@ -637,7 +637,7 @@ void sw::DocumentSettingManager::ReplaceCompatibilityOptions(const DocumentSetti
     // No mbSmallCapsPercentage66
     // No mbTabOverflow
     mbUnbreakableNumberings = rSource.mbUnbreakableNumberings;
-    // No mbClippedPictures
+    mbClippedPictures = rSource.mbClippedPictures;
     mbBackgroundParaOverDrawings = rSource.mbBackgroundParaOverDrawings;
     mbTabOverMargin = rSource.mbTabOverMargin;
     mbTreatSingleColumnBreakAsPageBreak = rSource.mbTreatSingleColumnBreakAsPageBreak;


More information about the Libreoffice-commits mailing list