From bb79d6edf016bc6146d3509d40cb78ba9c080ff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Mon, 5 Sep 2011 15:19:30 +0100 Subject: [PATCH] stick these behind OSL_DEBUG_LEVEL > 1 --- sw/source/filter/ww8/WW8TableInfo.cxx | 7 ++++--- sw/source/filter/ww8/WW8TableInfo.hxx | 6 ++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/sw/source/filter/ww8/WW8TableInfo.cxx b/sw/source/filter/ww8/WW8TableInfo.cxx index 11e7405b7a4a..7b20f601461a 100644 --- a/sw/source/filter/ww8/WW8TableInfo.cxx +++ b/sw/source/filter/ww8/WW8TableInfo.cxx @@ -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 = ""; diff --git a/sw/source/filter/ww8/WW8TableInfo.hxx b/sw/source/filter/ww8/WW8TableInfo.hxx index 0fc9b2c6e63e..e93401d649b8 100644 --- a/sw/source/filter/ww8/WW8TableInfo.hxx +++ b/sw/source/filter/ww8/WW8TableInfo.hxx @@ -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);