summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-11-25 15:14:22 +0100
committerMichael Stahl <mstahl@redhat.com>2014-11-25 18:14:19 +0100
commit74b5a0e2c4f54f97bbbc53170fa9bfc033261f58 (patch)
tree4484101e9155e2a39300ffa5e96d8275b171d501 /include
parenta6b8f5a4541f2dc6375c0c449b9bc83235ed4193 (diff)
svx: add debug printing of SvxColumnDescription
Change-Id: I009e3a506d9b3418215341cb7f3e232e7fcfa04b (cherry picked from commit 19576d843af13df618bad500d2e92cf9bca0a062)
Diffstat (limited to 'include')
-rw-r--r--include/svx/rulritem.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/svx/rulritem.hxx b/include/svx/rulritem.hxx
index 9671f858a1b7..a114e2a07642 100644
--- a/include/svx/rulritem.hxx
+++ b/include/svx/rulritem.hxx
@@ -146,6 +146,16 @@ struct SVX_DLLPUBLIC SvxColumnDescription
long GetWidth() const;
};
+template<typename charT, typename traits>
+inline std::basic_ostream<charT, traits> & operator <<(
+ std::basic_ostream<charT, traits> & stream, SvxColumnDescription const& dsc)
+{
+ return stream << "{ nStart " << dsc.nStart << " nEnd " << dsc.nEnd
+ << " bVisible " << dsc.bVisible << " nEndMin " << dsc.nEndMin
+ << " nEndMax " << dsc.nEndMax << " }";
+}
+
+
class SVX_DLLPUBLIC SvxColumnItem : public SfxPoolItem
{
typedef std::vector<SvxColumnDescription> SvxColumnDescriptionVector;