stick these behind OSL_DEBUG_LEVEL > 1

This commit is contained in:
Caolán McNamara 2011-09-05 15:19:30 +01:00
parent 2c09796547
commit bb79d6edf0
2 changed files with 8 additions and 5 deletions

View file

@ -312,7 +312,8 @@ const SwRect & WW8TableNodeInfoInner::getRect() const
return maRect;
}
string WW8TableNodeInfoInner::toString() const
#if OSL_DEBUG_LEVEL > 1
::std::string WW8TableNodeInfoInner::toString() const
{
static char buffer[256];
snprintf(buffer, sizeof(buffer),
@ -333,7 +334,7 @@ string WW8TableNodeInfoInner::toString() const
return string(buffer);
}
// WW8TableTextNodeInfo
#endif
WW8TableNodeInfo::WW8TableNodeInfo(WW8TableInfo * pParent,
const SwNode * pNode)
@ -1298,7 +1299,7 @@ WW8TableNodeInfo * WW8TableCellGrid::connectCells()
}
#if OSL_DEBUG_LEVEL > 1
string WW8TableCellGrid::toString()
::std::string WW8TableCellGrid::toString()
{
string sResult = "<WW8TableCellGrid>";

View file

@ -117,7 +117,9 @@ public:
GridColsPtr getGridColsOfRow(AttributeOutputBase & rBase);
RowSpansPtr getRowSpansOfRow();
string toString() const;
#if OSL_DEBUG_LEVEL > 1
::std::string toString() const;
#endif
};
class CellInfo;
@ -248,7 +250,7 @@ public:
WW8TableNodeInfo * connectCells();
#if OSL_DEBUG_LEVEL > 1
string toString();
::std::string toString();
#endif
TableBoxVectorPtr getTableBoxesOfRow(WW8TableNodeInfoInner * pNodeInfo);