summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2021-10-27 12:12:10 +0300
committerTor Lillqvist <tml@collabora.com>2021-10-27 12:08:13 +0200
commitd3c8eadb9358ecdf1eeb6b44c39279366d40231a (patch)
treecff0c8b144a145e0be9a5bfeaca56cb2ba7f3249 /fpicker
parent0d4f6177c76ac2a55b469fd82282ecf4e878c21e (diff)
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 <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/aqua/ControlHelper.mm6
1 files changed, 0 insertions, 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");