diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-17 17:10:47 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-18 07:59:14 +0000 |
commit | 3a00aaef2a51d7a1a87475a316dc9ae232fac60c (patch) | |
tree | 4cc4516528c0dcb0bb6871e5b517efb74550a521 /i18nutil/source/utility | |
parent | c8ee3be0e08c435b106f0ac4b76618b33333b040 (diff) |
boost->std
Change-Id: Ie490bf2c6921f393bdeed96b1a8815996b701bf0
Reviewed-on: https://gerrit.libreoffice.org/18670
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'i18nutil/source/utility')
-rw-r--r-- | i18nutil/source/utility/unicode.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i18nutil/source/utility/unicode.cxx b/i18nutil/source/utility/unicode.cxx index 440f4aa0ff3e..6a639fa718cb 100644 --- a/i18nutil/source/utility/unicode.cxx +++ b/i18nutil/source/utility/unicode.cxx @@ -17,7 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#include <boost/scoped_ptr.hpp> #include <com/sun/star/i18n/UnicodeType.hpp> #include <com/sun/star/i18n/KCharacterType.hpp> #include <com/sun/star/i18n/ScriptType.hpp> @@ -29,6 +28,7 @@ #include "unicode_data.h" #include <com/sun/star/i18n/UnicodeType.hpp> #include <rtl/character.hxx> +#include <memory> // Workaround for glibc braindamage: // glibc 2.4's langinfo.h does "#define CURRENCY_SYMBOL __CURRENCY_SYMBOL" @@ -980,7 +980,7 @@ OUString SAL_CALL unicode::formatPercent(double dNumber, icu::Locale aLocale = LanguageTagIcu::getIcuLocale(aLangTag); - boost::scoped_ptr<NumberFormat> xF( + std::unique_ptr<NumberFormat> xF( NumberFormat::createPercentInstance(aLocale, errorCode)); if(U_FAILURE(errorCode)) { |