diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-02 11:32:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-02 14:49:07 +0100 |
commit | b3e87789d9b31f039b2e7b6a23f312c03712777b (patch) | |
tree | 5b8f54ae3ab44e68201fb5460da735a1bd8eb949 /sc/source | |
parent | 227d87d805cf0aee28a0faedff67dcb6b0e6ce2d (diff) |
coverity#1242475 no point calling SetText with GetText results
Change-Id: I0ebd4a53a0d309b45f5af31adc6fa54a5f143a21
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/dbgui/scuiasciiopt.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/ui/dbgui/scuiasciiopt.cxx b/sc/source/ui/dbgui/scuiasciiopt.cxx index b5101c3b3147..00d4f16deee3 100644 --- a/sc/source/ui/dbgui/scuiasciiopt.cxx +++ b/sc/source/ui/dbgui/scuiasciiopt.cxx @@ -277,8 +277,10 @@ ScImportAsciiDlg::ScImportAsciiDlg( vcl::Window* pParent, const OUString& aDatNa break; case SC_IMPORTFILE: aName += " - [" + aDatName + "]"; - default: SetText( aName ); + break; + default: + break; } // To be able to prefill the correct values based on the file extension |