summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2017-06-20 00:34:38 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2017-06-20 08:12:15 +0200
commit80759b5871093bc9fde2f03b88678c82e97bc381 (patch)
tree0f853074f4093dc4c0f7a73c933e209a6fdf7b34 /sd
parent19f3b88c1ee2ab546a92c28f155f4d65e0c464df (diff)
sd: Do not copy SdStyleSheet
Anyway copy assignment operator has been deleted already. Change-Id: Ie9ee9d8a9434b41b3b36d2483424776829572837 Reviewed-on: https://gerrit.libreoffice.org/38973 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Takeshi Abe <tabe@fixedpoint.jp>
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;