diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-11-25 15:14:22 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-11-25 18:09:38 +0100 |
commit | 19576d843af13df618bad500d2e92cf9bca0a062 (patch) | |
tree | 4bd19e1b7463448865eac5debc8a667db0b7d7f8 /include | |
parent | 501ae485c7c5f7629f190755f8d1537cfe5a3d4d (diff) |
svx: add debug printing of SvxColumnDescription
Change-Id: I009e3a506d9b3418215341cb7f3e232e7fcfa04b
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/rulritem.hxx | 10 |
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; |