summaryrefslogtreecommitdiff
path: root/sd/source/core/pglink.cxx
diff options
context:
space:
mode:
authorjp <jp@openoffice.org>2001-03-08 20:00:07 +0000
committerjp <jp@openoffice.org>2001-03-08 20:00:07 +0000
commitf1c94a32c57a8021612fb67c738e7eabd4c58474 (patch)
tree7572cb7b85511ac53889889c94ab0aa028398b72 /sd/source/core/pglink.cxx
parenta5a7e06dfae889654e1091e77713895c617fee24 (diff)
change: old data transfer API to the new
Diffstat (limited to 'sd/source/core/pglink.cxx')
-rw-r--r--sd/source/core/pglink.cxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/sd/source/core/pglink.cxx b/sd/source/core/pglink.cxx
index 747f4f7365d1..8912ff08b1f4 100644
--- a/sd/source/core/pglink.cxx
+++ b/sd/source/core/pglink.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: pglink.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-19 00:16:46 $
+ * last change: $Author: jp $ $Date: 2001-03-08 20:54:22 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -78,7 +78,7 @@
SdPageLink::SdPageLink(SdPage* pPg, const String& rFileName,
const String& rBookmarkName) :
- SvBaseLink(LINKUPDATE_ONCALL, FORMAT_FILE),
+ ::so3::SvBaseLink(LINKUPDATE_ONCALL, FORMAT_FILE),
pPage(pPg)
{
pPage->SetFileName(rFileName);
@@ -103,7 +103,8 @@ __EXPORT SdPageLink::~SdPageLink()
|*
\************************************************************************/
-void __EXPORT SdPageLink::DataChanged(SvData& rData)
+void __EXPORT SdPageLink::DataChanged( const String& ,
+ const ::com::sun::star::uno::Any& )
{
SdDrawDocument* pDoc = (SdDrawDocument*) pPage->GetModel();
SvxLinkManager* pLinkManager = pDoc!=NULL ? pDoc->GetLinkManager() : NULL;
@@ -117,7 +118,7 @@ void __EXPORT SdPageLink::DataChanged(SvData& rData)
String aFileName;
String aBookmarkName;
String aFilterName;
- pLinkManager->GetDisplayNames(*this,0, &aFileName, &aBookmarkName,
+ pLinkManager->GetDisplayNames( this,0, &aFileName, &aBookmarkName,
&aFilterName);
pPage->SetFileName(aFileName);
pPage->SetBookmarkName(aBookmarkName);