summaryrefslogtreecommitdiffstats
path: root/chart2/source/view/main/VLegend.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/view/main/VLegend.cxx')
-rw-r--r--chart2/source/view/main/VLegend.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/chart2/source/view/main/VLegend.cxx b/chart2/source/view/main/VLegend.cxx
index 42ca62a9a17e..0228d2fe9480 100644
--- a/chart2/source/view/main/VLegend.cxx
+++ b/chart2/source/view/main/VLegend.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: VLegend.cxx,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: bm $ $Date: 2003-10-17 12:39:01 $
+ * last change: $Author: bm $ $Date: 2003-10-17 14:50:29 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -323,7 +323,8 @@ void lcl_getLegendEntries(
// set character properties
::chart::PropertyMapper::setMultiProperties(
- rProperties.first, rProperties.second, xEntry );
+ rProperties.first, rProperties.second,
+ uno::Reference< beans::XPropertySet >( xEntry,uno::UNO_QUERY ) );
// adapt min-/max-extent
awt::Size aEntrySize( xEntry->getSize() );
@@ -577,7 +578,8 @@ void VLegend::createShapes(
// apply legend properties
PropertyMapper::setMultiProperties(
- aLineFillProperties.first, aLineFillProperties.second, xBorder );
+ aLineFillProperties.first, aLineFillProperties.second,
+ uno::Reference< beans::XPropertySet >( xBorder, uno::UNO_QUERY ));
}
// create entries