From ed93e87acb61ec5ad3774922b57d14832193bbdb Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Mon, 10 May 2004 16:17:27 +0000
Subject: INTEGRATION: CWS fwkbugfix02 (1.6.12); FILE MERGED 2004/04/30
08:12:03 mav 1.6.12.2: #116056# interfaces review 2004/04/20 07:41:16 mav
1.6.12.1: #116056# interfaces review
---
chart2/source/model/main/ChartModel.cxx | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
(limited to 'chart2')
diff --git a/chart2/source/model/main/ChartModel.cxx b/chart2/source/model/main/ChartModel.cxx
index adb2cdd1b93b..499f164396cc 100644
--- a/chart2/source/model/main/ChartModel.cxx
+++ b/chart2/source/model/main/ChartModel.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ChartModel.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: bm $ $Date: 2004-01-28 10:32:04 $
+ * last change: $Author: hr $ $Date: 2004-05-10 17:17:27 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1217,7 +1217,7 @@ void SAL_CALL ChartModel::saveObject()
}
}
-void SAL_CALL ChartModel::onShowWindow( sal_Bool bVisible )
+void SAL_CALL ChartModel::visibilityChanged( sal_Bool bVisible )
throw (embed::WrongStateException,
uno::RuntimeException)
{
@@ -1227,4 +1227,12 @@ void SAL_CALL ChartModel::onShowWindow( sal_Bool bVisible )
}
}
+uno::Reference< util::XCloseable > SAL_CALL ChartModel::getComponent()
+ throw (uno::RuntimeException)
+{
+ // the method should return the model of the container, for this implementation it means itself
+ return uno::Reference< util::XCloseable >( static_cast< ::cppu::OWeakObject* >( this ), uno::UNO_QUERY );
+}
+
} // namespace chart
+
--
cgit