summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/svx/svdobj.hxx2
-rw-r--r--include/svx/svdoedge.hxx2
2 files changed, 4 insertions, 0 deletions
diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx
index 0b1e5c3a832b..2d3dd91f90c0 100644
--- a/include/svx/svdobj.hxx
+++ b/include/svx/svdobj.hxx
@@ -911,6 +911,8 @@ public:
void setSuitableOutlinerBg(Outliner& rOutliner) const;
+ virtual bool IsSdrEdgeObj() const { return false; }
+
protected:
tools::Rectangle aOutRect; // surrounding rectangle for Paint (incl. LineWidth, ...)
Point aAnchor; // anchor position (Writer)
diff --git a/include/svx/svdoedge.hxx b/include/svx/svdoedge.hxx
index 16127d914ec8..f2b707f7fbe2 100644
--- a/include/svx/svdoedge.hxx
+++ b/include/svx/svdoedge.hxx
@@ -168,6 +168,8 @@ public:
void SetSuppressDefaultConnect(bool bNew) { mbSuppressDefaultConnect = bNew; }
bool GetSuppressDefaultConnect() const { return mbSuppressDefaultConnect; }
+ virtual bool IsSdrEdgeObj() const override { return true; }
+
protected:
virtual void Notify(SfxBroadcaster& rBC, const SfxHint& rHint) override;