summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
Diffstat (limited to 'sd')
-rw-r--r--sd/inc/stlsheet.hxx2
-rw-r--r--sd/source/core/stlsheet.cxx9
2 files changed, 1 insertions, 10 deletions
diff --git a/sd/inc/stlsheet.hxx b/sd/inc/stlsheet.hxx
index 41b94338e183..29e6f4a4698b 100644
--- a/sd/inc/stlsheet.hxx
+++ b/sd/inc/stlsheet.hxx
@@ -54,7 +54,6 @@ class SdStyleSheet : public SdStyleSheetBase, private ::cppu::BaseMutex
{
public:
SdStyleSheet( const OUString& rDisplayName, SfxStyleSheetBasePool& rPool, SfxStyleFamily eFamily, sal_uInt16 nMask );
- SdStyleSheet( const SdStyleSheet& );
virtual bool SetParent (const OUString& rParentName) override;
virtual SfxItemSet& GetItemSet() override;
@@ -149,6 +148,7 @@ protected:
std::unique_ptr< ModifyListenerForewarder > mpModifyListenerForewarder;
private:
+ SdStyleSheet( const SdStyleSheet& ) = delete;
SdStyleSheet& operator=( const SdStyleSheet& ) = delete;
};
diff --git a/sd/source/core/stlsheet.cxx b/sd/source/core/stlsheet.cxx
index 5fabb740dbd2..0cfc22087dbe 100644
--- a/sd/source/core/stlsheet.cxx
+++ b/sd/source/core/stlsheet.cxx
@@ -138,15 +138,6 @@ SdStyleSheet::SdStyleSheet(const OUString& rDisplayName, SfxStyleSheetBasePool&
{
}
-SdStyleSheet::SdStyleSheet( const SdStyleSheet & r )
-: SdStyleSheetBase( r )
-, ::cppu::BaseMutex()
-, msApiName( r.msApiName )
-, mxPool( r.mxPool )
-, mrBHelper( m_aMutex )
-{
-}
-
SdStyleSheet::~SdStyleSheet()
{
delete pSet;