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

Noel Grandin noel.grandin at collabora.co.uk
Fri Jan 20 09:21:50 UTC 2017


 sw/source/uibase/uno/unotxdoc.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cf22f6d1e123d7a5f8b5ef74925192172bf6da4a
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Fri Jan 20 11:20:41 2017 +0200

    loplugin:staticaccess
    
    Change-Id: Ifed67e3c34663b056529719d78aa22f2a9f1da8d

diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx
index df124cf..0891bba 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -3303,7 +3303,7 @@ void SwXTextDocument::initializeForTiledRendering(const css::uno::Sequence<css::
 
     // don't change the whitespace at the beginning of paragraphs, this is
     // annoying when taking minutes without further formatting
-    pDocShell->GetWrtShell()->GetAutoFormatFlags()->bAFormatByInpDelSpacesAtSttEnd = false;
+    SwEditShell::GetAutoFormatFlags()->bAFormatByInpDelSpacesAtSttEnd = false;
 }
 
 void SwXTextDocument::postKeyEvent(int nType, int nCharCode, int nKeyCode)


More information about the Libreoffice-commits mailing list