diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-12 11:39:06 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-04-12 12:49:25 +0200 |
commit | 05144427303b2aa09108eeb03606fa66da275d2b (patch) | |
tree | e9ae881b44a84f352afdb51b755fb904415737ad /fpicker/source/aqua | |
parent | 4930acb18bbd145fd995084cd95e3e9d631424ed (diff) |
no need to use OUStringToOString in SAL_INFO
Change-Id: I707e0d72aba89b7e644def6f4c251e14f6599ad2
Reviewed-on: https://gerrit.libreoffice.org/36451
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'fpicker/source/aqua')
-rw-r--r-- | fpicker/source/aqua/ControlHelper.mm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fpicker/source/aqua/ControlHelper.mm b/fpicker/source/aqua/ControlHelper.mm index 092d0494808b..6a0d18f4d5ee 100644 --- a/fpicker/source/aqua/ControlHelper.mm +++ b/fpicker/source/aqua/ControlHelper.mm @@ -72,7 +72,7 @@ uno::Any HandleGetListValue(const NSControl* pControl, const sal_Int16 nControlA NSString* sCFItem = [pButton itemTitleAtIndex:i]; if (nil != sCFItem) { aItemList[i] = [sCFItem OUString]; - SAL_INFO("fpicker.aqua","Return value[" << (i - 1) << "]: " << OUStringToOString(aItemList[i - 1], RTL_TEXTENCODING_UTF8).getStr()); + SAL_INFO("fpicker.aqua","Return value[" << (i - 1) << "]: " << aItemList[i - 1]); } } @@ -85,7 +85,7 @@ uno::Any HandleGetListValue(const NSControl* pControl, const sal_Int16 nControlA NSString* sCFItem = [pButton titleOfSelectedItem]; if (nil != sCFItem) { OUString sString = [sCFItem OUString]; - SAL_INFO("fpicker.aqua","Return value: " << OUStringToOString(sString, RTL_TEXTENCODING_UTF8).getStr()); + SAL_INFO("fpicker.aqua","Return value: " << sString); aAny <<= sString; } } @@ -643,7 +643,7 @@ void ControlHelper::HandleSetListValue(const NSControl* pControl, const sal_Int1 rValue >>= sItem; NSString* sCFItem = [NSString stringWithOUString:sItem]; - SAL_INFO("fpicker.aqua","Adding menu item: " << OUStringToOString(sItem, RTL_TEXTENCODING_UTF8).getStr()); + SAL_INFO("fpicker.aqua","Adding menu item: " << sItem); [pButton addItemWithTitle:sCFItem]; } break; @@ -656,7 +656,7 @@ void ControlHelper::HandleSetListValue(const NSControl* pControl, const sal_Int1 for (sal_Int32 i = 0; i < nItemCount; ++i) { NSString* sCFItem = [NSString stringWithOUString:aStringList[i]]; - SAL_INFO("fpicker.aqua","Adding menu item: " << OUStringToOString(aStringList[i], RTL_TEXTENCODING_UTF8).getStr()); + SAL_INFO("fpicker.aqua","Adding menu item: " << aStringList[i]); [pButton addItemWithTitle:sCFItem]; } } |