summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/core/api/ReportDefinition.cxx5
-rw-r--r--reportdesign/source/core/api/Section.cxx5
2 files changed, 4 insertions, 6 deletions
diff --git a/reportdesign/source/core/api/ReportDefinition.cxx b/reportdesign/source/core/api/ReportDefinition.cxx
index 34b1140b0a9d..4d9f078827f7 100644
--- a/reportdesign/source/core/api/ReportDefinition.cxx
+++ b/reportdesign/source/core/api/ReportDefinition.cxx
@@ -1963,9 +1963,8 @@ uno::Sequence< sal_Int8 > SAL_CALL OReportDefinition::getImplementationId( )
uno::Sequence< sal_Int8 > OReportDefinition::getUnoTunnelId()
{
- static ::cppu::OImplementationId implId;
-
- return implId.getImplementationId();
+ static const comphelper::UnoIdInit implId;
+ return implId.getSeq();
}
uno::Reference< uno::XComponentContext > OReportDefinition::getContext()
diff --git a/reportdesign/source/core/api/Section.cxx b/reportdesign/source/core/api/Section.cxx
index 73dcd20a1b6a..b3255bc290e0 100644
--- a/reportdesign/source/core/api/Section.cxx
+++ b/reportdesign/source/core/api/Section.cxx
@@ -573,9 +573,8 @@ sal_Int64 OSection::getSomething( const uno::Sequence< sal_Int8 > & rId )
uno::Sequence< sal_Int8 > OSection::getUnoTunnelId()
{
- static ::cppu::OImplementationId implId;
-
- return implId.getImplementationId();
+ static const comphelper::UnoIdInit implId;
+ return implId.getSeq();
}
void OSection::notifyElementAdded(const uno::Reference< drawing::XShape >& xShape )