diff options
author | Kohei Yoshida <kyoshida@novell.com> | 2011-04-21 14:30:12 -0400 |
---|---|---|
committer | Kohei Yoshida <kyoshida@novell.com> | 2011-05-25 15:02:08 -0400 |
commit | 9770dac1dfe25997e933b01e7a1137ec7cb3fa05 (patch) | |
tree | 23ac815d0422d3d6e180e5e3c6664ac25a3e8ad4 /sd | |
parent | baed5cf4031b93df212aca6d72968cc0f4da9c89 (diff) |
Adjust for change in SvBaseLink.
Diffstat (limited to 'sd')
-rw-r--r-- | sd/inc/pglink.hxx | 4 | ||||
-rw-r--r-- | sd/source/core/pglink.cxx | 5 |
2 files changed, 5 insertions, 4 deletions
diff --git a/sd/inc/pglink.hxx b/sd/inc/pglink.hxx index 668e59793d2b..5210751059df 100644 --- a/sd/inc/pglink.hxx +++ b/sd/inc/pglink.hxx @@ -44,8 +44,8 @@ public: virtual ~SdPageLink(); virtual void Closed(); - virtual void DataChanged( const String& , - const ::com::sun::star::uno::Any & ); + virtual ::sfx2::SvBaseLink::UpdateResult DataChanged( + const String& rMimeType, const ::com::sun::star::uno::Any & rValue ); bool Connect() { return 0 != SvBaseLink::GetRealObject(); } }; diff --git a/sd/source/core/pglink.cxx b/sd/source/core/pglink.cxx index 21263657c503..b9e9d7134504 100644 --- a/sd/source/core/pglink.cxx +++ b/sd/source/core/pglink.cxx @@ -69,8 +69,8 @@ SdPageLink::~SdPageLink() |* \************************************************************************/ -void SdPageLink::DataChanged( const String& , - const ::com::sun::star::uno::Any& ) +::sfx2::SvBaseLink::UpdateResult SdPageLink::DataChanged( + const String&, const ::com::sun::star::uno::Any& ) { SdDrawDocument* pDoc = (SdDrawDocument*) pPage->GetModel(); sfx2::LinkManager* pLinkManager = pDoc!=NULL ? pDoc->GetLinkManager() : NULL; @@ -125,6 +125,7 @@ void SdPageLink::DataChanged( const String& , pDoc->CloseBookmarkDoc(); } } + return SUCCESS; } /************************************************************************* |