[Libreoffice-commits] core.git: sc/sdi sw/sdi sw/source

Noel Grandin noel.grandin at collabora.co.uk
Tue Mar 28 06:42:05 UTC 2017


 sc/sdi/cellsh.sdi                 |    8 --------
 sw/sdi/_viewsh.sdi                |   21 ---------------------
 sw/sdi/viewsh.sdi                 |   19 -------------------
 sw/sdi/wviewsh.sdi                |   19 -------------------
 sw/source/uibase/uiview/view0.cxx |    8 +-------
 sw/source/uibase/web/wview.cxx    |    3 ---
 6 files changed, 1 insertion(+), 77 deletions(-)

New commits:
commit b3549aacabffad3c4c66d901938d59e4789eef22
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date:   Mon Mar 27 10:41:37 2017 +0200

    remove unused interfaces from sdi files
    
    Change-Id: I69e880e348372b3695b14efd4928f38f29bda37e
    Reviewed-on: https://gerrit.libreoffice.org/35747
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sc/sdi/cellsh.sdi b/sc/sdi/cellsh.sdi
index c4c484cdc559..3d36d479b145 100644
--- a/sc/sdi/cellsh.sdi
+++ b/sc/sdi/cellsh.sdi
@@ -413,14 +413,6 @@ interface CellMovement
 }
 
 
-interface RangeSelection
-{
-    import CellSelection;
-    import FormatForSelection;
-    import TableFont ".Font";
-    import BaseSelection;
-}
-
 interface Cell
 {
     import CellSelection;
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")


More information about the Libreoffice-commits mailing list