summaryrefslogtreecommitdiff
path: root/sd/source/ui/annotations/annotationtag.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/annotations/annotationtag.cxx')
-rw-r--r--sd/source/ui/annotations/annotationtag.cxx8
1 files changed, 8 insertions, 0 deletions
diff --git a/sd/source/ui/annotations/annotationtag.cxx b/sd/source/ui/annotations/annotationtag.cxx
index bbec5d9223c6..098a2a816cd7 100644
--- a/sd/source/ui/annotations/annotationtag.cxx
+++ b/sd/source/ui/annotations/annotationtag.cxx
@@ -86,6 +86,8 @@ static OUString getInitials( const OUString& rName )
return sInitials.makeStringAndClear();
}
+namespace {
+
class AnnotationDragMove : public SdrDragMove
{
public:
@@ -100,6 +102,8 @@ private:
Point maOrigin;
};
+}
+
AnnotationDragMove::AnnotationDragMove(SdrDragView& rNewView, const rtl::Reference <AnnotationTag >& xTag)
: SdrDragMove(rNewView)
, mxTag( xTag )
@@ -147,6 +151,8 @@ void AnnotationDragMove::CancelSdrDrag()
Hide();
}
+namespace {
+
class AnnotationHdl : public SmartHdl
{
public:
@@ -160,6 +166,8 @@ private:
rtl::Reference< AnnotationTag > mxTag;
};
+}
+
AnnotationHdl::AnnotationHdl( const SmartTagReference& xTag, const Reference< XAnnotation >& xAnnotation, const Point& rPnt )
: SmartHdl( xTag, rPnt, SdrHdlKind::SmartTag )
, mxAnnotation( xAnnotation )