diff options
Diffstat (limited to 'include/sfx2/lnkbase.hxx')
-rw-r--r-- | include/sfx2/lnkbase.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sfx2/lnkbase.hxx b/include/sfx2/lnkbase.hxx index ad5c7c3eebd8..6c81fff9b2de 100644 --- a/include/sfx2/lnkbase.hxx +++ b/include/sfx2/lnkbase.hxx @@ -105,7 +105,7 @@ protected: { if( !xObj.Is() ) GetRealObject_(); - return xObj; + return xObj.get(); } public: @@ -120,7 +120,7 @@ public: sal_uInt16 GetObjType() const { return nObjType; } void SetObj( SvLinkSource * pObj ); - SvLinkSource* GetObj() const { return xObj; } + SvLinkSource* GetObj() const { return xObj.get(); } void SetLinkSourceName( const OUString & rName ); const OUString& GetLinkSourceName() const { return aLinkName;} |