[Libreoffice-commits] .: sd/inc sd/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Wed May 25 12:52:52 PDT 2011
sd/inc/pglink.hxx | 4 ++--
sd/source/core/pglink.cxx | 5 +++--
2 files changed, 5 insertions(+), 4 deletions(-)
New commits:
commit 47a7132eb0fdc909f5b51eb87c667e5e11e01717
Author: Kohei Yoshida <kyoshida at novell.com>
Date: Thu Apr 21 14:30:12 2011 -0400
Adjust for change in SvBaseLink.
diff --git a/sd/inc/pglink.hxx b/sd/inc/pglink.hxx
index a6f58b6..cd91198 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 aa3e251..d02f551 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;
}
/*************************************************************************
More information about the Libreoffice-commits
mailing list