summaryrefslogtreecommitdiff
path: root/odk/examples
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2024-04-04 13:55:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2024-04-04 19:58:35 +0200
commit1e31403bc8d63f938bebef663fc90bf86b3321ad (patch)
treee2409bfe027ac15b3787230f7ffaf20b9a0ceb35 /odk/examples
parentf97b1f75bbd7f8a20163716b57c84fc1140e48fa (diff)
loplugin:unusedenumconstants
Change-Id: I889b4f63e098fecf22ffd4fb98937d62dbdd70b1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165791 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'odk/examples')
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/propertyids.cxx1
-rw-r--r--odk/examples/DevelopersGuide/Database/DriverSkeleton/propertyids.hxx22
2 files changed, 10 insertions, 13 deletions
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/propertyids.cxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/propertyids.cxx
index cbbe29bd1749..c96d1f077ced 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/propertyids.cxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/propertyids.cxx
@@ -165,7 +165,6 @@ namespace skeleton
case PROPERTY_ID_DBASEPRECISIONCHANGED: { rtl_uString_newFromAscii(&pStr,getPROPERTY_DBASEPRECISIONCHANGED() ); break; }
case PROPERTY_ID_ISCURRENCY: { rtl_uString_newFromAscii(&pStr,getPROPERTY_ISCURRENCY() ); break; }
case PROPERTY_ID_ISBOOKMARKABLE: { rtl_uString_newFromAscii(&pStr,getPROPERTY_ISBOOKMARKABLE() ); break; }
- case PROPERTY_ID_INVALID_INDEX: { rtl_uString_newFromAscii(&pStr,getSTAT_INVALID_INDEX() ); break; }
case PROPERTY_ID_ERRORMSG_SEQUENCE: { rtl_uString_newFromAscii(&pStr,getERRORMSG_SEQUENCE() ); break; }
case PROPERTY_ID_HY010: { rtl_uString_newFromAscii(&pStr,getSQLSTATE_SEQUENCE() ); break; }
case PROPERTY_ID_HY0000: { rtl_uString_newFromAscii(&pStr,getSQLSTATE_GENERAL() ); break; }
diff --git a/odk/examples/DevelopersGuide/Database/DriverSkeleton/propertyids.hxx b/odk/examples/DevelopersGuide/Database/DriverSkeleton/propertyids.hxx
index bc8e20d7acff..541d596be3a5 100644
--- a/odk/examples/DevelopersGuide/Database/DriverSkeleton/propertyids.hxx
+++ b/odk/examples/DevelopersGuide/Database/DriverSkeleton/propertyids.hxx
@@ -127,18 +127,16 @@ namespace skeleton
#define PROPERTY_ID_ISCURRENCY 39
#define PROPERTY_ID_ISBOOKMARKABLE 40
-#define PROPERTY_ID_INVALID_INDEX 41
-#define PROPERTY_ID_ERRORMSG_SEQUENCE 42
-#define PROPERTY_ID_HY010 43
-#define PROPERTY_ID_HY0000 44
-#define PROPERTY_ID_DELIMITER 45
-#define PROPERTY_ID_FORMATKEY 46
-#define PROPERTY_ID_LOCALE 47
-#define PROPERTY_ID_IM001 48
-
-#define PROPERTY_ID_AUTOINCREMENTCREATION 49
-
-#define PROPERTY_ID_PRIVILEGES 50
+#define PROPERTY_ID_ERRORMSG_SEQUENCE 41
+#define PROPERTY_ID_HY010 42
+#define PROPERTY_ID_HY0000 43
+#define PROPERTY_ID_DELIMITER 44
+#define PROPERTY_ID_FORMATKEY 45
+#define PROPERTY_ID_LOCALE 46
+
+#define PROPERTY_ID_AUTOINCREMENTCREATION 47
+
+#define PROPERTY_ID_PRIVILEGES 48
#endif // INCLUDED_EXAMPLES_DATABASE_DRIVERSKELETON_PROPERTYIDS_HXX