diff options
Diffstat (limited to 'chart2/source/tools/TitleHelper.cxx')
-rw-r--r-- | chart2/source/tools/TitleHelper.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/chart2/source/tools/TitleHelper.cxx b/chart2/source/tools/TitleHelper.cxx index 8b414ac35562..f843cf9dc1ba 100644 --- a/chart2/source/tools/TitleHelper.cxx +++ b/chart2/source/tools/TitleHelper.cxx @@ -2,7 +2,7 @@ /************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * * OpenOffice.org - a multi-platform office productivity suite @@ -62,7 +62,7 @@ uno::Reference< XTitled > lcl_getTitleParentFromDiagram( else nTitleIndex = bIsVertical ? TitleHelper::Y_AXIS_TITLE : TitleHelper::X_AXIS_TITLE; } - + switch( nTitleIndex ) { @@ -173,7 +173,7 @@ uno::Reference< XTitle > TitleHelper::createTitle( xTitled = lcl_getTitleParent( eTitleType, xModel ); } } - + if(xTitled.is()) { uno::Reference< XDiagram > xDiagram( ChartModelHelper::findDiagram( xModel ) ); @@ -282,7 +282,7 @@ void TitleHelper::setCompleteString( const rtl::OUString& rNewText rtl::OUStringBuffer aSource(rNewText); bool bBreakIgnored = false; - sal_Int32 nLen = rNewText.getLength(); + sal_Int32 nLen = rNewText.getLength(); for( sal_Int32 nPos = 0; nPos < nLen; ++nPos ) { sal_Unicode aChar = aSource.charAt( nPos ); @@ -358,7 +358,7 @@ bool TitleHelper::getTitleType( eTitleType& rType { if( !xTitle.is() || !xModel.is() ) return false; - + Reference< chart2::XTitle > xCurrentTitle; for( sal_Int32 nTitleType = TITLE_BEGIN; nTitleType < NORMAL_TITLE_END; nTitleType++ ) { |