diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-09 17:29:21 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-09 17:29:21 +0200 |
commit | 023e907b6ba5112d3e0d75d822771c92fe17fb2f (patch) | |
tree | 5b8e88f3b7b1353033709f6fcc784bf95ece2ed7 /sw | |
parent | 80923ec9bef961e5102b65dd5a4722203729d7c0 (diff) |
loplugin:externandnotdefined
Change-Id: I10508dc16f138e5b3b36dcbdc269735c598de17f
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/DocumentRedlineManager.cxx | 3 | ||||
-rw-r--r-- | sw/source/core/inc/atrfrm.hxx | 20 | ||||
-rw-r--r-- | sw/source/core/layout/atrfrm.cxx | 1 |
3 files changed, 22 insertions, 2 deletions
diff --git a/sw/source/core/doc/DocumentRedlineManager.cxx b/sw/source/core/doc/DocumentRedlineManager.cxx index 36fcc4b34fc0..e9c7dffeba44 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 000000000000..be59ad6c204f --- /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 e78ae9b5a00f..d5611befded9 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> |