diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2007-08-17 11:15:52 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2007-08-17 11:15:52 +0000 |
commit | 63a98b5a289aebfa599204ce58be01c95459a45c (patch) | |
tree | 33f2ab2936b6858625f4def2f85e7e73528222b5 /chart2/source/tools/TitleHelper.cxx | |
parent | ea5079e334a49292ca558cb510ca38cccf73bb2e (diff) |
INTEGRATION: CWS chart12 (1.7.40); FILE MERGED
2007/08/06 08:05:51 bm 1.7.40.1: #i80297# rename set/getTitle of interface XTitled to set/getTitleObject to avoid name clash with old API XChartDocument::getTitle
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 e1bdc52007ff..ebdf381726c0 100644 --- a/chart2/source/tools/TitleHelper.cxx +++ b/chart2/source/tools/TitleHelper.cxx @@ -4,9 +4,9 @@ * * $RCSfile: TitleHelper.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: vg $ $Date: 2007-05-22 19:05:41 $ + * last change: $Author: ihi $ $Date: 2007-08-17 12:15:52 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -176,7 +176,7 @@ uno::Reference< XTitle > TitleHelper::getTitle( TitleHelper::eTitleType nTitleIn { uno::Reference< XTitled > xTitled( lcl_getTitleParent( nTitleIndex, xModel ) ); if( xTitled.is()) - return xTitled->getTitle(); + return xTitled->getTitleObject(); return NULL; } @@ -226,7 +226,7 @@ uno::Reference< XTitle > TitleHelper::createTitle( if( pRefSizeProvider ) pRefSizeProvider->setValuesAtTitle( xTitle ); - xTitled->setTitle( xTitle ); + xTitled->setTitleObject( xTitle ); //default rotation 90 degree for y axis title in normal coordinatesystems or for x axis title for swapped coordinatesystems if( eTitleType == TitleHelper::X_AXIS_TITLE || @@ -324,7 +324,7 @@ void TitleHelper::removeTitle( TitleHelper::eTitleType nTitleIndex uno::Reference< XTitled > xTitled( lcl_getTitleParent( nTitleIndex, xModel ) ); if( xTitled.is()) { - xTitled->setTitle(NULL); + xTitled->setTitleObject(NULL); } } |