Kaydet (Commit) 3d9981af authored tarafından Xisco Fauli's avatar Xisco Fauli Kaydeden (comit) Christina Rossmanith

Remove dead code in libs-core

üst a149b16d
......@@ -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 );
}
......
......@@ -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 )
......
......@@ -52,7 +52,6 @@ namespace css = ::com::sun::star;
namespace xmlscript
{
//
inline sal_Int32 toInt32( ::rtl::OUString const & rStr ) SAL_THROW( () )
{
sal_Int32 nVal;
......
......@@ -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)
{
......
......@@ -51,7 +51,6 @@ using namespace ::com::sun::star::uno;
namespace xmlscript
{
//
inline sal_Int32 toInt32( OUString const & rStr ) SAL_THROW( () )
{
sal_Int32 nVal;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment