fpicker/source/aqua/ControlHelper.mm |    6 ------
 1 file changed, 6 deletions(-)

New commits:
commit d3c8eadb9358ecdf1eeb6b44c39279366d40231a
Author:     Tor Lillqvist <t...@collabora.com>
AuthorDate: Wed Oct 27 12:12:10 2021 +0300
Commit:     Tor Lillqvist <t...@collabora.com>
CommitDate: Wed Oct 27 12:08:13 2021 +0200

    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 <t...@collabora.com>
    Tested-by: Tor Lillqvist <t...@collabora.com>

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");

Reply via email to