summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--connectivity/source/parse/sqlbison.y49
1 files changed, 31 insertions, 18 deletions
diff --git a/connectivity/source/parse/sqlbison.y b/connectivity/source/parse/sqlbison.y
index ec236de75d1f..ae793e821d1d 100644
--- a/connectivity/source/parse/sqlbison.y
+++ b/connectivity/source/parse/sqlbison.y
@@ -58,26 +58,17 @@
# pragma GCC diagnostic ignored "-Wunused-function"
#endif
-static connectivity::OSQLInternalNode* newNode(const sal_Char* pNewValue,
- const connectivity::SQLNodeType eNodeType,
- const sal_uInt32 nNodeID = 0)
-{
- return new connectivity::OSQLInternalNode(pNewValue, eNodeType, nNodeID);
-}
+inline connectivity::OSQLInternalNode* newNode(const sal_Char* pNewValue,
+ const connectivity::SQLNodeType eNodeType,
+ const sal_uInt32 nNodeID = 0);
-static connectivity::OSQLInternalNode* newNode(const ::rtl::OString& _NewValue,
- const connectivity::SQLNodeType eNodeType,
- const sal_uInt32 nNodeID = 0)
-{
- return new connectivity::OSQLInternalNode(_NewValue, eNodeType, nNodeID);
-}
+inline connectivity::OSQLInternalNode* newNode(const ::rtl::OString& _NewValue,
+ const connectivity::SQLNodeType eNodeType,
+ const sal_uInt32 nNodeID = 0);
-static connectivity::OSQLInternalNode* newNode(const ::rtl::OUString& _NewValue,
- const connectivity::SQLNodeType eNodeType,
- const sal_uInt32 nNodeID = 0)
-{
- return new connectivity::OSQLInternalNode(_NewValue, eNodeType, nNodeID);
-}
+inline connectivity::OSQLInternalNode* newNode(const ::rtl::OUString& _NewValue,
+ const connectivity::SQLNodeType eNodeType,
+ const sal_uInt32 nNodeID = 0);
// yyi ist die interne Nr. der Regel, die gerade reduziert wird.
@@ -4280,6 +4271,28 @@ using namespace ::com::sun::star::util;
using namespace ::osl;
using namespace ::dbtools;
+connectivity::OSQLInternalNode* newNode(const sal_Char* pNewValue,
+ const connectivity::SQLNodeType eNodeType,
+ const sal_uInt32 nNodeID)
+{
+ return new connectivity::OSQLInternalNode(pNewValue, eNodeType, nNodeID);
+}
+
+connectivity::OSQLInternalNode* newNode(const ::rtl::OString& _NewValue,
+ const connectivity::SQLNodeType eNodeType,
+ const sal_uInt32 nNodeID)
+{
+ return new connectivity::OSQLInternalNode(_NewValue, eNodeType, nNodeID);
+}
+
+connectivity::OSQLInternalNode* newNode(const ::rtl::OUString& _NewValue,
+ const connectivity::SQLNodeType eNodeType,
+ const sal_uInt32 nNodeID)
+{
+ return new connectivity::OSQLInternalNode(_NewValue, eNodeType, nNodeID);
+}
+
+
//============================================================
//= a helper for static ascii pseudo-unicode strings
//============================================================