diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-11-18 12:07:01 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-11-19 21:11:01 +0000 |
commit | 217046eb3445ebbcb8fe6801beb2f9c15d6894c0 (patch) | |
tree | ec9efc7820b24009e3c8ca7104350e0d7417a40c /connectivity/source/parse | |
parent | make workben example build again (diff) | |
download | core-217046eb3445ebbcb8fe6801beb2f9c15d6894c0.tar.gz core-217046eb3445ebbcb8fe6801beb2f9c15d6894c0.zip |
only used with higher debug level
Diffstat (limited to 'connectivity/source/parse')
-rwxr-xr-x | connectivity/source/parse/sqlbison.y | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/connectivity/source/parse/sqlbison.y b/connectivity/source/parse/sqlbison.y index 41da5b07091d..062b46cdd022 100755 --- a/connectivity/source/parse/sqlbison.y +++ b/connectivity/source/parse/sqlbison.y @@ -4723,12 +4723,13 @@ OSQLParseNode* OSQLParser::parseTree(::rtl::OUString& rErrorMessage, return aStr; } -//----------------------------------------------------------------------------- +#if OSL_DEBUG_LEVEL > 1 ::rtl::OUString OSQLParser::RuleIDToStr(sal_uInt32 nRuleID) { OSL_ENSURE(nRuleID < SAL_N_ELEMENTS(yytname), "OSQLParser::RuleIDToStr: Invalid nRuleId!"); return ::rtl::OUString::createFromAscii(yytname[nRuleID]); } +#endif //----------------------------------------------------------------------------- sal_uInt32 OSQLParser::StrToRuleID(const ::rtl::OString & rValue) |