diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-07-01 19:56:24 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-07-01 21:23:34 +0200 |
commit | 45170005287b7f1c9610684b3d5913a356b0f4e1 (patch) | |
tree | edb06323c3e22b6e49247679222b392be9ce0561 /sc/source/ui/docshell | |
parent | 8e50b9ca808e668d1f55d6b2dc517e6221fe1df7 (diff) |
Upcoming improved loplugin:staticanonymous -> redundantstatic: sc
Change-Id: Ie2d2d26bac69f4b228eadef712b06b665b3974eb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97650
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sc/source/ui/docshell')
-rw-r--r-- | sc/source/ui/docshell/docsh.cxx | 38 | ||||
-rw-r--r-- | sc/source/ui/docshell/impex.cxx | 2 |
2 files changed, 20 insertions, 20 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index a305a1b5bc12..b0d3dd8f55cc 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -139,25 +139,25 @@ using ::std::vector; // Filter names (like in sclib.cxx) -static const char pFilterSc50[] = "StarCalc 5.0"; -static const char pFilterXML[] = "StarOffice XML (Calc)"; -static const char pFilterAscii[] = SC_TEXT_CSV_FILTER_NAME; -static const char pFilterLotus[] = "Lotus"; -static const char pFilterQPro6[] = "Quattro Pro 6.0"; -static const char pFilterExcel4[] = "MS Excel 4.0"; -static const char pFilterEx4Temp[] = "MS Excel 4.0 Vorlage/Template"; -static const char pFilterExcel5[] = "MS Excel 5.0/95"; -static const char pFilterEx5Temp[] = "MS Excel 5.0/95 Vorlage/Template"; -static const char pFilterExcel95[] = "MS Excel 95"; -static const char pFilterEx95Temp[] = "MS Excel 95 Vorlage/Template"; -static const char pFilterExcel97[] = "MS Excel 97"; -static const char pFilterEx97Temp[] = "MS Excel 97 Vorlage/Template"; -static const char pFilterDBase[] = "dBase"; -static const char pFilterDif[] = "DIF"; -static const char pFilterSylk[] = "SYLK"; -static const char pFilterHtml[] = "HTML (StarCalc)"; -static const char pFilterHtmlWebQ[] = "calc_HTML_WebQuery"; -static const char pFilterRtf[] = "Rich Text Format (StarCalc)"; +const char pFilterSc50[] = "StarCalc 5.0"; +const char pFilterXML[] = "StarOffice XML (Calc)"; +const char pFilterAscii[] = SC_TEXT_CSV_FILTER_NAME; +const char pFilterLotus[] = "Lotus"; +const char pFilterQPro6[] = "Quattro Pro 6.0"; +const char pFilterExcel4[] = "MS Excel 4.0"; +const char pFilterEx4Temp[] = "MS Excel 4.0 Vorlage/Template"; +const char pFilterExcel5[] = "MS Excel 5.0/95"; +const char pFilterEx5Temp[] = "MS Excel 5.0/95 Vorlage/Template"; +const char pFilterExcel95[] = "MS Excel 95"; +const char pFilterEx95Temp[] = "MS Excel 95 Vorlage/Template"; +const char pFilterExcel97[] = "MS Excel 97"; +const char pFilterEx97Temp[] = "MS Excel 97 Vorlage/Template"; +const char pFilterDBase[] = "dBase"; +const char pFilterDif[] = "DIF"; +const char pFilterSylk[] = "SYLK"; +const char pFilterHtml[] = "HTML (StarCalc)"; +const char pFilterHtmlWebQ[] = "calc_HTML_WebQuery"; +const char pFilterRtf[] = "Rich Text Format (StarCalc)"; #define ShellClass_ScDocShell #include <scslots.hxx> diff --git a/sc/source/ui/docshell/impex.cxx b/sc/source/ui/docshell/impex.cxx index 543f516a1c4d..f87440b047b3 100644 --- a/sc/source/ui/docshell/impex.cxx +++ b/sc/source/ui/docshell/impex.cxx @@ -69,7 +69,7 @@ // times maximum cell content length, 2*1024*64K=128M, and because it's // sal_Unicode that's 256MB. If it's 2GB of data without LF we're out of luck // anyway. -static const sal_Int32 nArbitraryLineLengthLimit = 2 * MAXCOLCOUNT * 65536; +const sal_Int32 nArbitraryLineLengthLimit = 2 * MAXCOLCOUNT * 65536; namespace { |