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/options/personalization.cxx | |
parent | 860130783830fc39ea49a3c76f70ab79b4f31f92 (diff) |
loplugin: defaultparams
Change-Id: I81537289a40bdc30bd8d896dc5364f0989205e39
Diffstat (limited to 'cui/source/options/personalization.cxx')
-rw-r--r-- | cui/source/options/personalization.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/options/personalization.cxx b/cui/source/options/personalization.cxx index 5e550a22b3ce..8c0c5941026a 100644 --- a/cui/source/options/personalization.cxx +++ b/cui/source/options/personalization.cxx @@ -203,7 +203,7 @@ IMPL_LINK( SelectPersonaDialog, ActionCancel, PushButton*, /* pButton */ ) if( m_rSearchThread.is() ) m_rSearchThread->StopExecution(); - EndDialog( RET_CANCEL ); + EndDialog(); return 0; } @@ -417,7 +417,7 @@ void SvxPersonalizationTabPage::LoadDefaultImages() aStream.ReadLine( aLine ); OUString aPersonaSetting( OStringToOUString( aLine, RTL_TEXTENCODING_UTF8 ) ); OUString aPreviewFile; - sal_Int32 nNewIndex = aPersonaSetting.indexOf( ';', 0 ); + sal_Int32 nNewIndex = aPersonaSetting.indexOf( ';' ); if( nNewIndex < 0 ) break; aPreviewFile = aPersonaSetting.copy( 0, nNewIndex ); @@ -518,7 +518,7 @@ IMPL_LINK( SvxPersonalizationTabPage, SelectInstalledPersona, ListBox*, ) m_pExtensionPersonaPreview->Show(); sal_Int32 nSelectedPos = m_pPersonaList->GetSelectEntryPos(); OUString aSettings = m_vExtensionPersonaSettings[nSelectedPos]; - sal_Int32 nIndex = aSettings.indexOf( ';', 0 ); + sal_Int32 nIndex = aSettings.indexOf( ';' ); OUString aPreviewFile = aSettings.copy( 0, nIndex ); m_aPersonaSettings = aSettings.copy( nIndex + 1 ); |