Kaydet (Commit) 98498fc7 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

These would probably wreak havoc

...judging by how XFStyleContainer appears to own the pointers in m_aStyles, but
are apparently not needed anyway

Change-Id: I5ca64680bf8b7b5198f30dac4f4558069d476970
üst 14220052
......@@ -70,18 +70,6 @@ XFStyleContainer::XFStyleContainer(const OUString& strStyleNamePrefix)
{
}
XFStyleContainer::XFStyleContainer(const XFStyleContainer& other):
m_aStyles(other.m_aStyles), m_strStyleNamePrefix(other.m_strStyleNamePrefix)
{
}
XFStyleContainer& XFStyleContainer::operator=(const XFStyleContainer& other)
{
this->m_strStyleNamePrefix = other.m_strStyleNamePrefix;
this->m_aStyles = other.m_aStyles;
return *this;
}
XFStyleContainer::~XFStyleContainer()
{
std::vector<IXFStyle*>::iterator it;
......
......@@ -87,9 +87,9 @@ public:
explicit XFStyleContainer(const OUString& strStyleNamePrefix);
XFStyleContainer(const XFStyleContainer& other);
XFStyleContainer(const XFStyleContainer& other) = delete;
XFStyleContainer& operator=(const XFStyleContainer& other);
XFStyleContainer& operator=(const XFStyleContainer& other) = delete;
virtual ~XFStyleContainer();
......
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