Enable build with iniparser v 3.1
[platform/framework/native/appfw.git] / src / locales / FLclLocaleManager.cpp
index 8b16c78..b888f7d 100644 (file)
@@ -97,7 +97,7 @@ LocaleManager::GetAvailableTimeZonesN(void) const
        {
                std::unique_ptr<String> pTz(new (std::nothrow) String(*((String*)(pList->GetAt(i)))));
                SysTryReturn(NID_LCL, pTz, null, E_OUT_OF_MEMORY, "[%s] Memory allocation failed.", GetErrorMessage(E_OUT_OF_MEMORY));
-               result r = pArrayList->Add(*(pTz.get()));
+               result r = pArrayList->Add(pTz.get());
                SysTryReturn(NID_LCL, !IsFailed(r), null, E_SYSTEM, "[E_SYSTEM] It is failed to get the tz list.");
                pTz.release();
        }
@@ -120,7 +120,7 @@ LocaleManager::GetAvailableTimeZonesN(int rawOffset) const
        {
                std::unique_ptr<String> pTz(new (std::nothrow) String(*((String*)(pList->GetAt(i)))));
                SysTryReturn(NID_LCL, pTz, null, E_OUT_OF_MEMORY, "[%s] Memory allocation failed.", GetErrorMessage(E_OUT_OF_MEMORY));
-               result r = pArrayList->Add(*(pTz.get()));
+               result r = pArrayList->Add(pTz.get());
                SysTryReturn(NID_LCL, !IsFailed(r), null, E_SYSTEM, "[E_SYSTEM] It is failed to get the tz list.");
                pTz.release();
        }