summaryrefslogtreecommitdiff
path: root/sw/source/core/ole
diff options
context:
space:
mode:
authorKohei Yoshida <kyoshida@novell.com>2011-05-25 14:58:03 -0400
committerKohei Yoshida <kyoshida@novell.com>2011-05-25 15:51:36 -0400
commitc47099c9091e0b21ec1ee5b5418ca231ea45fa8d (patch)
tree8d6f35892c9f664ef341902e91ff4abe61725c8c /sw/source/core/ole
parent7f52fd7a360fb7c1ee8fca19e2c8f284c5492e3c (diff)
Adjusted for SvBaseLink change.
Diffstat (limited to 'sw/source/core/ole')
-rw-r--r--sw/source/core/ole/ndole.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/sw/source/core/ole/ndole.cxx b/sw/source/core/ole/ndole.cxx
index 910724caab8b..40eefa4b93de 100644
--- a/sw/source/core/ole/ndole.cxx
+++ b/sw/source/core/ole/ndole.cxx
@@ -169,8 +169,8 @@ public:
virtual ~SwEmbedObjectLink();
virtual void Closed();
- virtual void DataChanged( const String& rMimeType,
- const uno::Any & rValue );
+ virtual ::sfx2::SvBaseLink::UpdateResult DataChanged(
+ const String& rMimeType, const ::com::sun::star::uno::Any & rValue );
sal_Bool Connect() { return GetRealObject() != NULL; }
};
@@ -192,8 +192,8 @@ SwEmbedObjectLink::~SwEmbedObjectLink()
// -----------------------------------------------------------------------------
-void SwEmbedObjectLink::DataChanged( const String& ,
- const uno::Any & )
+::sfx2::SvBaseLink::UpdateResult SwEmbedObjectLink::DataChanged(
+ const String&, const uno::Any& )
{
if ( !pOleNode->UpdateLinkURL_Impl() )
{
@@ -222,6 +222,7 @@ void SwEmbedObjectLink::DataChanged( const String& ,
}
pOleNode->GetNewReplacement();
+ return SUCCESS;
}
// -----------------------------------------------------------------------------