summaryrefslogtreecommitdiff
path: root/sw/source/ui/dochdl
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/dochdl')
-rw-r--r--sw/source/ui/dochdl/gloshdl.cxx6
-rw-r--r--sw/source/ui/dochdl/swdtflvr.cxx38
2 files changed, 12 insertions, 32 deletions
diff --git a/sw/source/ui/dochdl/gloshdl.cxx b/sw/source/ui/dochdl/gloshdl.cxx
index 95e5dea9b9c9..21c8844e3365 100644
--- a/sw/source/ui/dochdl/gloshdl.cxx
+++ b/sw/source/ui/dochdl/gloshdl.cxx
@@ -33,8 +33,8 @@
#include <hintids.hxx>
-#include <svx/wghtitem.hxx>
-#include <svx/adjitem.hxx>
+#include <editeng/wghtitem.hxx>
+#include <editeng/adjitem.hxx>
#ifndef __RSC //autogen
#include <tools/errinf.hxx>
#endif
@@ -82,7 +82,7 @@
#include <vcl/lstbox.hxx>
#endif
-#include <svx/acorrcfg.hxx>
+#include <editeng/acorrcfg.hxx>
#include "swabstdlg.hxx"
#include <misc.hrc>
diff --git a/sw/source/ui/dochdl/swdtflvr.cxx b/sw/source/ui/dochdl/swdtflvr.cxx
index 64d894acfdb2..ef85b5db030c 100644
--- a/sw/source/ui/dochdl/swdtflvr.cxx
+++ b/sw/source/ui/dochdl/swdtflvr.cxx
@@ -53,19 +53,13 @@
#include <osl/endian.h>
#include <sfx2/linkmgr.hxx>
#include <tools/urlobj.hxx>
-#ifndef _WRKWIN_HXX
#include <vcl/wrkwin.hxx>
-#endif
-#ifndef _MSGBOX_HXX
#include <vcl/msgbox.hxx>
-#endif
#include <sfx2/dispatch.hxx>
#include <svl/stritem.hxx>
#include <svtools/imap.hxx>
#include <sot/storage.hxx>
-#ifndef _GRAPH_HXX
#include <vcl/graph.hxx>
-#endif
#include <svl/urihelper.hxx>
#include <svx/svdmodel.hxx>
#include <svx/xexch.hxx>
@@ -79,15 +73,15 @@
#include <svtools/htmlout.hxx>
#include <svx/hlnkitem.hxx>
#include <svtools/inetimg.hxx>
-#include <svx/paperinf.hxx>
+#include <editeng/paperinf.hxx>
#include <svx/fmview.hxx>
-#include <svx/impgrf.hxx>
-#include <svx/scripttypeitem.hxx>
+#include <editeng/scripttypeitem.hxx>
#include <sfx2/docfilt.hxx>
#include <svtools/imapobj.hxx>
#include <sfx2/docfile.hxx>
#include <unotools/transliterationwrapper.hxx>
#include <unotools/streamwrap.hxx>
+#include <svtools/filter.hxx>
#include <svx/unomodel.hxx>
#include <fmturl.hxx>
@@ -107,15 +101,9 @@
#include <swcont.hxx>
#include <wrtsh.hxx>
#include <swmodule.hxx>
-#ifndef _VIEW_HXX
#include <view.hxx>
-#endif
-#ifndef _DOCSH_HXX
#include <docsh.hxx>
-#endif
-#ifndef _WDOCSH_HXX
#include <wdocsh.hxx>
-#endif
#include <fldbas.hxx> //DDE
#include <swundo.hxx> // fuer Undo-Ids
#include <pam.hxx>
@@ -126,25 +114,19 @@
#include <vcl/sound.hxx>
#include <swerror.h>
#include <SwCapObjType.hxx>
-#ifndef _CMDID_H
#include <cmdid.h>
-#endif
-#ifndef _DOCHDL_HRC
#include <dochdl.hrc>
-#endif
-#ifndef _COMCORE_HRC
#include <comcore.hrc> // #111827#
-#endif
#include <sot/stg.hxx>
// #108584#
#include <svx/svditer.hxx>
// #108584#
-#include <svx/eeitem.hxx>
+#include <editeng/eeitem.hxx>
// #108584#
-#include <svx/fhgtitem.hxx>
+#include <editeng/fhgtitem.hxx>
// #108584#
#include <svx/svdpage.hxx>
@@ -154,9 +136,7 @@
#include <swcrsr.hxx>
#include <SwRewriter.hxx>
#include <undobj.hxx>
-#ifndef _GLOBALS_HRC
#include <globals.hrc>
-#endif
#include <vos/mutex.hxx>
#include <vcl/svapp.hxx>
#include <swserv.hxx>
@@ -2003,8 +1983,8 @@ int SwTransferable::_PasteTargetURL( TransferableDataHelper& rData,
//!!! auf FileSystem abpruefen - nur dann ist es sinnvoll die
// Grafiken zu testen !!!!
Graphic aGrf;
- GraphicFilter *pFlt = ::GetGrfFilter();
- nRet = GRFILTER_OK == ::LoadGraphic( sURL, aEmptyStr, aGrf, pFlt );
+ GraphicFilter *pFlt = GraphicFilter::GetGraphicFilter();
+ nRet = GRFILTER_OK == GraphicFilter::LoadGraphic( sURL, aEmptyStr, aGrf, pFlt );
if( nRet )
{
switch( nAction )
@@ -2352,8 +2332,8 @@ int SwTransferable::_PasteGrf( TransferableDataHelper& rData, SwWrtShell& rSh,
{
//!!! auf FileSystem abpruefen - nur dann ist es sinnvoll die
// Grafiken zu testen !!!!
- GraphicFilter *pFlt = ::GetGrfFilter();
- nRet = GRFILTER_OK == ::LoadGraphic( aBkmk.GetURL(), aEmptyStr,
+ GraphicFilter *pFlt = GraphicFilter::GetGraphicFilter();
+ nRet = GRFILTER_OK == GraphicFilter::LoadGraphic( aBkmk.GetURL(), aEmptyStr,
aGrf, pFlt );
if( !nRet && SW_PASTESDR_SETATTR == nAction &&
SOT_FORMAT_FILE == nFmt &&