From e70cc1030512d7b8bc260ec973c764d5f63e1caf Mon Sep 17 00:00:00 2001 From: Capostrophic <alexdobrohotov@yandex.ru> Date: Sat, 23 Feb 2019 16:55:49 +0300 Subject: [PATCH] Some more de-boosting --- apps/opencs/view/doc/adjusterwidget.cpp | 6 +++--- apps/openmw/mwrender/terrainstorage.cpp | 2 -- components/files/configurationmanager.cpp | 2 -- 3 files changed, 3 insertions(+), 7 deletions(-) diff --git a/apps/opencs/view/doc/adjusterwidget.cpp b/apps/opencs/view/doc/adjusterwidget.cpp index 06da68ed8..509e656c3 100644 --- a/apps/opencs/view/doc/adjusterwidget.cpp +++ b/apps/opencs/view/doc/adjusterwidget.cpp @@ -1,7 +1,8 @@ #include "adjusterwidget.hpp" +#include <components/misc/stringops.hpp> + #include <boost/filesystem.hpp> -#include <boost/algorithm/string/case_conv.hpp> #include <QHBoxLayout> #include <QLabel> @@ -70,8 +71,7 @@ void CSVDoc::AdjusterWidget::setName (const QString& name, bool addon) { boost::filesystem::path path (name.toUtf8().data()); - std::string extension = path.extension().string(); - boost::algorithm::to_lower(extension); + std::string extension = Misc::StringUtils::lowerCase(path.extension().string()); bool isLegacyPath = (extension == ".esm" || extension == ".esp"); diff --git a/apps/openmw/mwrender/terrainstorage.cpp b/apps/openmw/mwrender/terrainstorage.cpp index ff2a8bfc7..7894a8393 100644 --- a/apps/openmw/mwrender/terrainstorage.cpp +++ b/apps/openmw/mwrender/terrainstorage.cpp @@ -1,7 +1,5 @@ #include "terrainstorage.hpp" -#include <boost/algorithm/string.hpp> - #include "../mwbase/world.hpp" #include "../mwbase/environment.hpp" #include "../mwworld/esmstore.hpp" diff --git a/components/files/configurationmanager.cpp b/components/files/configurationmanager.cpp index c58130f96..3df6faf62 100644 --- a/components/files/configurationmanager.cpp +++ b/components/files/configurationmanager.cpp @@ -3,8 +3,6 @@ #include <components/debug/debuglog.hpp> #include <components/files/escape.hpp> -#include <boost/algorithm/string/erase.hpp> -#include <boost/algorithm/string/replace.hpp> #include <boost/filesystem/fstream.hpp> /** * \namespace Files