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

Stephan Bergmann sbergman at redhat.com
Sat May 9 08:29:40 PDT 2015


 sw/source/core/doc/DocumentRedlineManager.cxx |    3 +--
 sw/source/core/inc/atrfrm.hxx                 |   20 ++++++++++++++++++++
 sw/source/core/layout/atrfrm.cxx              |    1 +
 3 files changed, 22 insertions(+), 2 deletions(-)

New commits:
commit 023e907b6ba5112d3e0d75d822771c92fe17fb2f
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Sat May 9 17:29:21 2015 +0200

    loplugin:externandnotdefined
    
    Change-Id: I10508dc16f138e5b3b36dcbdc269735c598de17f

diff --git a/sw/source/core/doc/DocumentRedlineManager.cxx b/sw/source/core/doc/DocumentRedlineManager.cxx
index 36fcc4b..e9c7dff 100644
--- a/sw/source/core/doc/DocumentRedlineManager.cxx
+++ b/sw/source/core/doc/DocumentRedlineManager.cxx
@@ -18,6 +18,7 @@
  *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */
 #include <DocumentRedlineManager.hxx>
+#include <atrfrm.hxx>
 #include <doc.hxx>
 #include <IDocumentUndoRedo.hxx>
 #include <IDocumentState.hxx>
@@ -590,8 +591,6 @@ RedlineMode_t DocumentRedlineManager::GetRedlineMode() const
     return meRedlineMode;
 }
 
-void CheckAnchoredFlyConsistency(SwDoc const& rDoc);
-
 void DocumentRedlineManager::SetRedlineMode( RedlineMode_t eMode )
 {
     if( meRedlineMode != eMode )
diff --git a/sw/source/core/inc/atrfrm.hxx b/sw/source/core/inc/atrfrm.hxx
new file mode 100644
index 0000000..be59ad6
--- /dev/null
+++ b/sw/source/core/inc/atrfrm.hxx
@@ -0,0 +1,20 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+#include <sal/config.h>
+
+class SwDoc;
+
+namespace sw {
+
+void CheckAnchoredFlyConsistency(SwDoc const& rDoc);
+
+}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sw/source/core/layout/atrfrm.cxx b/sw/source/core/layout/atrfrm.cxx
index e78ae9b..d5611be 100644
--- a/sw/source/core/layout/atrfrm.cxx
+++ b/sw/source/core/layout/atrfrm.cxx
@@ -24,6 +24,7 @@
 #include <svtools/unoimap.hxx>
 #include <svtools/imap.hxx>
 #include <svtools/imapobj.hxx>
+#include <atrfrm.hxx>
 #include <unocoll.hxx>
 #include <unosett.hxx>
 #include <unostyle.hxx>


More information about the Libreoffice-commits mailing list