diff options
author | Trevor Murphy <trevor.m.murphy@gmail.com> | 2010-10-19 23:45:24 -0500 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-10-19 23:45:24 -0500 |
commit | b74679e29ea519e8d4c9e5cf8471f4f366f10414 (patch) | |
tree | 03521bfa10a8c34b07a282552ffbd67b9ead451b /xmloff | |
parent | 8bd677c532aed25970288e1f45634b9304c920f0 (diff) |
Minor libs-core comment clean-up
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/forms/elementimport.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/forms/elementimport.hxx | 2 | ||||
-rw-r--r-- | xmloff/source/forms/propertyexport.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/style/adjushdl.cxx | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/xmloff/source/forms/elementimport.cxx b/xmloff/source/forms/elementimport.cxx index ae64c0f21c73..bb852ccbbc32 100644 --- a/xmloff/source/forms/elementimport.cxx +++ b/xmloff/source/forms/elementimport.cxx @@ -950,7 +950,7 @@ namespace xmloff } //--------------------------------------------------------------------- - //added by BerryJia for fixing bug102407 2002-11-5 + Reference< XPropertySet > OControlImport::createElement() { const Reference<XPropertySet> xPropSet = OElementImport::createElement(); diff --git a/xmloff/source/forms/elementimport.hxx b/xmloff/source/forms/elementimport.hxx index 97eb2ec950d3..20e9f7da2c26 100644 --- a/xmloff/source/forms/elementimport.hxx +++ b/xmloff/source/forms/elementimport.hxx @@ -261,7 +261,7 @@ namespace xmloff virtual void doRegisterXFormsSubmission( const ::rtl::OUString& ); protected: - //added by BerryJia for fixing bug102407 2002-11-5 + // OElementImport overridables virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySet > createElement(); diff --git a/xmloff/source/forms/propertyexport.cxx b/xmloff/source/forms/propertyexport.cxx index 5cf2778c2a4e..ae3063258d5e 100644 --- a/xmloff/source/forms/propertyexport.cxx +++ b/xmloff/source/forms/propertyexport.cxx @@ -144,7 +144,7 @@ namespace xmloff aExportType = aValue.getValueType(); // the type attribute - // modified by BerryJia for Bug102407 + bool bIsEmptyValue = TypeClass_VOID == aValue.getValueType().getTypeClass(); if ( bIsEmptyValue ) { @@ -169,7 +169,7 @@ namespace xmloff if( !bIsSequence && !bIsEmptyValue ) { // the simple case - //add by BerryJia for Bug102407 + sValue = implConvertAny(aValue); AddAttribute(XML_NAMESPACE_OFFICE, eValueAttName, sValue ); } diff --git a/xmloff/source/style/adjushdl.cxx b/xmloff/source/style/adjushdl.cxx index 5119b31d2a9a..9716ff2183ff 100644 --- a/xmloff/source/style/adjushdl.cxx +++ b/xmloff/source/style/adjushdl.cxx @@ -86,7 +86,7 @@ sal_Bool XMLParaAdjustPropHdl::importXML( const OUString& rStrImpValue, uno::Any sal_Bool XMLParaAdjustPropHdl::exportXML( OUString& rStrExpValue, const uno::Any& rValue, const SvXMLUnitConverter& ) const { if(!rValue.hasValue()) - return sal_False; //added by BerryJia for fixing Bug102407 2002-11-5 + return sal_False; OUStringBuffer aOut; sal_Int16 nVal = 0; |