Kaydet (Commit) 211925e1 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1396676 Uninitialized pointer field

Change-Id: I7d7557485fe603f49ae176378ef41539ebe4970c
üst e0781244
...@@ -943,11 +943,12 @@ void SAL_CALL ScStyleFamilyObj::removeVetoableChangeListener( const OUString&, c ...@@ -943,11 +943,12 @@ void SAL_CALL ScStyleFamilyObj::removeVetoableChangeListener( const OUString&, c
// Default-ctor wird fuer die Reflection gebraucht // Default-ctor wird fuer die Reflection gebraucht
ScStyleObj::ScStyleObj(ScDocShell* pDocSh, SfxStyleFamily eFam, const OUString& rName) : ScStyleObj::ScStyleObj(ScDocShell* pDocSh, SfxStyleFamily eFam, const OUString& rName)
pPropSet( (eFam == SfxStyleFamily::Para) ? lcl_GetCellStyleSet() : lcl_GetPageStyleSet() ), : pPropSet( (eFam == SfxStyleFamily::Para) ? lcl_GetCellStyleSet() : lcl_GetPageStyleSet() )
pDocShell( pDocSh ), , pDocShell(pDocSh)
eFamily( eFam ), , eFamily(eFam)
aStyleName( rName ) , aStyleName(rName)
, pStyle_cached(nullptr)
{ {
// pDocShell ist Null, wenn per ServiceProvider erzeugt // pDocShell ist Null, wenn per ServiceProvider erzeugt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment