diff options
Diffstat (limited to 'sw/inc/editsh.hxx')
-rw-r--r-- | sw/inc/editsh.hxx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/sw/inc/editsh.hxx b/sw/inc/editsh.hxx index a55de0863d0f..8cb9cbd5f26a 100644 --- a/sw/inc/editsh.hxx +++ b/sw/inc/editsh.hxx @@ -32,7 +32,7 @@ #include <tools/string.hxx> #include <svl/svarray.hxx> #include <vcl/font.hxx> -#include <svx/swafopt.hxx> +#include <editeng/swafopt.hxx> #include "swdllapi.h" #include <crsrsh.hxx> // fuer Basisklasse #include <itabenum.hxx> @@ -55,7 +55,6 @@ class SvUShortsSort; class SvNumberFormatter; class SfxPoolItem; class SfxItemSet; -class SvxLinkManager; class SvxAutoCorrect; class SwField; // fuer Felder @@ -118,7 +117,9 @@ struct SpellPortion; typedef std::vector<SpellPortion> SpellPortions; } - +namespace sfx2{ +class LinkManager; +} #define GETSELTXT_PARABRK_TO_BLANK 0 #define GETSELTXT_PARABRK_KEEP 1 @@ -846,8 +847,8 @@ public: // Optimierung UI void SetNewDoc(BOOL bNew = TRUE); - SvxLinkManager& GetLinkManager(); - inline const SvxLinkManager& GetLinkManager() const; + sfx2::LinkManager& GetLinkManager(); + inline const sfx2::LinkManager& GetLinkManager() const; // linken Rand ueber Objectleiste einstellen (aenhlich dem Stufen von // Numerierungen), optional kann man "um" den Offset stufen oder "auf" @@ -949,7 +950,7 @@ inline void SwEditShell::ApplyViewOptions( const SwViewOption &rOpt ) SwEditShell::EndAction(); } -inline const SvxLinkManager& SwEditShell::GetLinkManager() const +inline const sfx2::LinkManager& SwEditShell::GetLinkManager() const { return ((SwEditShell*)this)->GetLinkManager(); } /* |