summaryrefslogtreecommitdiffstats
path: root/fpicker
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-07-16 10:29:28 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-07-16 10:29:46 +0200
commit795ac5bc53f6c15f2ab4634201747eb1c3e3331f (patch)
treee0941f74a685b450510c52fab76b236c0b278428 /fpicker
parentloplugin:vclwidgets (diff)
downloadcore-795ac5bc53f6c15f2ab4634201747eb1c3e3331f.tar.gz
core-795ac5bc53f6c15f2ab4634201747eb1c3e3331f.zip
loplugin:stringconstant
Change-Id: I59da081fc90ffb96c438ed755266f5a69fbd199d
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/office/RemoteFilesDialog.cxx6
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 )
{