summaryrefslogtreecommitdiff
path: root/chart2/source/view/axes/VAxisProperties.cxx
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-08-12 00:30:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-09-17 07:43:01 +0200
commit7315f325ff7ada3d6bd85a471058fdaeaff8cdb0 (patch)
treeef1505a58c8684a5430999e4f53a8a7d6b9f19ae /chart2/source/view/axes/VAxisProperties.cxx
parent83288332f7ced698610739419989c464256f1c4d (diff)
use more default copy ctors
if ctor should be private or protected explicitly default them. boost::optional has copy ctors, so use them. Change-Id: If1855626b297e739afef0dc5ad57958f7ad199bc Reviewed-on: https://gerrit.libreoffice.org/42363 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/view/axes/VAxisProperties.cxx')
-rw-r--r--chart2/source/view/axes/VAxisProperties.cxx30
1 files changed, 0 insertions, 30 deletions
diff --git a/chart2/source/view/axes/VAxisProperties.cxx b/chart2/source/view/axes/VAxisProperties.cxx
index 43ef2d33ea12..c3cdbcde5f97 100644
--- a/chart2/source/view/axes/VAxisProperties.cxx
+++ b/chart2/source/view/axes/VAxisProperties.cxx
@@ -177,36 +177,6 @@ AxisProperties::AxisProperties( const uno::Reference< XAxis >& xAxisModel
{
}
-AxisProperties::AxisProperties( const AxisProperties& rAxisProperties )
- : m_xAxisModel( rAxisProperties.m_xAxisModel )
- , m_nDimensionIndex( rAxisProperties.m_nDimensionIndex )
- , m_bIsMainAxis( rAxisProperties.m_bIsMainAxis )
- , m_bSwapXAndY( rAxisProperties.m_bSwapXAndY )
- , m_eCrossoverType( rAxisProperties.m_eCrossoverType )
- , m_eLabelPos( rAxisProperties.m_eLabelPos )
- , m_eTickmarkPos( rAxisProperties.m_eTickmarkPos )
- , m_bCrossingAxisHasReverseDirection( rAxisProperties.m_bCrossingAxisHasReverseDirection )
- , m_bCrossingAxisIsCategoryAxes( rAxisProperties.m_bCrossingAxisIsCategoryAxes )
- , maLabelAlignment( rAxisProperties.maLabelAlignment )
- , m_bDisplayLabels( rAxisProperties.m_bDisplayLabels )
- , m_bTryStaggeringFirst( rAxisProperties.m_bTryStaggeringFirst )
- , m_nNumberFormatKey( rAxisProperties.m_nNumberFormatKey )
- , m_nMajorTickmarks( rAxisProperties.m_nMajorTickmarks )
- , m_nMinorTickmarks( rAxisProperties.m_nMinorTickmarks )
- , m_aTickmarkPropertiesList( rAxisProperties.m_aTickmarkPropertiesList )
- , m_aLineProperties( rAxisProperties.m_aLineProperties )
- //for category axes
- , m_nAxisType( rAxisProperties.m_nAxisType )
- , m_bComplexCategories( rAxisProperties.m_bComplexCategories )
- , m_pExplicitCategoriesProvider( rAxisProperties.m_pExplicitCategoriesProvider )
- , m_xAxisTextProvider( rAxisProperties.m_xAxisTextProvider )
-{
- if( rAxisProperties.m_pfMainLinePositionAtOtherAxis )
- m_pfMainLinePositionAtOtherAxis.reset(*rAxisProperties.m_pfMainLinePositionAtOtherAxis);
- if( rAxisProperties.m_pfExrtaLinePositionAtOtherAxis )
- m_pfExrtaLinePositionAtOtherAxis.reset(*rAxisProperties.m_pfExrtaLinePositionAtOtherAxis);
-}
-
LabelAlignment lcl_getLabelAlignmentForZAxis( const AxisProperties& rAxisProperties )
{
LabelAlignment aRet( LABEL_ALIGN_RIGHT );