summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-27 10:41:37 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-28 06:41:43 +0000
commitb3549aacabffad3c4c66d901938d59e4789eef22 (patch)
treefe5c25c19b0359d84edf976e4d5e150ccb7dbd74 /sw
parent2fc5ef74c5200bdb82cdbbc812d7ac05a9a489dd (diff)
remove unused interfaces from sdi files
Change-Id: I69e880e348372b3695b14efd4928f38f29bda37e Reviewed-on: https://gerrit.libreoffice.org/35747 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw')
-rw-r--r--sw/sdi/_viewsh.sdi21
-rw-r--r--sw/sdi/viewsh.sdi19
-rw-r--r--sw/sdi/wviewsh.sdi19
-rw-r--r--sw/source/uibase/uiview/view0.cxx8
-rw-r--r--sw/source/uibase/web/wview.cxx3
5 files changed, 1 insertions, 69 deletions
diff --git a/sw/sdi/_viewsh.sdi b/sw/sdi/_viewsh.sdi
index 991262d924e0..8c85e38b7b19 100644
--- a/sw/sdi/_viewsh.sdi
+++ b/sw/sdi/_viewsh.sdi
@@ -871,24 +871,3 @@ interface BaseTextEditView
]
}
-interface GlobalContents
-{
- UINT16 Type FN_COLL_TYPE
- (
- UINT16 Position FN_COLL_TYPE
- )
-
- // Areaname, Index-Titel or Empty String
- String Title FN_COLL_TITLE
- (
- UINT16 Position FN_COLL_TITLE
- )
-
- // Without a FileName an area of the text is inserted at this location.
- BOOL InsertDocument FN_COLL_ADD
- (
- UINT16 Position FN_COLL_ADD,
- UINT16 FileName FN_PARAM_1
- )
-}
-
diff --git a/sw/sdi/viewsh.sdi b/sw/sdi/viewsh.sdi
index fe1357d9801a..93987042363c 100644
--- a/sw/sdi/viewsh.sdi
+++ b/sw/sdi/viewsh.sdi
@@ -16,25 +16,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-interface TextInTable
-{
- import Text;
- import TextTable;
-}
-
-interface ListInTable
-{
- import Text;
- import TextList;
- import TextTable;
-}
-
-interface ListInText
-{
- import TextList;
- import Text;
-}
-
interface TextEditView : BaseTextEditView
{
// Slots, which are not needed in the WebDocShell
diff --git a/sw/sdi/wviewsh.sdi b/sw/sdi/wviewsh.sdi
index f7995e072932..b9c0bcea9cfb 100644
--- a/sw/sdi/wviewsh.sdi
+++ b/sw/sdi/wviewsh.sdi
@@ -16,25 +16,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
-interface WebTextInTable
-{
- import WebText;
- import WebTable;
-}
-
-interface WebListInTable
-{
- import WebText;
- import WebList;
- import WebTable;
-}
-
-interface WebListInText
-{
- import WebList;
- import WebText;
-}
-
interface WebEditView : BaseTextEditView
{
SID_DRAW_TEXT_MARQUEE // status()
diff --git a/sw/source/uibase/uiview/view0.cxx b/sw/source/uibase/uiview/view0.cxx
index 160df2edd845..6c14a72f9c6c 100644
--- a/sw/source/uibase/uiview/view0.cxx
+++ b/sw/source/uibase/uiview/view0.cxx
@@ -57,15 +57,9 @@
#include "shells.hrc"
#define SwView
-#define GlobalContents
#define Text
#define TextDrawText
-#define TextInTable
-#define ListInText
-#define ListInTable
-#define WebTextInTable
-#define WebListInText
-#define WebListInTable
+
#include <sfx2/msg.hxx>
#include "swslots.hxx"
#include <PostItMgr.hxx>
diff --git a/sw/source/uibase/web/wview.cxx b/sw/source/uibase/web/wview.cxx
index 8608ea5ba0dc..40dfde61e1e9 100644
--- a/sw/source/uibase/web/wview.cxx
+++ b/sw/source/uibase/web/wview.cxx
@@ -65,9 +65,6 @@
// type void(SfxShell*,SfxRequest&) defined in swslots.hxx
#define SwWebView
#define Text
-#define TextInTable
-#define ListInText
-#define ListInTable
#include <swslots.hxx>
SFX_IMPL_NAMED_VIEWFACTORY(SwWebView, "Default")