[Libreoffice-commits] .: sw/source

Caolán McNamara caolan at kemper.freedesktop.org
Mon Sep 5 07:20:25 PDT 2011


 sw/source/filter/ww8/WW8TableInfo.cxx |    7 ++++---
 sw/source/filter/ww8/WW8TableInfo.hxx |    6 ++++--
 2 files changed, 8 insertions(+), 5 deletions(-)

New commits:
commit bb79d6edf016bc6146d3509d40cb78ba9c080ff9
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Sep 5 15:19:30 2011 +0100

    stick these behind OSL_DEBUG_LEVEL > 1

diff --git a/sw/source/filter/ww8/WW8TableInfo.cxx b/sw/source/filter/ww8/WW8TableInfo.cxx
index 11e7405..7b20f60 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 0fc9b2c..e93401d 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);


More information about the Libreoffice-commits mailing list