[Libreoffice-commits] .: 4 commits - oox/inc oox/source unusedcode.easy

2012-03-14 Thread Caolán McNamara
 oox/inc/oox/drawingml/customshapeproperties.hxx |1 -
 oox/inc/oox/drawingml/table/tableproperties.hxx |1 -
 oox/inc/oox/drawingml/theme.hxx |2 --
 oox/source/drawingml/customshapeproperties.cxx  |   10 --
 oox/source/drawingml/diagram/diagram.cxx|3 ---
 oox/source/drawingml/diagram/diagram.hxx|2 --
 oox/source/drawingml/table/tableproperties.cxx  |4 
 oox/source/drawingml/theme.cxx  |5 -
 unusedcode.easy |4 
 9 files changed, 32 deletions(-)

New commits:
commit 02f1aad7003703cf604c5c46da82cf0f46c7f709
Author: Mariana Marasoiu mariana.maras...@gmail.com
Date:   Wed Mar 14 01:34:42 2012 +0200

Remove unused code in drawingml/table.

diff --git a/oox/inc/oox/drawingml/table/tableproperties.hxx 
b/oox/inc/oox/drawingml/table/tableproperties.hxx
index 45246bd..3d783d9 100644
--- a/oox/inc/oox/drawingml/table/tableproperties.hxx
+++ b/oox/inc/oox/drawingml/table/tableproperties.hxx
@@ -61,7 +61,6 @@ public:
 sal_Bool   isBandRow(){ return mbBandRow; };
 sal_Bool   isBandCol(){ return mbBandCol; };
 
-void apply( const TablePropertiesPtr );
 void pushToPropSet( const ::oox::core::XmlFilterBase rFilterBase,
 const ::com::sun::star::uno::Reference  
::com::sun::star::beans::XPropertySet   xPropSet, 
::oox::drawingml::TextListStylePtr pMasterTextListStyle );
 
diff --git a/oox/source/drawingml/table/tableproperties.cxx 
b/oox/source/drawingml/table/tableproperties.cxx
index 7fbd4bd..97ed6e7 100644
--- a/oox/source/drawingml/table/tableproperties.cxx
+++ b/oox/source/drawingml/table/tableproperties.cxx
@@ -61,10 +61,6 @@ TableProperties::~TableProperties()
 {
 }
 
