sc/source/core/tool/dbdata.cxx |    8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

New commits:
commit 79d9195b954f7a815ddae9562c59fce4dd7c4351
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Sat Nov 18 15:18:49 2023 +0100
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Sat Nov 18 18:37:46 2023 +0100

    Remove useless using + once use of replace pair by std::pair
    
    Change-Id: Id283ac7909f19dabb98886caa1f2960d9098ddbe
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159628
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>
    Tested-by: Jenkins

diff --git a/sc/source/core/tool/dbdata.cxx b/sc/source/core/tool/dbdata.cxx
index 4b24110658c3..69e28ca62876 100644
--- a/sc/source/core/tool/dbdata.cxx
+++ b/sc/source/core/tool/dbdata.cxx
@@ -42,12 +42,6 @@
 #include <memory>
 #include <utility>
 
-using ::std::unique_ptr;
-using ::std::for_each;
-using ::std::find_if;
-using ::std::remove_if;
-using ::std::pair;
-
 bool ScDBData::less::operator() (const std::unique_ptr<ScDBData>& left, const 
std::unique_ptr<ScDBData>& right) const
 {
     return ScGlobal::GetTransliteration().compareString(left->GetUpperName(), 
right->GetUpperName()) < 0;
@@ -1260,7 +1254,7 @@ bool 
ScDBCollection::NamedDBs::insert(std::unique_ptr<ScDBData> pData)
     if (!pData->GetIndex())
         pData->SetIndex(mrParent.nEntryIndex++);
 
-    pair<DBsType::iterator, bool> r = m_DBs.insert(std::move(pData));
+    std::pair<DBsType::iterator, bool> r = m_DBs.insert(std::move(pData));
 
     if (r.second)
     {

Reply via email to