From 92928f99f83f453a00de4f6c41ca0daa7d37f7d4 Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Thu, 13 Mar 2014 15:57:33 +0100 Subject: add some debug helpers Change-Id: I03d8baab55548fde1e34b55927fd5dcf9cff58a9 --- chart2/source/view/main/DummyXShape.cxx | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'chart2') diff --git a/chart2/source/view/main/DummyXShape.cxx b/chart2/source/view/main/DummyXShape.cxx index 5a817a435b69..3d24fcd27a99 100644 --- a/chart2/source/view/main/DummyXShape.cxx +++ b/chart2/source/view/main/DummyXShape.cxx @@ -48,6 +48,22 @@ namespace chart { namespace dummy { +#if 0 + +std::ostream& operator<<(std::ostream& rStrm, const awt::Point& rPoint) +{ + rStrm << rPoint.X << "," << rPoint.Y; + return rStrm; +} + +std::ostream& operator<<(std::ostream& rStrm, const awt::Size& rSize) +{ + rStrm << rSize.Width << "," << rSize.Height; + return rStrm; +} + +#endif + bool TextCache::hasEntry(const TextCacheKey& rKey) { return maCache.find(rKey) != maCache.end(); -- cgit