summaryrefslogtreecommitdiff
path: root/chart2/source/view
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-01 08:35:38 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-01 08:35:38 +0200
commit79451a0566e95ba10c749e913cb642cd71d95755 (patch)
tree48df04627ffdbdb1c15bb64f3b30585a222b5bec /chart2/source/view
parentfb088cdd8d6aed2f82b13b03d8ddb6f7901c5ef2 (diff)
Replace remaining getCppuType et al with cppu::UnoType
Change-Id: I5bc47d62afa9cf43f4f1978e082bba43920eb10d
Diffstat (limited to 'chart2/source/view')
-rw-r--r--chart2/source/view/main/ChartView.cxx4
-rw-r--r--chart2/source/view/main/DummyXShape.cxx4
2 files changed, 4 insertions, 4 deletions
diff --git a/chart2/source/view/main/ChartView.cxx b/chart2/source/view/main/ChartView.cxx
index 66d64bfc5580..b9a1e37f348e 100644
--- a/chart2/source/view/main/ChartView.cxx
+++ b/chart2/source/view/main/ChartView.cxx
@@ -1358,10 +1358,10 @@ uno::Sequence< datatransfer::DataFlavor > SAL_CALL ChartView::getTransferDataFla
aRet[0] = datatransfer::DataFlavor( lcl_aGDIMetaFileMIMEType,
"GDIMetaFile",
- ::getCppuType( (const uno::Sequence< sal_Int8 >*) NULL ) );
+ cppu::UnoType<uno::Sequence< sal_Int8 >>::get() );
aRet[1] = datatransfer::DataFlavor( lcl_aGDIMetaFileMIMETypeHighContrast,
"GDIMetaFile",
- ::getCppuType( (const uno::Sequence< sal_Int8 >*) NULL ) );
+ cppu::UnoType<uno::Sequence< sal_Int8 >>::get() );
return aRet;
}
diff --git a/chart2/source/view/main/DummyXShape.cxx b/chart2/source/view/main/DummyXShape.cxx
index 48b92efa9179..b6f6237aa3c8 100644
--- a/chart2/source/view/main/DummyXShape.cxx
+++ b/chart2/source/view/main/DummyXShape.cxx
@@ -1033,11 +1033,11 @@ DummyChart* DummyChart::getRootShape()
}
#define QUERYINT( xint ) \
- if( rType == ::getCppuType((const uno::Reference< xint >*)0) ) \
+ if( rType == cppu::UnoType<xint>::get() ) \
aAny <<= uno::Reference< xint >(this)
#define QUERY_INTERFACE( xint ) \
- if( rType == ::getCppuType((const uno::Reference< xint >*)0 ) ) \
+ if( rType == cppu::UnoType<xint>::get() ) \
return uno::makeAny(uno::Reference<xint>(this));
uno::Any SAL_CALL DummyXShapes::queryInterface( const uno::Type& rType )