summaryrefslogtreecommitdiff
path: root/chart2/source/controller/dialogs/TitleDialogData.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/dialogs/TitleDialogData.cxx')
-rw-r--r--chart2/source/controller/dialogs/TitleDialogData.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/controller/dialogs/TitleDialogData.cxx b/chart2/source/controller/dialogs/TitleDialogData.cxx
index 91d44353934e..b1560dba7579 100644
--- a/chart2/source/controller/dialogs/TitleDialogData.cxx
+++ b/chart2/source/controller/dialogs/TitleDialogData.cxx
@@ -62,10 +62,10 @@ void TitleDialogData::readFromModel( const uno::Reference< frame::XModel>& xChar
nTitleIndex < static_cast< sal_Int32 >( TitleHelper::NORMAL_TITLE_END );
nTitleIndex++)
{
- uno::Reference< XTitle > xTitle = TitleHelper::getTitle(
+ uno::Reference< XTitle2 > xTitle = TitleHelper::getTitle(
static_cast< TitleHelper::eTitleType >( nTitleIndex ), xChartModel );
this->aExistenceList[nTitleIndex] = xTitle.is();
- this->aTextList[nTitleIndex]=TitleHelper::getCompleteString( xTitle );
+ this->aTextList[nTitleIndex] = TitleHelper::getCompleteString( xTitle );
}
}
@@ -97,8 +97,8 @@ bool TitleDialogData::writeDifferenceToModel(
else if( !pOldState || ( pOldState->aTextList[nN] != this->aTextList[nN] ) )
{
//change content
- uno::Reference< XTitle > xTitle(
- TitleHelper::getTitle( static_cast< TitleHelper::eTitleType >( nN ), xChartModel ) );
+ uno::Reference< XTitle2 > xTitle =
+ TitleHelper::getTitle( static_cast< TitleHelper::eTitleType >( nN ), xChartModel );
if(xTitle.is())
{
TitleHelper::setCompleteString( this->aTextList[nN], xTitle, xContext );