summaryrefslogtreecommitdiff
path: root/drawinglayer/source/primitive2d/helplineprimitive2d.cxx
diff options
context:
space:
mode:
authorArmin Le Grand <Armin.Le.Grand@Sun.COM>2009-09-15 16:06:13 +0200
committerArmin Le Grand <Armin.Le.Grand@Sun.COM>2009-09-15 16:06:13 +0200
commita38342aa7ff93dbf1e3432d42afecac778eb80a1 (patch)
tree6ce398b94ef4a45fdc5a2e7a1e2830e0d89fb860 /drawinglayer/source/primitive2d/helplineprimitive2d.cxx
parentd1886d07b439e7197f731c9d98c0b2ec31c62faa (diff)
#i97509# seperated base and buffered classes for 2D and 3D, adapted aqll usages
Diffstat (limited to 'drawinglayer/source/primitive2d/helplineprimitive2d.cxx')
-rw-r--r--drawinglayer/source/primitive2d/helplineprimitive2d.cxx16
1 files changed, 8 insertions, 8 deletions
diff --git a/drawinglayer/source/primitive2d/helplineprimitive2d.cxx b/drawinglayer/source/primitive2d/helplineprimitive2d.cxx
index 3232e635b561..e676bc9764f8 100644
--- a/drawinglayer/source/primitive2d/helplineprimitive2d.cxx
+++ b/drawinglayer/source/primitive2d/helplineprimitive2d.cxx
@@ -54,9 +54,9 @@ namespace drawinglayer
{
namespace primitive2d
{
- Primitive2DSequence HelplinePrimitive2D::createLocalDecomposition(const geometry::ViewInformation2D& rViewInformation) const
+ Primitive2DSequence HelplinePrimitive2D::createLocal2DDecomposition(const geometry::ViewInformation2D& rViewInformation) const
{
- std::vector< BasePrimitive2D* > aTempPrimitiveTarget;
+ std::vector< BufDecPrimitive2D* > aTempPrimitiveTarget;
if(!rViewInformation.getViewport().isEmpty() && !getDirection().equalZero())
{
@@ -167,7 +167,7 @@ namespace drawinglayer
const basegfx::BColor& rRGBColA,
const basegfx::BColor& rRGBColB,
double fDiscreteDashLength)
- : BasePrimitive2D(),
+ : BufDecPrimitive2D(),
maPosition(rPosition),
maDirection(rDirection),
meStyle(eStyle),
@@ -181,7 +181,7 @@ namespace drawinglayer
bool HelplinePrimitive2D::operator==(const BasePrimitive2D& rPrimitive) const
{
- if(BasePrimitive2D::operator==(rPrimitive))
+ if(BufDecPrimitive2D::operator==(rPrimitive))
{
const HelplinePrimitive2D& rCompare = (HelplinePrimitive2D&)rPrimitive;
@@ -200,16 +200,16 @@ namespace drawinglayer
{
::osl::MutexGuard aGuard( m_aMutex );
- if(getLocalDecomposition().hasElements())
+ if(getLocal2DDecomposition().hasElements())
{
if(maLastViewport != rViewInformation.getViewport() || maLastObjectToViewTransformation != rViewInformation.getObjectToViewTransformation())
{
// conditions of last local decomposition have changed, delete
- const_cast< HelplinePrimitive2D* >(this)->setLocalDecomposition(Primitive2DSequence());
+ const_cast< HelplinePrimitive2D* >(this)->setLocal2DDecomposition(Primitive2DSequence());
}
}
- if(!getLocalDecomposition().hasElements())
+ if(!getLocal2DDecomposition().hasElements())
{
// remember ViewRange and ViewTransformation
const_cast< HelplinePrimitive2D* >(this)->maLastObjectToViewTransformation = rViewInformation.getObjectToViewTransformation();
@@ -217,7 +217,7 @@ namespace drawinglayer
}
// use parent implementation
- return BasePrimitive2D::get2DDecomposition(rViewInformation);
+ return BufDecPrimitive2D::get2DDecomposition(rViewInformation);
}
// provide unique ID