summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/docsh.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2018-02-16 23:52:04 +0100
committerEike Rathke <erack@redhat.com>2018-02-16 23:59:18 +0100
commitb87fe45e8b087a315a65b92bf9c168b1e4c5cc00 (patch)
tree8221764e375c6862992bdc2ec3eadf098adea9f6 /sc/source/ui/docshell/docsh.cxx
parentf0c25c751cf8e166a84b289746bce6202a40391d (diff)
Consolidate the dreaded "Text - txt - csv (StarCalc)" filter name
... into one define SC_TEXT_CSV_FILTER_NAME. This might prevent typos and doesn't look as ugly. Change-Id: If954852e5e6673331b29c4994f9d97c77b6564a6
Diffstat (limited to 'sc/source/ui/docshell/docsh.cxx')
-rw-r--r--sc/source/ui/docshell/docsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx
index 8d1117af8d48..7815e68d5566 100644
--- a/sc/source/ui/docshell/docsh.cxx
+++ b/sc/source/ui/docshell/docsh.cxx
@@ -145,7 +145,7 @@ using ::std::vector;
static const sal_Char pFilterSc50[] = "StarCalc 5.0";
static const sal_Char pFilterXML[] = "StarOffice XML (Calc)";
-static const sal_Char pFilterAscii[] = "Text - txt - csv (StarCalc)";
+static const sal_Char pFilterAscii[] = SC_TEXT_CSV_FILTER_NAME;
static const sal_Char pFilterLotus[] = "Lotus";
static const sal_Char pFilterQPro6[] = "Quattro Pro 6.0";
static const sal_Char pFilterExcel4[] = "MS Excel 4.0";