diff options
author | Gabor Kelemen <gabor.kelemen.extern@allotropia.de> | 2023-02-15 01:18:28 +0100 |
---|---|---|
committer | Gabor Kelemen <kelemeng@ubuntu.com> | 2023-02-16 08:14:39 +0000 |
commit | 857b74041aa339e56ee8b2a05a910172753ed783 (patch) | |
tree | 7b5ba27120faa015f86080fd91bed13828470020 /xmloff/source/draw/shapeimport.cxx | |
parent | 79176694ddc7bce40ce2b82d3f332be8642a5167 (diff) |
Drop 'using namespace ::std' in dirs [u-x]*
Change-Id: I8c044369826b00241496cfc7ba2463e507c0d1a6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147077
Tested-by: Jenkins
Reviewed-by: Gabor Kelemen <kelemeng@ubuntu.com>
Diffstat (limited to 'xmloff/source/draw/shapeimport.cxx')
-rw-r--r-- | xmloff/source/draw/shapeimport.cxx | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/xmloff/source/draw/shapeimport.cxx b/xmloff/source/draw/shapeimport.cxx index a89b1ca840f3..45c1d22fcabb 100644 --- a/xmloff/source/draw/shapeimport.cxx +++ b/xmloff/source/draw/shapeimport.cxx @@ -54,7 +54,6 @@ class ShapeGroupContext; } -using namespace ::std; using namespace ::com::sun::star; using namespace ::xmloff::token; @@ -528,8 +527,8 @@ class ShapeGroupContext public: uno::Reference< drawing::XShapes > mxShapes; std::vector<SdXMLEventContextData> maEventData; - vector<ZOrderHint> maZOrderList; - vector<ZOrderHint> maUnsortedList; + std::vector<ZOrderHint> maZOrderList; + std::vector<ZOrderHint> maUnsortedList; sal_Int32 mnCurrentZ; std::shared_ptr<ShapeGroupContext> mpParentContext; @@ -647,7 +646,7 @@ void ShapeGroupContext::popGroupAndPostProcess() for (const ZOrderHint& rHint : maZOrderList) { // fill in the gaps from unordered list - for (vector<ZOrderHint>::iterator aIt = maUnsortedList.begin(); aIt != maUnsortedList.end() && nIndex < rHint.nShould; ) + for (std::vector<ZOrderHint>::iterator aIt = maUnsortedList.begin(); aIt != maUnsortedList.end() && nIndex < rHint.nShould; ) { pNewOrder[nIndex++] = (*aIt).nIs; aIt = maUnsortedList.erase(aIt); @@ -672,7 +671,7 @@ void ShapeGroupContext::popGroupAndPostProcess() sal_Int32 nIndex = 0; for (const ZOrderHint& rHint : maZOrderList) { - for (vector<ZOrderHint>::iterator aIt = maUnsortedList.begin(); aIt != maUnsortedList.end() && nIndex < rHint.nShould; ) + for (std::vector<ZOrderHint>::iterator aIt = maUnsortedList.begin(); aIt != maUnsortedList.end() && nIndex < rHint.nShould; ) { moveShape( (*aIt).nIs, nIndex++ ); aIt = maUnsortedList.erase(aIt); @@ -793,8 +792,8 @@ void XMLShapeImportHelper::addShapeConnection( css::uno::Reference< css::drawing void XMLShapeImportHelper::restoreConnections() { - const vector<ConnectionHint>::size_type nCount = mpImpl->maConnections.size(); - for( vector<ConnectionHint>::size_type i = 0; i < nCount; i++ ) + const std::vector<ConnectionHint>::size_type nCount = mpImpl->maConnections.size(); + for( std::vector<ConnectionHint>::size_type i = 0; i < nCount; i++ ) { ConnectionHint& rHint = mpImpl->maConnections[i]; uno::Reference< beans::XPropertySet > xConnector( rHint.mxConnector, uno::UNO_QUERY ); |