[Libreoffice-commits] .: drawinglayer/inc
Noel Power
noelp at kemper.freedesktop.org
Tue Apr 5 08:29:41 PDT 2011
drawinglayer/inc/drawinglayer/processor2d/baseprocessor2d.hxx | 38 ----------
1 file changed, 38 deletions(-)
New commits:
commit 7cb146e9c0eeb9154bb5f4b307a8438e72439745
Author: Noel Power <noel.power at novell.com>
Date: Mon Apr 4 06:20:07 2011 +0100
fix windows link error in drawinglayer
remove the unused CollectingProcessor2 class
diff --git a/drawinglayer/inc/drawinglayer/processor2d/baseprocessor2d.hxx b/drawinglayer/inc/drawinglayer/processor2d/baseprocessor2d.hxx
index 7592f07..df9045d 100644
--- a/drawinglayer/inc/drawinglayer/processor2d/baseprocessor2d.hxx
+++ b/drawinglayer/inc/drawinglayer/processor2d/baseprocessor2d.hxx
@@ -200,44 +200,6 @@ namespace drawinglayer
//////////////////////////////////////////////////////////////////////////////
-namespace drawinglayer
-{
- namespace processor2d
- {
- /** CollectingProcessor2D class
-
- A processor which just collects all primitives given to it in
- process(..) calls to maPrimitive2DSequence. This can e.g. be used to
- hand around as instance over various methods where every called
- method can add graphic content to it.
- */
- class DRAWINGLAYER_DLLPUBLIC CollectingProcessor2D : public BaseProcessor2D
- {
- private:
- primitive2d::Primitive2DSequence maPrimitive2DSequence;
-
- public:
- CollectingProcessor2D(const geometry::ViewInformation2D& rViewInformation);
- virtual ~CollectingProcessor2D();
-
- /// the central processing method
- virtual void process(const primitive2d::Primitive2DSequence& rSource);
-
- /// helpers for adding to local sequence
- void appendPrimitive2DReference(const primitive2d::Primitive2DReference& rSource)
- {
- primitive2d::appendPrimitive2DReferenceToPrimitive2DSequence(maPrimitive2DSequence, rSource);
- }
-
- /// data access and reset
- const primitive2d::Primitive2DSequence& getPrimitive2DSequence() const { return maPrimitive2DSequence; }
- void reset() { maPrimitive2DSequence = primitive2d::Primitive2DSequence(); }
- };
- } // end of namespace processor2d
-} // end of namespace drawinglayer
-
-//////////////////////////////////////////////////////////////////////////////
-
#endif //INCLUDED_DRAWINGLAYER_PROCESSOR2D_BASEPROCESSOR2D_HXX
// eof
More information about the Libreoffice-commits
mailing list