diff options
author | Noel Grandin <noel@peralex.com> | 2016-09-09 13:26:44 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-09-09 12:42:25 +0000 |
commit | 20c14c812ccc00692d42d294d3b8dea1774e3511 (patch) | |
tree | d48011cd869cf64069c84d1494f504f6f59b8ed1 /sfx2/source/view/viewsh.cxx | |
parent | 9dc0f2b703d8fbc8698a3cf36949a981e55b68c6 (diff) |
loplugin:constantparam in sfx2
Change-Id: If5d401001abb7bf3fc642d47f537b57836e6d9c5
Reviewed-on: https://gerrit.libreoffice.org/28772
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'sfx2/source/view/viewsh.cxx')
-rw-r--r-- | sfx2/source/view/viewsh.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx index 710c9cbb1189..e2d2473f71c5 100644 --- a/sfx2/source/view/viewsh.cxx +++ b/sfx2/source/view/viewsh.cxx @@ -508,7 +508,7 @@ void SfxViewShell::ExecMisc_Impl( SfxRequest &rReq ) if ( aRecipient.startsWith( aMailToStr ) ) aRecipient = aRecipient.copy( aMailToStr.getLength() ); - aModel.AddAddress( aRecipient, SfxMailModel::ROLE_TO ); + aModel.AddToAddress( aRecipient ); } const SfxStringItem* pMailDocType = rReq.GetArg<SfxStringItem>(SID_TYPE_NAME); if ( pMailDocType ) |