summaryrefslogtreecommitdiff
path: root/chart2/source/tools/TitleHelper.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noelgrandin@gmail.com>2022-01-25 21:32:52 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2022-01-26 07:18:15 +0100
commitb8cbb6930febadc9ae8839c9a21c4a20eb6fb609 (patch)
treecb19f9dc41db8de920887d85f538fc24f764a96b /chart2/source/tools/TitleHelper.cxx
parentea00a6ce3b5e15ac2640983cfaaf11755d233644 (diff)
use more concrete types in chart2, Diagram
Change-Id: I5a836ccfe3c3c071b42664ba340ef18ff0e4ba91 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128946 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/tools/TitleHelper.cxx')
-rw-r--r--chart2/source/tools/TitleHelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/chart2/source/tools/TitleHelper.cxx b/chart2/source/tools/TitleHelper.cxx
index 775b1241c65c..06ffe005d67f 100644
--- a/chart2/source/tools/TitleHelper.cxx
+++ b/chart2/source/tools/TitleHelper.cxx
@@ -202,7 +202,7 @@ uno::Reference< XTitle > TitleHelper::createTitle(
if( !xTitled.is() )
{
- uno::Reference< XDiagram > xDiagram( ChartModelHelper::findDiagram( xModel ) );
+ rtl::Reference< Diagram > xDiagram( ChartModelHelper::findDiagram( xModel ) );
uno::Reference< chart2::XAxis > xAxis;
switch( eTitleType )
{