summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2020-09-08 22:11:11 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2020-09-09 08:25:30 +0200
commitf2517e82904b92989ed7e38a070c18234f460b33 (patch)
tree2b9bb63f3865670ad250f9fd706a577d1696d88f /dbaccess
parent1159f58831c69680e9f10767d5358e13b66579dd (diff)
improve loplugin:unusedvarsglobal
to find any global variable, was checking the wrong property of VarDecl Change-Id: I454b4e0c1701bb0771768a1ee10cd738c4ab0726 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102278 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/inc/TokenWriter.hxx4
-rw-r--r--dbaccess/source/ui/misc/TokenWriter.cxx8
2 files changed, 0 insertions, 12 deletions
diff --git a/dbaccess/source/ui/inc/TokenWriter.hxx b/dbaccess/source/ui/inc/TokenWriter.hxx
index ecf8f9442e58..ef8579d4daf8 100644
--- a/dbaccess/source/ui/inc/TokenWriter.hxx
+++ b/dbaccess/source/ui/inc/TokenWriter.hxx
@@ -138,10 +138,6 @@ namespace dbaui
const sal_Int16 nIndentMax = 23;
class OHTMLImportExport : public ODatabaseImportExport
{
- // default HtmlFontSz[1-7]
- static const sal_Int16 nDefaultFontSize[SBA_HTML_FONTSIZES];
- // HtmlFontSz[1-7] in s*3.ini [user]
- static sal_Int16 nFontSize[SBA_HTML_FONTSIZES];
static const sal_Int16 nCellSpacing;
static const char sIndentSource[];
char sIndent[nIndentMax+1];
diff --git a/dbaccess/source/ui/misc/TokenWriter.cxx b/dbaccess/source/ui/misc/TokenWriter.cxx
index 3d73e9427b0e..5b1be584b18f 100644
--- a/dbaccess/source/ui/misc/TokenWriter.cxx
+++ b/dbaccess/source/ui/misc/TokenWriter.cxx
@@ -566,14 +566,6 @@ bool ORTFImportExport::Read()
return eState != SvParserState::Error;
}
-const sal_Int16 OHTMLImportExport::nDefaultFontSize[SBA_HTML_FONTSIZES] =
-{
- HTMLFONTSZ1_DFLT, HTMLFONTSZ2_DFLT, HTMLFONTSZ3_DFLT, HTMLFONTSZ4_DFLT,
- HTMLFONTSZ5_DFLT, HTMLFONTSZ6_DFLT, HTMLFONTSZ7_DFLT
-};
-
-sal_Int16 OHTMLImportExport::nFontSize[SBA_HTML_FONTSIZES] = { 0 };
-
const sal_Int16 OHTMLImportExport::nCellSpacing = 0;
const char OHTMLImportExport::sIndentSource[nIndentMax+1] = "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";