summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/doc.cxx
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2010-01-13 22:25:07 +0100
committerMathias Bauer <mba@openoffice.org>2010-01-13 22:25:07 +0100
commita3dad64d25dfe6ef0297d6d2fbaf72fcef5017fb (patch)
tree8fb91fed5b66a6b42b74dc8ead13ac23a0573d44 /sw/source/core/doc/doc.cxx
parent040e23bd9198d9b992f7acd180027b703bbc0a91 (diff)
#i107450#: move more code out of svx
Diffstat (limited to 'sw/source/core/doc/doc.cxx')
-rw-r--r--sw/source/core/doc/doc.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/source/core/doc/doc.cxx b/sw/source/core/doc/doc.cxx
index 2cf011000142..8eac59dfb792 100644
--- a/sw/source/core/doc/doc.cxx
+++ b/sw/source/core/doc/doc.cxx
@@ -52,7 +52,7 @@
#include <editeng/keepitem.hxx>
#include <editeng/cscoitem.hxx>
#include <editeng/brkitem.hxx>
-#include <svx/linkmgr.hxx>
+#include <sfx2/linkmgr.hxx>
#include <editeng/forbiddencharacterstable.hxx>
#include <svx/svdmodel.hxx>
#include <unotools/charclass.hxx>
@@ -1806,12 +1806,12 @@ void SwDoc::SetVisibleLinks(bool bFlag)
mbVisibleLinks = bFlag;
}
-SvxLinkManager& SwDoc::GetLinkManager()
+sfx2::LinkManager& SwDoc::GetLinkManager()
{
return *pLinkMgr;
}
-const SvxLinkManager& SwDoc::GetLinkManager() const
+const sfx2::LinkManager& SwDoc::GetLinkManager() const
{
return *pLinkMgr;
}
@@ -1830,7 +1830,7 @@ bool SwDoc::LinksUpdated() const
bool SwDoc::EmbedAllLinks()
{
BOOL bRet = FALSE;
- SvxLinkManager& rLnkMgr = GetLinkManager();
+ sfx2::LinkManager& rLnkMgr = GetLinkManager();
const ::sfx2::SvBaseLinks& rLnks = rLnkMgr.GetLinks();
if( rLnks.Count() )
{