Re: SwFormat::DerviedFrom()

2016-01-11 Thread Bjoern Michaelsen
Hi, On Sun, Jan 03, 2016 at 10:43:05AM +0100, Markus Mohrhard wrote: > > In fact, wouldn’t a dynamic_cast be better, as this most specifically down > > or upcasts a pointer, and returns NULL if it fails? > > > > That depends on all the code around it. Here the code just assumes that all > returne

Re: SwFormat::DerviedFrom()

2016-01-03 Thread Chris Sherlock
On 3 Jan 2016, at 8:43 PM, Markus Mohrhard wrote: > > Hey > > On Sun, Jan 3, 2016 at 9:20 AM, Chris Sherlock > wrote: > Hi all, > > I’ve been getting an OSL_ENSURE failure when I run LibreOffice on my Ubuntu > Linux VM. > > The error is: > > warn:legacy.osl:25546:1:sw/source/core/attr/f

Re: SwFormat::DerviedFrom()

2016-01-03 Thread Markus Mohrhard
Hey On Sun, Jan 3, 2016 at 9:20 AM, Chris Sherlock wrote: > Hi all, > > I’ve been getting an OSL_ENSURE failure when I run LibreOffice on my > Ubuntu Linux VM. > > The error is: > > warn:legacy.osl:25546:1:sw/source/core/attr/format.cxx:227: > SwFormat::~SwFormat: Def dependents! > > This appear

SwFormat::DerviedFrom()

2016-01-03 Thread Chris Sherlock
Hi all, I’ve been getting an OSL_ENSURE failure when I run LibreOffice on my Ubuntu Linux VM. The error is: warn:legacy.osl:25546:1:sw/source/core/attr/format.cxx:227: SwFormat::~SwFormat: Def dependents! This appears to be occuring because the OSL_ENSURE is calling on DerivedFrom(), which