summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorBjörn Milcke <bm@openoffice.org>2003-10-16 10:29:10 +0000
committerBjörn Milcke <bm@openoffice.org>2003-10-16 10:29:10 +0000
commit26b22d47eb2504827a3157e74b3a95558714baba (patch)
tree79949aed98e333d72a0dfd04a04403bbe8f76a67 /chart2
parent8d32f42e65fe1ec2aebf28f53921fda1d3a265cd (diff)
redundant comments removed
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/view/main/VLegend.cxx9
-rw-r--r--chart2/source/view/main/VLegend.hxx6
2 files changed, 4 insertions, 11 deletions
diff --git a/chart2/source/view/main/VLegend.cxx b/chart2/source/view/main/VLegend.cxx
index 4202da35b5a9..e78d0d6a8a60 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.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: bm $ $Date: 2003-10-16 11:20:53 $
+ * last change: $Author: bm $ $Date: 2003-10-16 11:29:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -333,9 +333,7 @@ void lcl_getLegendEntries(
{
// setting initial value (otherwise (0,0) is always the minimum)
if( rOutMinExtentSoFar.Height == 0 )
- {
rOutMinExtentSoFar = aEntrySize;
- }
else
{
rOutMinExtentSoFar.Width = ::std::min( rOutMinExtentSoFar.Width, aEntrySize.Width );
@@ -372,7 +370,6 @@ void lcl_createLegend(
const sal_Int32 nXOffset = 100;
const sal_Int32 nYOffset = 100;
-// awt::Size aMaxSymbolExtent( aMaxEntryExtent.Height * 3/2, aMaxEntryExtent.Height );
awt::Size aMaxSymbolExtent( aMinEntryExtent.Height * 3/2, aMinEntryExtent.Height );
sal_Int32 nCurrentXPos = nXPadding;
sal_Int32 nCurrentYPos = nYPadding;
@@ -495,7 +492,6 @@ void lcl_createLegend(
rOutSize.Width = nCurrentXPos + nXPadding;
rOutSize.Height = nMaxYPos + nYPadding;
- // 2*nYPadding + (nMaxEntryHeight * nNumberOfRows ) - nYOffset;
}
} // anonymous namespace
@@ -508,7 +504,6 @@ namespace chart
VLegend::VLegend(
const uno::Reference< chart2::XLegend > & xLegend ) :
m_xLegend( xLegend )
-// m_aMaxSize( -1, -1 )
{
}
diff --git a/chart2/source/view/main/VLegend.hxx b/chart2/source/view/main/VLegend.hxx
index 0655a9970d22..b20575fb0df0 100644
--- a/chart2/source/view/main/VLegend.hxx
+++ b/chart2/source/view/main/VLegend.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: VLegend.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: bm $ $Date: 2003-10-14 17:17:17 $
+ * last change: $Author: bm $ $Date: 2003-10-16 11:29:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -102,8 +102,6 @@ public:
void createShapes( const ::com::sun::star::awt::Size & rAvailableSpace );
-// void setMaxSize( const ::com::sun::star::awt::Size & rSize );
-
void changePosition( const ::com::sun::star::awt::Point & rPos,
const ::drafts::com::sun::star::layout::Alignment& rAlignment );