summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-10 16:00:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-11 09:39:44 +0200
commit0e8e5c196bd8eeda37da0db17bb617f5e97f4ddb (patch)
treeaef510edd37cbd64df7d90644e92ebd5fc2466c2 /sc
parent2da435922f9c1fcf52eb0c1eb3d6f73581e9f793 (diff)
loplugin:unusedfields
Change-Id: I876183559a7d9f1e6d914fbf37d7ffe91459144e Reviewed-on: https://gerrit.libreoffice.org/60278 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/dbgui/scuiasciiopt.cxx2
-rw-r--r--sc/source/ui/inc/scuiasciiopt.hxx1
2 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/dbgui/scuiasciiopt.cxx b/sc/source/ui/dbgui/scuiasciiopt.cxx
index e6774a9ea464..0679f5853bdc 100644
--- a/sc/source/ui/dbgui/scuiasciiopt.cxx
+++ b/sc/source/ui/dbgui/scuiasciiopt.cxx
@@ -294,7 +294,6 @@ ScImportAsciiDlg::ScImportAsciiDlg( vcl::Window* pParent, const OUString& aDatNa
mnRowPosCount(0),
- aColumnUser ( ScResId( SCSTR_COLUMN_USER ) ),
aTextSepList(SCSTR_TEXTSEP),
mcTextSep ( ScAsciiOptions::cDefaultTextSep ),
meCall(eCall),
@@ -483,6 +482,7 @@ ScImportAsciiDlg::ScImportAsciiDlg( vcl::Window* pParent, const OUString& aDatNa
pLbCustomLang->SelectLanguage(static_cast<LanguageType>(nLanguage));
// *** column type ListBox ***
+ OUString aColumnUser( ScResId( SCSTR_COLUMN_USER ) );
for (sal_Int32 nIdx {0}; nIdx>=0; )
{
pLbType->InsertEntry( aColumnUser.getToken( 0, ';', nIdx ) );
diff --git a/sc/source/ui/inc/scuiasciiopt.hxx b/sc/source/ui/inc/scuiasciiopt.hxx
index 223ca7288c9d..25956d0780e4 100644
--- a/sc/source/ui/inc/scuiasciiopt.hxx
+++ b/sc/source/ui/inc/scuiasciiopt.hxx
@@ -82,7 +82,6 @@ class ScImportAsciiDlg : public ModalDialog
VclPtr<ScCsvTableBox> mpTableBox;
- OUString aColumnUser;
OUString aTextSepList;
OUString maFieldSeparators; // selected field separators
sal_Unicode mcTextSep;