[Libreoffice-commits] core.git: lingucomponent/source toolkit/source vcl/unx

Jochen Nitschke j.nitschke+logerrit at ok.de
Sun May 21 14:15:53 UTC 2017


 lingucomponent/source/languageguessing/simpleguesser.cxx |   17 ---------------
 toolkit/source/controls/controlmodelcontainerbase.cxx    |    5 ----
 vcl/unx/generic/gdi/x11cairotextrender.cxx               |    2 -
 3 files changed, 1 insertion(+), 23 deletions(-)

New commits:
commit c8d8b9b70e91090af2ed138283be42734b4d5748
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Sun May 21 12:22:51 2017 +0200

    cppcheck: unusedStructMember
    
    Change-Id: I1e2859e7a12a61db953be12f11149aaecb462b5b
    Reviewed-on: https://gerrit.libreoffice.org/37871
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Jochen Nitschke <j.nitschke+logerrit at ok.de>

diff --git a/lingucomponent/source/languageguessing/simpleguesser.cxx b/lingucomponent/source/languageguessing/simpleguesser.cxx
index d5227edbdc01..589fbeb54f2b 100644
--- a/lingucomponent/source/languageguessing/simpleguesser.cxx
+++ b/lingucomponent/source/languageguessing/simpleguesser.cxx
@@ -69,23 +69,8 @@ static int startsAsciiCaseInsensitive(const std::string &s1, const std::string &
  }
 
 /**
- * This 3 following structures are from fingerprint.c and textcat.c
+ * This following structure is from textcat.c
  */
-typedef struct ngram_t {
-
-    sint2 rank;
-    char str[MAXNGRAMSIZE+1];
-
-} ngram_t;
-
-typedef struct fp_t {
-
-    const char *name;
-    ngram_t *fprint;
-    uint4 size;
-
-} fp_t;
-
 typedef struct textcat_t{
 
     void **fprint;
diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx
index 5f88ae38faae..b874493e233a 100644
--- a/toolkit/source/controls/controlmodelcontainerbase.cxx
+++ b/toolkit/source/controls/controlmodelcontainerbase.cxx
@@ -74,11 +74,6 @@ using namespace ::com::sun::star::util;
 using namespace toolkit;
 
 #define PROPERTY_RESOURCERESOLVER "ResourceResolver"
-struct LanguageDependentProp
-{
-    const char* pPropName;
-    sal_Int32   nPropNameLength;
-};
 
 
 namespace
diff --git a/vcl/unx/generic/gdi/x11cairotextrender.cxx b/vcl/unx/generic/gdi/x11cairotextrender.cxx
index 612b921d3a75..290f638a0196 100644
--- a/vcl/unx/generic/gdi/x11cairotextrender.cxx
+++ b/vcl/unx/generic/gdi/x11cairotextrender.cxx
@@ -31,10 +31,8 @@ struct BOX
 };
 struct _XRegion
 {
-    long size;
     long numRects;
     BOX *rects;
-    BOX extents;
 };
 
 X11CairoTextRender::X11CairoTextRender(X11SalGraphics& rParent)


More information about the Libreoffice-commits mailing list