summaryrefslogtreecommitdiffstats
path: root/reportdesign/inc/RptObject.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/inc/RptObject.hxx')
-rw-r--r--reportdesign/inc/RptObject.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/reportdesign/inc/RptObject.hxx b/reportdesign/inc/RptObject.hxx
index 732d70947654..db60d2ba9ff8 100644
--- a/reportdesign/inc/RptObject.hxx
+++ b/reportdesign/inc/RptObject.hxx
@@ -83,7 +83,7 @@ protected:
/** called by instances of derived classes to implement their overriding of getUnoShape
*/
- css::uno::Reference< css::uno::XInterface >
+ css::uno::Reference< css::drawing::XShape >
getUnoShapeOf( SdrObject& _rSdrObject );
private:
@@ -138,12 +138,12 @@ public:
virtual css::uno::Reference< css::beans::XPropertySet> getAwtComponent() override;
- virtual css::uno::Reference< css::uno::XInterface > getUnoShape() override;
+ virtual css::uno::Reference< css::drawing::XShape > getUnoShape() override;
virtual SdrObjKind GetObjIdentifier() const override;
virtual SdrInventor GetObjInventor() const override;
private:
- virtual void impl_setUnoShape( const css::uno::Reference< css::uno::XInterface >& rxUnoShape ) override;
+ virtual void impl_setUnoShape( const css::uno::Reference< css::drawing::XShape >& rxUnoShape ) override;
OCustomShape(
SdrModel& rSdrModel,
@@ -183,7 +183,7 @@ public:
virtual css::uno::Reference< css::beans::XPropertySet> getAwtComponent() override;
- virtual css::uno::Reference< css::uno::XInterface > getUnoShape() override;
+ virtual css::uno::Reference< css::drawing::XShape > getUnoShape() override;
virtual SdrObjKind GetObjIdentifier() const override;
virtual SdrInventor GetObjInventor() const override;
// Clone() should make a complete copy of the object.
@@ -212,7 +212,7 @@ private:
virtual SdrPage* GetImplPage() const override;
void impl_createDataProvider_nothrow( const css::uno::Reference< css::frame::XModel>& _xModel);
- virtual void impl_setUnoShape( const css::uno::Reference< css::uno::XInterface >& rxUnoShape ) override;
+ virtual void impl_setUnoShape( const css::uno::Reference< css::drawing::XShape >& rxUnoShape ) override;
SdrObjKind m_nType;
bool m_bOnlyOnce;
@@ -266,13 +266,13 @@ public:
static OUString GetDefaultName(const OUnoObject* _pObj);
- virtual css::uno::Reference< css::uno::XInterface > getUnoShape() override;
+ virtual css::uno::Reference< css::drawing::XShape > getUnoShape() override;
virtual SdrObjKind GetObjIdentifier() const override;
virtual SdrInventor GetObjInventor() const override;
virtual OUnoObject* CloneSdrObject(SdrModel& rTargetModel) const override;
private:
- virtual void impl_setUnoShape( const css::uno::Reference< css::uno::XInterface >& rxUnoShape ) override;
+ virtual void impl_setUnoShape( const css::uno::Reference< css::drawing::XShape >& rxUnoShape ) override;
void impl_initializeModel_nothrow();
};