Re: frt - r27307 - in abiword/trunk/plugins/openxml: common/xp exp/xp

From: Hubert Figuiere <hfiguiere_at_teaser.fr>
Date: Mon Jul 20 2009 - 03:53:33 CEST

On 07/19/2009 09:50 PM, cvs@abisource.com wrote:
> + //set page margins
> + if(m_pageMarginTop.compare("") && m_pageMarginLeft.compare("") && m_pageMarginRight.compare("") && m_pageMarginBottom.compare(""))

Also:

std::string::empty() returns try if it is empty.

This is IMHO more readable than using compare()

Hub
Received on Mon Jul 20 03:54:09 2009

This archive was generated by hypermail 2.1.8 : Mon Jul 20 2009 - 03:54:09 CEST