[Libreoffice-commits] .: xmlscript/source

Christina Rossmanith crossmanith at kemper.freedesktop.org
Fri Mar 18 14:07:10 PDT 2011


 xmlscript/source/xml_helper/xml_element.cxx        |    1 -
 xmlscript/source/xmldlg_imexp/exp_share.hxx        |    8 +-------
 xmlscript/source/xmldlg_imexp/imp_share.hxx        |    1 -
 xmlscript/source/xmldlg_imexp/xmldlg_expmodels.cxx |    6 +-----
 xmlscript/source/xmllib_imexp/imp_share.hxx        |    1 -
 5 files changed, 2 insertions(+), 15 deletions(-)

New commits:
commit 219e26512aa06a10560cb2a92ac182881b6dfd4a
Author: Xisco Fauli <anistenis at gmail.com>
Date:   Fri Mar 18 21:46:25 2011 +0100

    Remove dead code in libs-core

diff --git a/xmlscript/source/xml_helper/xml_element.cxx b/xmlscript/source/xml_helper/xml_element.cxx
index dc12562..a53d4fe 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 65f7e59..837fe12 100755
--- a/xmlscript/source/xmldlg_imexp/exp_share.hxx
+++ b/xmlscript/source/xmldlg_imexp/exp_share.hxx
@@ -114,14 +114,11 @@ public:
     inline void read(
         ::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 0717e32..0c413a3 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 9f91a33..e858f7d 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 f2ab0cc..8a20f36 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;


More information about the Libreoffice-commits mailing list