-void TableProperties::apply( const TablePropertiesPtr /* 
rSourceTableProperties */ )
-{
-}
-
 void CreateTableRows( uno::Reference XTableRows  xTableRows, const 
std::vector TableRow  rvTableRows )
 {
 if ( rvTableRows.size()  1 )
diff --git a/unusedcode.easy b/unusedcode.easy
index 11e3bac..5e63e06 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -907,7 +907,6 @@ 
oox::drawingml::lcl_SequenceHasUnhiddenData(com::sun::star::uno::Referencecom::
 
oox::drawingml::lcl_dump_pset(com::sun::star::uno::Referencecom::sun::star::beans::XPropertySet)
 
oox::drawingml::lcl_getSequenceLengthByRole(com::sun::star::uno::Sequencecom::sun::star::uno::Referencecom::sun::star::chart2::data::XLabeledDataSequence
  const, rtl::OUString const)
 
oox::drawingml::lcl_getValueFromSequence(com::sun::star::uno::Referencecom::sun::star::chart2::data::XDataSequence
 const, int)
-oox::drawingml::table::TableProperties::apply(boost::shared_ptroox::drawingml::table::TableProperties
 const)
 oox::dump::AxPropertyObjectBase::construct(oox::dump::OutputObjectBase const, 
oox::dump::BinaryInputStreamRef const, oox::dump::String const, bool)
 oox::dump::BinaryStreamObject::BinaryStreamObject(oox::dump::OutputObjectBase 
const, oox::dump::BinaryInputStreamRef const)
 oox::dump::Config::setNameList(oox::dump::String const, 
boost::shared_ptroox::dump::NameListBase const)
commit 238944f008610d7faeab473c9b26ad04fc024429
Author: Mariana Marasoiu mariana.maras...@gmail.com
Date:   Wed Mar 14 01:25:57 2012 +0200

Remove unused code in drawingml/theme.

diff --git a/oox/inc/oox/drawingml/theme.hxx b/oox/inc/oox/drawingml/theme.hxx
index d6dbb2c..b2a039d 100644
--- a/oox/inc/oox/drawingml/theme.hxx
+++ b/oox/inc/oox/drawingml/theme.hxx
@@ -76,8 +76,6 @@ public:
 
 inline EffectStyleList getEffectStyleList() { return 
maEffectStyleList; }
 inline const EffectStyleList   getEffectStyleList() const { return 
maEffectStyleList; }
-/** Returns the effect properties of the passed one-based themed style 
index. */
-const PropertyMap*  getEffectStyle( sal_Int32 nIndex ) const;
 
 inline FontScheme  getFontScheme() { return maFontScheme; }
 inline const FontSchemegetFontScheme() const { return 
maFontScheme; }
diff --git a/oox/source/drawingml/theme.cxx b/oox/source/drawingml/theme.cxx
index 47a7d30..46f3dbc 100644
--- a/oox/source/drawingml/theme.cxx
+++ b/oox/source/drawingml/theme.cxx
@@ -66,11 +66,6 @@ const LineProperties* Theme::getLineStyle( sal_Int32 nIndex 
) const
  return lclGetStyleElement( maLineStyleList, nIndex );
 }
 
-const PropertyMap* Theme::getEffectStyle( sal_Int32 nIndex ) const
-{
-return lclGetStyleElement( maEffectStyleList, nIndex );
-}
-
 const TextCharacterProperties* Theme::getFontStyle( sal_Int32 nSchemeType ) 
const
 {
 return maFontScheme.get( nSchemeType ).get();
diff --git a/unusedcode.easy b/unusedcode.easy
index 97d0fb5..11e3bac 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -901,7 +901,6 @@ oox::drawingml::ColorPropertySet::setColor(int)
 
oox::drawingml::GraphicProperties::assignUsed(oox::drawingml::GraphicProperties 
const)
 

[Libreoffice-commits] .: 4 commits - oox/inc oox/source unusedcode.easy xmloff/inc xmloff/source xmlsecurity/inc xmlsecurity/source

2012-02-13 Thread Michael Meeks
 oox/inc/oox/xls/addressconverter.hxx   |2 
 oox/inc/oox/xls/formulabase.hxx|4 -
 oox/inc/oox/xls/unitconverter.hxx  |2 
 oox/source/xls/addressconverter.cxx|   18 -
 oox/source/xls/formulabase.cxx |   11 ---
 oox/source/xls/unitconverter.cxx   |6 -
 unusedcode.easy|   16 -
 xmloff/inc/xmloff/txtimp.hxx   |7 --
 xmloff/source/text/txtimp.cxx  |   36 ---
 xmlsecurity/inc/xmlsecurity/xmlsignaturehelper.hxx |   11 ---
 xmlsecurity/source/helper/xmlsignaturehelper.cxx   |   47 ---
 xmlsecurity/source/helper/xsecctl.cxx  |   64 -
 xmlsecurity/source/helper/xsecctl.hxx  |   10 ---
 xmlsecurity/source/helper/xsecsign.cxx |   30 -
 14 files changed, 264 deletions(-)

New commits:
commit f1c162967f032fcc5e4859f67c5b614c5dd19642
Author: Elton Chung el...@layerjet.com
Date:   Mon Feb 13 15:54:26 2012 +

Remove unused code

diff --git a/oox/inc/oox/xls/addressconverter.hxx 
b/oox/inc/oox/xls/addressconverter.hxx
index ce2c876..681c2bb 100644
--- a/oox/inc/oox/xls/addressconverter.hxx
+++ b/oox/inc/oox/xls/addressconverter.hxx
@@ -178,8 +178,6 @@ class BinRangeList : public ::std::vector BinRange 
 public:
 inline explicit BinRangeList() {}
 
-BinRangegetEnclosingRange() const;
-
 voidread( SequenceInputStream rStrm );
 voidread( BiffInputStream rStrm, bool bCol16Bit = true, 
bool bRow32Bit = false );
 voidwrite( BiffOutputStream rStrm, bool bCol16Bit = true, 
bool bRow32Bit = false ) const;
diff --git a/oox/inc/oox/xls/formulabase.hxx b/oox/inc/oox/xls/formulabase.hxx
index 0a3b35a..610b227 100644
--- a/oox/inc/oox/xls/formulabase.hxx
+++ b/oox/inc/oox/xls/formulabase.hxx
@@ -532,7 +532,6 @@ class FunctionParamInfoIterator
 public:
 explicitFunctionParamInfoIterator( const FunctionInfo 
rFuncInfo );
 
-const FunctionParamInfo getParamInfo() const;
 boolisCalcOnlyParam() const;
 boolisExcelOnlyParam() const;
 FunctionParamInfoIterator operator++();
@@ -555,9 +554,6 @@ public:
 explicitFunctionProvider( FilterType eFilter, BiffType eBiff, 
bool bImportFilter );
 virtual ~FunctionProvider();
 
-/** Returns the function info for an ODF function name, or 0 on error. */
-const FunctionInfo* getFuncInfoFromOdfFuncName( const ::rtl::OUString 
rFuncName ) const;
-
 /** Returns the function info for an OOXML function name, or 0 on error. */
 const FunctionInfo* getFuncInfoFromOoxFuncName( const ::rtl::OUString 
rFuncName ) const;
 
diff --git a/oox/inc/oox/xls/unitconverter.hxx 
b/oox/inc/oox/xls/unitconverter.hxx
index fe14e0f..a6ae756 100644
--- a/oox/inc/oox/xls/unitconverter.hxx
+++ b/oox/inc/oox/xls/unitconverter.hxx
@@ -94,8 +94,6 @@ public:
 /** Returns the datetime of the passed serial value, based on current 
nulldate. */
 ::com::sun::star::util::DateTime calcDateTimeFromSerial( double fSerial ) 
const;
 
-/** Returns an error string from the passed BIFF error code. */
-::rtl::OUString calcOoxErrorCode( sal_uInt8 nErrorCode ) const;
 /** Returns a BIFF error code from the passed error string. */
 sal_uInt8   calcBiffErrorCode( const ::rtl::OUString rErrorCode ) 
const;
 
diff --git a/oox/source/xls/addressconverter.cxx 
b/oox/source/xls/addressconverter.cxx
index 8a5a670..9fd9c38 100644
--- a/oox/source/xls/addressconverter.cxx
+++ b/oox/source/xls/addressconverter.cxx
@@ -181,24 +181,6 @@ void BinRange::write( BiffOutputStream rStrm, bool 
bCol16Bit, bool bRow32Bit )
 
 // 
 
-BinRange BinRangeList::getEnclosingRange() const
-{
-BinRange aRange;
-if( !empty() )
-{
-const_iterator aIt = begin(), aEnd = end();
-aRange = *aIt;
-for( ++aIt; aIt != aEnd; ++aIt )
-{
-aRange.maFirst.mnCol = ::std::min( aRange.maFirst.mnCol, 
aIt-maFirst.mnCol );
-aRange.maFirst.mnRow = ::std::min( aRange.maFirst.mnRow, 
aIt-maFirst.mnRow );
-aRange.maLast.mnCol  = ::std::max( aRange.maLast.mnCol, 
aIt-maLast.mnCol );
-aRange.maLast.mnRow  = ::std::max( aRange.maLast.mnRow, 
aIt-maLast.mnRow );
-}
-}
-return aRange;
-}
-
 void BinRangeList::read( SequenceInputStream rStrm )
 {
 sal_Int32 nCount = rStrm.readInt32();
diff --git a/oox/source/xls/formulabase.cxx b/oox/source/xls/formulabase.cxx
index e9ffa95..0b10950 100644
--- a/oox/source/xls/formulabase.cxx
+++ b/oox/source/xls/formulabase.cxx
@@ -797,12 +797,6 @@ FunctionParamInfoIterator::FunctionParamInfoIterator( 
const FunctionInfo rFuncI