diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2021-10-05 20:42:00 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2021-10-05 22:22:55 +0200 |
commit | 3068ab9a2c9307cbea2efa2b6924ce427bb54466 (patch) | |
tree | 0ac8aab930ab06eae12247e629272257fa1cbcf7 /i18npool | |
parent | b35b1dca3a734739a9780c17331b8368d7df7657 (diff) |
drop 'using namespace std' in h* i* j*
Change-Id: I3c28651779f17e1a410505ffaa863b4773037ccf
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123119
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Diffstat (limited to 'i18npool')
-rw-r--r-- | i18npool/source/localedata/LocaleNode.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/i18npool/source/localedata/LocaleNode.cxx b/i18npool/source/localedata/LocaleNode.cxx index 8c23e3a29b21..e1443b1e1d0f 100644 --- a/i18npool/source/localedata/LocaleNode.cxx +++ b/i18npool/source/localedata/LocaleNode.cxx @@ -41,7 +41,6 @@ typedef ::o3tl::sorted_vector< OUString > NameSet; typedef ::o3tl::sorted_vector< sal_Int16 > ValueSet; namespace cssi = ::com::sun::star::i18n; -using namespace std; LocaleNode::LocaleNode (const OUString& name, const Reference< XAttributeList > & attr) : aName(name) @@ -1212,10 +1211,10 @@ void LCFormatNode::generateCode (const OFileWriter &of) const } // Check for duplicates. - for (vector<OUString>::const_iterator aIt = theDateAcceptancePatterns.begin(); + for (std::vector<OUString>::const_iterator aIt = theDateAcceptancePatterns.begin(); aIt != theDateAcceptancePatterns.end(); ++aIt) { - for (vector<OUString>::iterator aComp = theDateAcceptancePatterns.begin(); + for (std::vector<OUString>::iterator aComp = theDateAcceptancePatterns.begin(); aComp != theDateAcceptancePatterns.end(); /*nop*/) { if (aIt != aComp && *aIt == *aComp) @@ -2254,7 +2253,7 @@ void LCOutlineNumberingLevelNode::generateCode (const OFileWriter &of) const // record each attribute of each level of each style in a static C++ variable. // determine number of styles and number of levels per style on the fly. sal_Int32 nStyles = getNumberOfChildren(); - vector<sal_Int32> nLevels; // may be different for each style? + std::vector<sal_Int32> nLevels; // may be different for each style? for( sal_Int32 i = 0; i < nStyles; i++ ) { LocaleNode* p = getChildAt( i ); |