summaryrefslogtreecommitdiff
path: root/reportdesign/source/core/api/ReportDefinition.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'reportdesign/source/core/api/ReportDefinition.cxx')
-rw-r--r--reportdesign/source/core/api/ReportDefinition.cxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/reportdesign/source/core/api/ReportDefinition.cxx b/reportdesign/source/core/api/ReportDefinition.cxx
index a051e20ea484..296419e4f2db 100644
--- a/reportdesign/source/core/api/ReportDefinition.cxx
+++ b/reportdesign/source/core/api/ReportDefinition.cxx
@@ -229,11 +229,19 @@ static void lcl_extractAndStartStatusIndicator( const utl::MediaDescriptor& _rDe
}
typedef ::comphelper::OPropertyStateContainer OStyle_PBASE;
+
+namespace {
+
class OStyle;
+
+}
+
typedef ::comphelper::OPropertyArrayUsageHelper < OStyle
> OStyle_PABASE;
typedef ::cppu::WeakImplHelper< style::XStyle, beans::XMultiPropertyStates> TStyleBASE;
+namespace {
+
class OStyle : public ::comphelper::OMutexAndBroadcastHelper
,public TStyleBASE
,public OStyle_PBASE
@@ -275,6 +283,8 @@ public:
uno::Sequence< uno::Any > SAL_CALL getPropertyDefaults( const uno::Sequence< OUString >& aPropertyNames ) override;
};
+}
+
OStyle::OStyle()
:OStyle_PBASE(m_aBHelper)
,m_aSize(21000,29700)
@@ -2216,6 +2226,9 @@ OUString SAL_CALL OReportDefinition::getShapeType( )
typedef ::cppu::WeakImplHelper< container::XNameContainer,
container::XIndexAccess
> TStylesBASE;
+
+namespace {
+
class OStylesHelper:
public cppu::BaseMutex, public TStylesBASE
{
@@ -2251,6 +2264,8 @@ public:
virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) override;
};
+}
+
OStylesHelper::OStylesHelper(const uno::Type& rType)
: cppu::BaseMutex()
, m_aType(rType)