summaryrefslogtreecommitdiff
path: root/sw/source/core
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core')
-rw-r--r--sw/source/core/txtnode/atrfld.cxx2
-rw-r--r--sw/source/core/unocore/unochart.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/txtnode/atrfld.cxx b/sw/source/core/txtnode/atrfld.cxx
index dcd6258a204b..94ec40766b00 100644
--- a/sw/source/core/txtnode/atrfld.cxx
+++ b/sw/source/core/txtnode/atrfld.cxx
@@ -83,7 +83,7 @@ SwFormatField::SwFormatField( const SwField &rField )
// full pool range, all items need to be clonable. Thus, this one needed to be
// corrected
SwFormatField::SwFormatField( const SwFormatField& rAttr )
- : SfxPoolItem( RES_TXTATR_FIELD )
+ : SfxPoolItem( rAttr )
, SwModify(nullptr)
, SfxBroadcaster()
, mpField( nullptr )
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx
index 89d331952654..675499349fa2 100644
--- a/sw/source/core/unocore/unochart.cxx
+++ b/sw/source/core/unocore/unochart.cxx
@@ -1863,7 +1863,7 @@ SwChartDataSequence::SwChartDataSequence(
}
SwChartDataSequence::SwChartDataSequence( const SwChartDataSequence &rObj ) :
- SwChartDataSequenceBaseClass(),
+ SwChartDataSequenceBaseClass(rObj),
SwClient( rObj.GetFrameFormat() ),
m_aEvtListeners( GetChartMutex() ),
m_aModifyListeners( GetChartMutex() ),