summaryrefslogtreecommitdiff
path: root/sd/source/ui/animations/motionpathtag.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/animations/motionpathtag.cxx')
-rw-r--r--sd/source/ui/animations/motionpathtag.cxx16
1 files changed, 16 insertions, 0 deletions
diff --git a/sd/source/ui/animations/motionpathtag.cxx b/sd/source/ui/animations/motionpathtag.cxx
index 53f141e80c76..3021c6616796 100644
--- a/sd/source/ui/animations/motionpathtag.cxx
+++ b/sd/source/ui/animations/motionpathtag.cxx
@@ -67,6 +67,8 @@ namespace sd
const sal_uInt32 SMART_TAG_HDL_NUM = SAL_MAX_UINT32;
static const int DRGPIX = 2; // Drag MinMove in Pixel
+namespace {
+
class PathDragMove : public SdrDragMove
{
private:
@@ -97,6 +99,8 @@ public:
rtl::Reference <MotionPathTag > mxTag;
};
+}
+
void PathDragMove::createSdrDragEntries()
{
// call parent
@@ -130,6 +134,8 @@ bool PathDragMove::EndSdrDrag(bool /*bCopy*/)
return true;
}
+namespace {
+
class PathDragResize : public SdrDragResize
{
private:
@@ -158,6 +164,8 @@ public:
rtl::Reference <MotionPathTag > mxTag;
};
+}
+
void PathDragResize::createSdrDragEntries()
{
// call parent
@@ -189,6 +197,8 @@ bool PathDragResize::EndSdrDrag(bool /*bCopy*/)
return true;
}
+namespace {
+
class PathDragObjOwn : public SdrDragObjOwn
{
private:
@@ -212,6 +222,8 @@ public:
virtual bool EndSdrDrag(bool bCopy) override;
};
+}
+
void PathDragObjOwn::createSdrDragEntries()
{
// call parent
@@ -241,6 +253,8 @@ bool PathDragObjOwn::EndSdrDrag(bool /*bCopy*/)
}
}
+namespace {
+
class SdPathHdl : public SmartHdl
{
public:
@@ -253,6 +267,8 @@ private:
SdrPathObj* const mpPathObj;
};
+}
+
SdPathHdl::SdPathHdl( const SmartTagReference& xTag, SdrPathObj* pPathObj )
: SmartHdl( xTag, pPathObj->GetCurrentBoundRect().TopLeft(), SdrHdlKind::SmartTag )
, mpPathObj( pPathObj )