diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-12 15:09:44 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-14 10:52:46 +0200 |
commit | 4c6d1a2636941c559d78fcac36125ba1374330f9 (patch) | |
tree | d651b23ce2b95f320d37a4d4c3fb2d1ccf0de916 /cui/source/dialogs/multipat.cxx | |
parent | 860130783830fc39ea49a3c76f70ab79b4f31f92 (diff) |
loplugin: defaultparams
Change-Id: I81537289a40bdc30bd8d896dc5364f0989205e39
Diffstat (limited to 'cui/source/dialogs/multipat.cxx')
-rw-r--r-- | cui/source/dialogs/multipat.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/dialogs/multipat.cxx b/cui/source/dialogs/multipat.cxx index b8b5b04a7202..ba91c93353ce 100644 --- a/cui/source/dialogs/multipat.cxx +++ b/cui/source/dialogs/multipat.cxx @@ -121,7 +121,7 @@ IMPL_LINK_NOARG(SvxPathSelectDialog, AddHdl_Impl) } else { - sal_uInt16 nPos = m_pPathLB->InsertEntry( sInsPath, LISTBOX_APPEND ); + sal_uInt16 nPos = m_pPathLB->InsertEntry( sInsPath ); m_pPathLB->SetEntryData( nPos, new OUString( aURL ) ); } @@ -349,9 +349,9 @@ void SvxPathSelectDialog::SetPath(const OUString& rPath) ::utl::LocalFileHelper::ConvertURLToSystemPath( sPath, sSystemPath ); if ( bIsSystemPath ) - nPos = m_pPathLB->InsertEntry( sSystemPath, LISTBOX_APPEND ); + nPos = m_pPathLB->InsertEntry( sSystemPath ); else - nPos = m_pPathLB->InsertEntry( sPath, LISTBOX_APPEND ); + nPos = m_pPathLB->InsertEntry( sPath ); m_pPathLB->SetEntryData( nPos, new OUString( sPath ) ); } |