diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-26 19:29:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-27 09:56:16 +0200 |
commit | f9f52b918a3255521bd74cd88939c45381297e19 (patch) | |
tree | 381de8c5a6464f675bcfac4f2b130de28e792ead /svl/source | |
parent | 142a5ed429d3b159a3538c372ec51af3605db942 (diff) |
expand out StringSet typedef
Change-Id: If7791d51d055ad918b54a52bee3f13a79c5468f6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101435
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svl/source')
-rw-r--r-- | svl/source/passwordcontainer/syscreds.cxx | 4 | ||||
-rw-r--r-- | svl/source/passwordcontainer/syscreds.hxx | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/svl/source/passwordcontainer/syscreds.cxx b/svl/source/passwordcontainer/syscreds.cxx index 73020ef60f2a..3db663d844b8 100644 --- a/svl/source/passwordcontainer/syscreds.cxx +++ b/svl/source/passwordcontainer/syscreds.cxx @@ -119,7 +119,7 @@ namespace return false; } - bool findURL( StringSet const & rContainer, OUString const & aURL, OUString & aResult ) + bool findURL( std::set<OUString> const & rContainer, OUString const & aURL, OUString & aResult ) { // TODO: This code is actually copied from svl/source/passwordcontainer.cxx if( !rContainer.empty() && !aURL.isEmpty() ) @@ -131,7 +131,7 @@ namespace do { // first look for <url>/somename and then look for <url>/somename/... - StringSet::const_iterator aIter = rContainer.find( aUrl ); + auto aIter = rContainer.find( aUrl ); if( aIter != rContainer.end() ) { aResult = *aIter; diff --git a/svl/source/passwordcontainer/syscreds.hxx b/svl/source/passwordcontainer/syscreds.hxx index d3605c262506..4f2d6734788e 100644 --- a/svl/source/passwordcontainer/syscreds.hxx +++ b/svl/source/passwordcontainer/syscreds.hxx @@ -52,8 +52,6 @@ class SysCredentialsConfigItem : public utl::ConfigItem SysCredentialsConfig * m_pOwner; }; -typedef std::set< OUString > StringSet; - class SysCredentialsConfig { public: @@ -71,8 +69,8 @@ class SysCredentialsConfig void writeCfg(); ::osl::Mutex m_aMutex; - StringSet m_aMemContainer; - StringSet m_aCfgContainer; + std::set< OUString > m_aMemContainer; + std::set< OUString > m_aCfgContainer; SysCredentialsConfigItem m_aConfigItem; bool m_bCfgInited; }; |