From d3c8eadb9358ecdf1eeb6b44c39279366d40231a Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 27 Oct 2021 12:12:10 +0300 Subject: There is nothing deprecated about these calls as far as I see Must have been some misunderstanding, or temporary mistake in the 10.9 SDK? Change-Id: I19d86c7a0e752676b317423361a18d2b156f0d95 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124259 Reviewed-by: Tor Lillqvist Tested-by: Tor Lillqvist --- fpicker/source/aqua/ControlHelper.mm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/fpicker/source/aqua/ControlHelper.mm b/fpicker/source/aqua/ControlHelper.mm index 84c002abc68c..1feb6d9458a2 100644 --- a/fpicker/source/aqua/ControlHelper.mm +++ b/fpicker/source/aqua/ControlHelper.mm @@ -112,9 +112,7 @@ NSTextField* createLabelWithString(NSString* labelString) [textField setSelectable:NO]; [textField setDrawsBackground:NO]; [textField setBordered:NO]; - SAL_WNODEPRECATED_DECLARATIONS_PUSH //TODO: 10.9 setTitle [[textField cell] setTitle:labelString]; - SAL_WNODEPRECATED_DECLARATIONS_POP return textField; } @@ -276,9 +274,7 @@ OUString ControlHelper::getLabel( sal_Int16 nControlId ) retVal = [temp OUString]; } else { - SAL_WNODEPRECATED_DECLARATIONS_PUSH //TODO: 10.9 title NSString* sLabel = [[pControl cell] title]; - SAL_WNODEPRECATED_DECLARATIONS_POP retVal = [sLabel OUString]; } @@ -302,9 +298,7 @@ void ControlHelper::setLabel( sal_Int16 nControlId, NSString* aLabel ) m_aMapListLabels[pControl] = [aLabel retain]; } else if ([pControl class] == [NSButton class]) { - SAL_WNODEPRECATED_DECLARATIONS_PUSH //TODO: 10.9 setTitle [[pControl cell] setTitle:aLabel]; - SAL_WNODEPRECATED_DECLARATIONS_POP } } else { SAL_INFO("fpicker.aqua","Control not found to set label for"); -- cgit