summaryrefslogtreecommitdiff
path: root/fpicker
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-12-06 16:50:38 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-12-06 19:21:21 +0100
commitb1acb9c62701d8f09fafdf5b7c2b690249a277b8 (patch)
tree09816a74d80cb004f6074da763b725f53672390a /fpicker
parent0a803c0a41f46be4019ddd2768b4be5669b7ab59 (diff)
loplugin:external (macOS)
* OldEntry in fpicker/source/aqua/resourceprovider.mm was apparently unused ever since it got introduced with 00657aef09d854c74fb426a935a3e8b1fc390bb0 "migrate to boost::gettext" * impl_throwError is used from multiple TU, connectivity/source/drivers/macab/MacabStatement.cxx just missed the relevant #include Change-Id: Iba131da57aa20085bb1c634ba9a3a59566070abd Reviewed-on: https://gerrit.libreoffice.org/84653 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'fpicker')
-rw-r--r--fpicker/source/aqua/resourceprovider.mm8
1 files changed, 3 insertions, 5 deletions
diff --git a/fpicker/source/aqua/resourceprovider.mm b/fpicker/source/aqua/resourceprovider.mm
index b5ec09532ea2..4daa24b9ff07 100644
--- a/fpicker/source/aqua/resourceprovider.mm
+++ b/fpicker/source/aqua/resourceprovider.mm
@@ -37,17 +37,15 @@ using namespace ::com::sun::star::ui::dialogs::CommonFilePickerElementIds;
// we have to translate control ids to resource ids
+namespace {
+
struct Entry
{
sal_Int32 ctrlId;
const char* resId;
};
-struct OldEntry
-{
- sal_Int32 ctrlId;
- sal_Int16 resId;
-};
+}
Entry const CtrlIdToResIdTable[] = {
{ CHECKBOX_AUTOEXTENSION, STR_SVT_FILEPICKER_AUTO_EXTENSION },