fftester: apparent wrong property tested for existence
Change-Id: I5d208bb2a85d7aa4eea9b1c950eeb6f35493f759
This commit is contained in:
BIN
writerfilter/qa/cppunittests/rtftok/data/fail/propheight-1.rtf
Normal file
BIN
writerfilter/qa/cppunittests/rtftok/data/fail/propheight-1.rtf
Normal file
Binary file not shown.
@@ -1276,7 +1276,7 @@ void SectionPropertyMap::CloseSectionGroup( DomainMapper_Impl& rDM_Impl )
|
|||||||
if( pEntry.get( ) )
|
if( pEntry.get( ) )
|
||||||
{
|
{
|
||||||
boost::optional<PropertyMap::Property> pPropHeight = pEntry->pProperties->getProperty(PROP_CHAR_HEIGHT_ASIAN);
|
boost::optional<PropertyMap::Property> pPropHeight = pEntry->pProperties->getProperty(PROP_CHAR_HEIGHT_ASIAN);
|
||||||
if(pProp)
|
if (pPropHeight)
|
||||||
{
|
{
|
||||||
double fHeight = 0;
|
double fHeight = 0;
|
||||||
if( pPropHeight->second >>= fHeight )
|
if( pPropHeight->second >>= fHeight )
|
||||||
|
Reference in New Issue
Block a user