summaryrefslogtreecommitdiff
path: root/sw/source/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-05 15:19:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-05 15:19:30 +0100
commitbb79d6edf016bc6146d3509d40cb78ba9c080ff9 (patch)
tree03a174688829dfe9c17a1799f71f86f96a7bbaca /sw/source/filter
parent2c097965478f2544735b09294405ff8de83902fe (diff)
stick these behind OSL_DEBUG_LEVEL > 1
Diffstat (limited to 'sw/source/filter')
-rw-r--r--sw/source/filter/ww8/WW8TableInfo.cxx7
-rw-r--r--sw/source/filter/ww8/WW8TableInfo.hxx6
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 = "<WW8TableCellGrid>";
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);