WaE: OUString::valueOf in higher debug levels

Change-Id: I2aed7907c79905158714dc1b26ae1aefc1fcccc6
This commit is contained in:
Caolán McNamara
2013-08-24 20:17:20 +01:00
parent d6985964bc
commit 81e0c2c38c
3 changed files with 8 additions and 8 deletions

View File

@@ -148,7 +148,7 @@ namespace dbaui
if (!_pNode->isToken())
{
// rule name as rule: ...
rString = "RULE_ID: " + OUString::valueOf( (sal_Int32)_pNode->getRuleID() ) +
rString = "RULE_ID: " + OUString::number( (sal_Int32)_pNode->getRuleID() ) +
"(" + OSQLParser::RuleIDToStr(_pNode->getRuleID()) + ")";

View File

@@ -229,9 +229,9 @@ OUString BrowseBox::GetAccessibleObjectName( ::svt::AccessibleBrowseBoxObjType e
aRetText = OUString( "TableCell" );
#if OSL_DEBUG_LEVEL > 1
aRetText += " [";
aRetText += OUString::valueOf(sal_Int32(GetCurRow()));
aRetText += OUString::number(sal_Int32(GetCurRow()));
aRetText += ",";
aRetText += OUString::valueOf(sal_Int32(GetCurColumnId()));
aRetText += OUString::number(sal_Int32(GetCurColumnId()));
aRetText += "]";
#endif
break;
@@ -239,9 +239,9 @@ OUString BrowseBox::GetAccessibleObjectName( ::svt::AccessibleBrowseBoxObjType e
aRetText = OUString( "RowHeaderCell" );
#if OSL_DEBUG_LEVEL > 1
aRetText += " [";
aRetText += OUString::valueOf(sal_Int32(GetCurRow()));
aRetText += OUString::number(sal_Int32(GetCurRow()));
aRetText += ",";
aRetText += OUString::valueOf(sal_Int32(GetCurColumnId()));
aRetText += OUString::number(sal_Int32(GetCurColumnId()));
aRetText += "]";
#endif
break;
@@ -249,9 +249,9 @@ OUString BrowseBox::GetAccessibleObjectName( ::svt::AccessibleBrowseBoxObjType e
aRetText = OUString( "ColumnHeaderCell" );
#if OSL_DEBUG_LEVEL > 1
aRetText += " [";
aRetText += OUString::valueOf(sal_Int32(GetCurRow()));
aRetText += OUString::number(sal_Int32(GetCurRow()));
aRetText += ",";
aRetText += OUString::valueOf(sal_Int32(GetCurColumnId()));
aRetText += OUString::number(sal_Int32(GetCurColumnId()));
aRetText += "]";
#endif
break;

View File

@@ -281,7 +281,7 @@ uno::Reference< xml::sax::XFastContextHandler > SAL_CALL
debug_logger->startElement("contexthandler.createFastChildContext");
debug_logger->attribute("token", fastTokenToId(Element));
debug_logger->attribute("type", getType());
debug_logger->attribute("discard-children", OUString::valueOf(m_bDiscardChildren));
debug_logger->attribute("discard-children", OUString::number(m_bDiscardChildren));
#endif
uno::Reference< xml::sax::XFastContextHandler > xResult;