Kaydet (Commit) 27b28239 authored tarafından Caolán McNamara's avatar Caolán McNamara

avoid self assignment crash

Change-Id: I8cbe5873aa39ac8b17f330c836985b7780ea2047
(cherry picked from commit bdd8cbf38ab3e0b68f6a8a68dc2a70ff7e9e18a1)
üst 4caa1baf
......@@ -630,6 +630,9 @@ SwTableAutoFmt::SwTableAutoFmt( const SwTableAutoFmt& rNew )
SwTableAutoFmt& SwTableAutoFmt::operator=( const SwTableAutoFmt& rNew )
{
if (&rNew == this)
return *this;
for( sal_uInt8 n = 0; n < 16; ++n )
{
if( aBoxAutoFmt[ n ] )
......
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