summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lange [tl] <tl@openoffice.org>2010-02-11 10:11:09 +0100
committerThomas Lange [tl] <tl@openoffice.org>2010-02-11 10:11:09 +0100
commit89246e3b483b26859b105902f9042ca9fdefe374 (patch)
treec1b3fd0d2e228e2eb629bf4d48706b28dc32b9ca
parente474be5696a4c026ba6831b54f3a3abe532542e5 (diff)
cws tl74: #i51258# thesaurus context menu
-rwxr-xr-xsfx2/source/menu/mnumgr.cxx1
-rwxr-xr-xsfx2/source/menu/thessubmenu.cxx3
-rwxr-xr-xsfx2/source/menu/thessubmenu.hxx4
3 files changed, 6 insertions, 2 deletions
diff --git a/sfx2/source/menu/mnumgr.cxx b/sfx2/source/menu/mnumgr.cxx
index 7cb599f858c0..321bbf44c7b6 100755
--- a/sfx2/source/menu/mnumgr.cxx
+++ b/sfx2/source/menu/mnumgr.cxx
@@ -63,7 +63,6 @@
#include <osl/file.hxx>
#include <vcl/graph.hxx>
#include <svtools/filter.hxx>
-#include <svx/impgrf.hxx>
#include <sfx2/mnumgr.hxx>
diff --git a/sfx2/source/menu/thessubmenu.cxx b/sfx2/source/menu/thessubmenu.cxx
index 4a6d7cd26bc6..2e1dec33c09e 100755
--- a/sfx2/source/menu/thessubmenu.cxx
+++ b/sfx2/source/menu/thessubmenu.cxx
@@ -39,6 +39,9 @@
#include <comphelper/processfactory.hxx>
#include <svl/stritem.hxx>
#include <tools/debug.hxx>
+#include <vcl/graph.hxx>
+#include <svtools/filter.hxx>
+
#include <vector>
diff --git a/sfx2/source/menu/thessubmenu.hxx b/sfx2/source/menu/thessubmenu.hxx
index 60d877a13495..0569161c5c7f 100755
--- a/sfx2/source/menu/thessubmenu.hxx
+++ b/sfx2/source/menu/thessubmenu.hxx
@@ -102,11 +102,13 @@ public:
////////////////////////////////////////////////////////////
-#include <svx/impgrf.hxx>
+// taken from #include <svx/impgrf.hxx> :
//!! temporary implemented locally:
//!! once MBAs latest CWS is integrated this functions are available in svtools
//!! under a slightly different name
+class GraphicFilter;
+class Graphic;
GraphicFilter* lcl_GetGrfFilter();
int lcl_LoadGraphic( const String& rPath, const String& rFilter,
Graphic& rGraphic,