From 8ceff95c69cf9bd9ff5ab3a4b5689925b8bd6a59 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 7 Jun 2024 13:47:06 +0200 Subject: Merging upstream version 4:24.2.4. Signed-off-by: Daniel Baumann --- include/svx/svdobj.hxx | 8 ++++---- include/svx/svdovirt.hxx | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) (limited to 'include/svx') diff --git a/include/svx/svdobj.hxx b/include/svx/svdobj.hxx index 892beb5666..396c09e8cd 100644 --- a/include/svx/svdobj.hxx +++ b/include/svx/svdobj.hxx @@ -752,10 +752,10 @@ public: bool IsMoveProtect() const { return m_bMovProt;} void SetResizeProtect(bool bProt); bool IsResizeProtect() const { return m_bSizProt;} - void SetPrintable(bool bPrn); - bool IsPrintable() const { return !m_bNoPrint;} - void SetVisible(bool bVisible); - bool IsVisible() const { return mbVisible;} + virtual void SetPrintable(bool isPrintable); + virtual bool IsPrintable() const; + virtual void SetVisible(bool isVisible); + virtual bool IsVisible() const; void SetMarkProtect(bool bProt); bool IsMarkProtect() const { return m_bMarkProt;} virtual bool IsSdrTextObj() const { return false; } diff --git a/include/svx/svdovirt.hxx b/include/svx/svdovirt.hxx index 17c8693130..ca5f6858ec 100644 --- a/include/svx/svdovirt.hxx +++ b/include/svx/svdovirt.hxx @@ -61,6 +61,10 @@ public: const SdrObject& GetReferencedObj() const; virtual void NbcSetAnchorPos(const Point& rAnchorPos) override; + virtual void SetPrintable(bool isPrintable) override; + virtual bool IsPrintable() const override; + virtual void SetVisible(bool isVisible) override; + virtual bool IsVisible() const override; virtual void TakeObjInfo(SdrObjTransformInfoRec& rInfo) const override; virtual SdrInventor GetObjInventor() const override; virtual SdrObjKind GetObjIdentifier() const override; -- cgit v1.2.3