#i10950#; write header/footer element if is disabled

This commit is contained in:
Sascha Ballach 2003-02-14 08:15:57 +00:00
parent 7f9afa1763
commit 32f0616797

View file

@ -2,9 +2,9 @@
*
* $RCSfile: XMLTableMasterPageExport.cxx,v $
*
* $Revision: 1.8 $
* $Revision: 1.9 $
*
* last change: $Author: sab $ $Date: 2001-10-17 09:30:57 $
* last change: $Author: sab $ $Date: 2003-02-14 09:15:57 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@ -132,7 +132,7 @@ void XMLTableMasterPageExport::exportHeaderFooter(const com::sun::star::uno::Ref
rtl::OUString sLeft (xLeft->getString());
rtl::OUString sRight (xRight->getString());
if (sCenter.getLength() || sLeft.getLength() || sRight.getLength() || bDisplay)
if (sCenter.getLength() || sLeft.getLength() || sRight.getLength() || !bDisplay)
{
if( !bDisplay )
GetExport().AddAttribute( XML_NAMESPACE_STYLE,