debug mode is OSL_DEBUG_LEVEL > 0, not > 1

Change-Id: I39465b1b22a537de95db9f65b04ecf4bce667d0c
This commit is contained in:
Lionel Elie Mamane 2013-11-30 11:55:26 +01:00
parent c0285abc4b
commit 3a89da0b66

View File

@ -65,7 +65,7 @@ namespace connectivity
const sal_Unicode cDecimalDelimiter, const sal_Unicode cThousandDelimiter, const CharClass& aCharClass);
OFlatConnection* getFlatConnection()
{
#if OSL_DEBUG_LEVEL>1
#if OSL_DEBUG_LEVEL > 0
OFlatConnection* pConnection = dynamic_cast<OFlatConnection*>(m_pConnection);
assert(pConnection);
#else