summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-05-10 16:17:27 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-05-10 16:17:27 +0000
commited93e87acb61ec5ad3774922b57d14832193bbdb (patch)
tree096b2ae37897d36b95a0b679fb63f6bf17e380c4 /chart2
parent323a4fe460bb3f38c14e28f91c16f4b960c7150e (diff)
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
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/model/main/ChartModel.cxx14
1 files changed, 11 insertions, 3 deletions
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
+