diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-07-16 10:29:28 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-07-16 10:29:46 +0200 |
commit | 795ac5bc53f6c15f2ab4634201747eb1c3e3331f (patch) | |
tree | e0941f74a685b450510c52fab76b236c0b278428 /fpicker | |
parent | 78d73a51bf40c6f69347bbc90b955696c86a022d (diff) |
loplugin:stringconstant
Change-Id: I59da081fc90ffb96c438ed755266f5a69fbd199d
Diffstat (limited to 'fpicker')
-rw-r--r-- | fpicker/source/office/RemoteFilesDialog.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fpicker/source/office/RemoteFilesDialog.cxx b/fpicker/source/office/RemoteFilesDialog.cxx index 765ec4b1578e..d59c9bd89d1d 100644 --- a/fpicker/source/office/RemoteFilesDialog.cxx +++ b/fpicker/source/office/RemoteFilesDialog.cxx @@ -640,7 +640,7 @@ IMPL_LINK_NOARG ( RemoteFilesDialog, SelectHdl ) } else { - m_sPath = ""; + m_sPath.clear(); m_pName_ed->SetText( "" ); } @@ -739,8 +739,8 @@ IMPL_LINK_NOARG ( RemoteFilesDialog, OkHdl ) bool bFileDlg = ( m_eType == REMOTEDLG_TYPE_FILEDLG ); bool bSelected = ( m_pFileView->GetSelectionCount() > 0 ); - if( !sCurrentPath.endsWith( OUString( "/" ) ) ) - sCurrentPath += OUString( "/" ); + if( !sCurrentPath.endsWith("/") ) + sCurrentPath += "/"; if( !bSelected ) { |