svx: add class "ONeutralParseContext"
commitb36b4910301470f861e3b7a80683cf3fa4c390c5
authorHenry Castro <hcastro@collabora.com>
Wed, 30 Aug 2023 14:16:37 +0000 (30 10:16 -0400)
committerAron Budea <aron.budea@collabora.com>
Fri, 1 Sep 2023 21:17:45 +0000 (1 23:17 +0200)
tree7a198fec3f143ab1c2fda17b287cf15c7d15f198
parent46a481772040063a4207a6ec691d8ddb9529108d
svx: add class "ONeutralParseContext"

If Base SQL query:

SELECT COUNT("test"."id") FROM Test

Then changed to Spanish interface, it is required
to have a neutral keyword localized, the "COUNT"
will fail to detect column type, because the keyword
in Spanish is "RECUENTO"

Signed-off-by: Henry Castro <hcastro@collabora.com>
Change-Id: I191b9591ad796d0dd9509c0fb10b11c16f72e1ce
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156296
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
(cherry picked from commit 091d74c16e33a1c4cf3e456363965528392f7033)
include/svx/ParseContext.hxx
svx/source/form/ParseContext.cxx