diff options
Diffstat (limited to 'xmlscript')
-rwxr-xr-x | xmlscript/source/xml_helper/xml_element.cxx | 1 | ||||
-rwxr-xr-x | xmlscript/source/xmldlg_imexp/exp_share.hxx | 6 | ||||
-rwxr-xr-x | xmlscript/source/xmldlg_imexp/imp_share.hxx | 1 | ||||
-rwxr-xr-x | xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx | 6 | ||||
-rwxr-xr-x | xmlscript/source/xmllib_imexp/imp_share.hxx | 1 |
5 files changed, 1 insertions, 14 deletions
diff --git a/xmlscript/source/xml_helper/xml_element.cxx b/xmlscript/source/xml_helper/xml_element.cxx index cd1fe1a0fc33..6a2717019f7e 100755 --- a/xmlscript/source/xml_helper/xml_element.cxx +++ b/xmlscript/source/xml_helper/xml_element.cxx @@ -73,7 +73,6 @@ void XMLElement::dump( Reference< xml::sax::XDocumentHandler > const & xOut ) xOut->startElement( _name, static_cast< xml::sax::XAttributeList * >( this ) ); // write sub elements dumpSubElements( xOut ); - // xOut->ignorableWhitespace( OUString() ); xOut->endElement( _name ); } diff --git a/xmlscript/source/xmldlg_imexp/exp_share.hxx b/xmlscript/source/xmldlg_imexp/exp_share.hxx index 385e9c977c1c..50a9d2393393 100755 --- a/xmlscript/source/xmldlg_imexp/exp_share.hxx +++ b/xmlscript/source/xmldlg_imexp/exp_share.hxx @@ -115,13 +115,10 @@ public: ::rtl::OUString const & propName, ::rtl::OUString const & attrName, bool forceAttribute = false ); - // template<typename T> inline bool readProp( T * ret, ::rtl::OUString const & rPropName ); css::uno::Any readProp( ::rtl::OUString const & rPropName ); - // void readDefaults( bool supportPrintable = true, bool supportVisible = true ); - // void readStringAttr( ::rtl::OUString const & rPropName, ::rtl::OUString const & rAttrName ); inline void readDoubleAttr( @@ -162,7 +159,6 @@ public: ::rtl::OUString const & rPropName, ::rtl::OUString const & rAttrName ); void readSelectionTypeAttr( ::rtl::OUString const & rPropName, ::rtl::OUString const & rAttrName ); - // void readDataAwareAttr( ::rtl::OUString const & rAttrName ); inline void addBoolAttr( @@ -173,9 +169,7 @@ public: const & xFormatProperties, ::rtl::OUString const & rAttrName ); - // void readEvents() SAL_THROW( (css::uno::Exception) ); - // void readDialogModel( StyleBag * all_styles ) SAL_THROW( (css::uno::Exception) ); void readBullitinBoard( StyleBag * all_styles ) diff --git a/xmlscript/source/xmldlg_imexp/imp_share.hxx b/xmlscript/source/xmldlg_imexp/imp_share.hxx index 0717e32720d9..0c413a3afe53 100755 --- a/xmlscript/source/xmldlg_imexp/imp_share.hxx +++ b/xmlscript/source/xmldlg_imexp/imp_share.hxx @@ -52,7 +52,6 @@ namespace css = ::com::sun::star; namespace xmlscript { -// inline sal_Int32 toInt32( ::rtl::OUString const & rStr ) SAL_THROW( () ) { sal_Int32 nVal; diff --git a/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx b/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx index 9f91a337810c..e858f7d857f6 100755 --- a/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx +++ b/xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx @@ -115,10 +115,7 @@ void ElementDescriptor::readFrameModel( StyleBag * all_styles ) { // collect styles Style aStyle( 0x1 | 0x2 | 0x8 | 0x20 ); -/* - if (readProp( OUString( RTL_CONSTASCII_USTRINGPARAM("BackgroundColor") ) ) >>= aStyle._backgroundColor) - aStyle._set |= 0x1; -*/ + if (readProp( OUString( RTL_CONSTASCII_USTRINGPARAM("TextColor") ) ) >>= aStyle._textColor) aStyle._set |= 0x2; if (readProp( OUString( RTL_CONSTASCII_USTRINGPARAM("TextLineColor") ) ) >>= aStyle._textLineColor) @@ -1561,7 +1558,6 @@ void ElementDescriptor::readBullitinBoard( StyleBag * all_styles ) OUString( RTL_CONSTASCII_USTRINGPARAM(XMLNS_DIALOGS_PREFIX ":progressmeter") ), _xDocument ); pElem->readProgressBarModel( all_styles ); } - // if (pElem) { diff --git a/xmlscript/source/xmllib_imexp/imp_share.hxx b/xmlscript/source/xmllib_imexp/imp_share.hxx index a3728cb4488b..1cfa25525a3e 100755 --- a/xmlscript/source/xmllib_imexp/imp_share.hxx +++ b/xmlscript/source/xmllib_imexp/imp_share.hxx @@ -51,7 +51,6 @@ using namespace ::com::sun::star::uno; namespace xmlscript { -// inline sal_Int32 toInt32( OUString const & rStr ) SAL_THROW( () ) { sal_Int32 nVal; |