summaryrefslogtreecommitdiff
path: root/sw/source/core/text/porlin.hxx
diff options
context:
space:
mode:
authorFlorian Reuter <freuter@novell.com>2010-12-01 16:38:15 +0100
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2010-12-01 16:45:32 +0100
commit886918a03098888741a39a59b510f9ce258575fb (patch)
tree697b7cdd5076fbba3ee1269309d210eef9d971f7 /sw/source/core/text/porlin.hxx
parent520eb9a251e557ffbebfc79deb5ee0cb55600d9e (diff)
Added a layout dump hidden feature for dbglevel>1
Diffstat (limited to 'sw/source/core/text/porlin.hxx')
-rw-r--r--sw/source/core/text/porlin.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/sw/source/core/text/porlin.hxx b/sw/source/core/text/porlin.hxx
index 1d6fcbfa92bd..a57ab1c0e4ef 100644
--- a/sw/source/core/text/porlin.hxx
+++ b/sw/source/core/text/porlin.hxx
@@ -30,6 +30,10 @@
#include "possiz.hxx" // SwPosSize
+#if OSL_DEBUG_LEVEL > 1
+#include <libxml/xmlwriter.h>
+#endif
+
class XubString;
class SwTxtSizeInfo;
class SwTxtPaintInfo;
@@ -196,6 +200,9 @@ public:
// Accessibility: pass information about this portion to the PortionHandler
virtual void HandlePortion( SwPortionHandler& rPH ) const;
+#if OSL_DEBUG_LEVEL > 1
+ void dumpPortionAsXml(USHORT ofs, String& aText, xmlTextWriter* writer);
+#endif
OUTPUT_OPERATOR
};