diff options
author | Frank Schönheit <fs@openoffice.org> | 2002-11-06 09:33:25 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2002-11-06 09:33:25 +0000 |
commit | 7547d6eb09564884b2a9474bc23c63b6cf62a82d (patch) | |
tree | e5cf789ee9640a34bea56a0f185012999b913395 /xmloff/source/style | |
parent | ac5f39553cdb7641e4411a99602a1be51eaf2651 (diff) |
#102407# (on behalf of BerryJia@openoffice.org) ParaAdjustHdl: don't export VOID values
Diffstat (limited to 'xmloff/source/style')
-rw-r--r-- | xmloff/source/style/adjushdl.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/xmloff/source/style/adjushdl.cxx b/xmloff/source/style/adjushdl.cxx index 7f84142f522e..ea026d52504b 100644 --- a/xmloff/source/style/adjushdl.cxx +++ b/xmloff/source/style/adjushdl.cxx @@ -2,9 +2,9 @@ * * $RCSfile: adjushdl.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: dvo $ $Date: 2001-06-29 21:07:17 $ + * last change: $Author: fs $ $Date: 2002-11-06 10:33:25 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -137,6 +137,8 @@ sal_Bool XMLParaAdjustPropHdl::importXML( const OUString& rStrImpValue, uno::Any sal_Bool XMLParaAdjustPropHdl::exportXML( OUString& rStrExpValue, const uno::Any& rValue, const SvXMLUnitConverter& rUnitConverter ) const { + if(!rValue.hasValue()) + return sal_False; //added by BerryJia for fixing Bug102407 2002-11-5 OUStringBuffer aOut; sal_Int16 nVal; |