Kaydet (Commit) 80759b58 authored tarafından Takeshi Abe's avatar Takeshi Abe

sd: Do not copy SdStyleSheet

Anyway copy assignment operator has been deleted already.

Change-Id: Ie9ee9d8a9434b41b3b36d2483424776829572837
Reviewed-on: https://gerrit.libreoffice.org/38973Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarTakeshi Abe <tabe@fixedpoint.jp>
üst 19f3b88c
......@@ -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;
};
......
......@@ -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;
......
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