diff options
author | Chirag Manwani <cmkmanwani@gmail.com> | 2016-03-04 18:03:41 +0530 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-03-07 06:33:10 +0000 |
commit | cbbeb771ba3df1d87a69d2115234d88f520ce0e6 (patch) | |
tree | 0bb3cd6aa8adfee1f80decaa78009cb87c85960c /shell | |
parent | eb0774032011e45bf97f3102bf2005b4ae85f07d (diff) |
tdf#96099 Reduce number of trivial typedefs
Change-Id: I39e9fcfdf2203239ac56d1c8195ca7ac07054817
Reviewed-on: https://gerrit.libreoffice.org/22898
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/win32/simplemail/smplmailclient.cxx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/shell/source/win32/simplemail/smplmailclient.cxx b/shell/source/win32/simplemail/smplmailclient.cxx index 048d63aef7e8..a291ad0c3976 100644 --- a/shell/source/win32/simplemail/smplmailclient.cxx +++ b/shell/source/win32/simplemail/smplmailclient.cxx @@ -54,8 +54,6 @@ using css::system::XSimpleMailMessage2; using css::system::SimpleMailClientFlags::NO_USER_INTERFACE; using css::system::SimpleMailClientFlags::NO_LOGON_DIALOG; -typedef std::vector<OUString> StringList_t; - const OUString TO("--to"); const OUString CC("--cc"); const OUString BCC("--bcc"); @@ -118,7 +116,7 @@ namespace /* private */ @returns <TRUE/> on success. */ - bool executeSenddoc(const StringList_t& rCommandArgs) + bool executeSenddoc(const std::vector<OUString>& rCommandArgs) { OUString senddocUrl = getSenddocUrl(); if (senddocUrl.getLength() == 0) @@ -176,7 +174,7 @@ Reference<XSimpleMailMessage> SAL_CALL CSmplMailClient::createSimpleMailMessage( */ void CSmplMailClient::assembleCommandLine( const Reference<XSimpleMailMessage>& xSimpleMailMessage, - sal_Int32 aFlag, StringList_t& rCommandArgs) + sal_Int32 aFlag, std::vector<OUString>& rCommandArgs) { OSL_ENSURE(rCommandArgs.empty(), "Provided command argument buffer not empty"); @@ -254,7 +252,7 @@ void SAL_CALL CSmplMailClient::sendSimpleMailMessage( { validateParameter(xSimpleMailMessage, aFlag); - StringList_t senddocParams; + std::vector<OUString> senddocParams; assembleCommandLine(xSimpleMailMessage, aFlag, senddocParams); if (!executeSenddoc(senddocParams)) |