summaryrefslogtreecommitdiffstats
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-03-07 15:40:34 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-03-09 11:13:34 -0500
commite3ebacf3fdbafeafe02e2976c25c9299b1fd6bbd (patch)
treee256e24e64406f11d16e3fb0e370cfa339012447 /sc
parentGet number-grouping to work again. (diff)
downloadcore-e3ebacf3fdbafeafe02e2976c25c9299b1fd6bbd.tar.gz
core-e3ebacf3fdbafeafe02e2976c25c9299b1fd6bbd.zip
These functions are no longer used.
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/dpgroup.cxx30
1 files changed, 1 insertions, 29 deletions
diff --git a/sc/source/core/data/dpgroup.cxx b/sc/source/core/data/dpgroup.cxx
index 31db8c7bef44..2e986ce8f572 100644
--- a/sc/source/core/data/dpgroup.cxx
+++ b/sc/source/core/data/dpgroup.cxx
@@ -144,41 +144,13 @@ sal_Bool lcl_Search( SCCOL nSourceDim, const ScDPCache* pCache , const std::vect
return bFound;
}
-void lcl_Insert( SCCOL nSourceDim, const ScDPCache* pCache , std::vector< SCROW >& vIdx, SCROW nNew )
+void lcl_Insert( SCCOL nSourceDim, const ScDPCache* pCache , std::vector< SCROW >& vIdx, SCROW nNew )
{
SCROW nIndex = 0;
if ( !lcl_Search( nSourceDim, pCache, vIdx, nNew ,nIndex ) )
vIdx.insert( vIdx.begin()+nIndex, nNew );
}
-template<bool bUpdateData>
-SCROW lcl_InsertValue(SCCOL nSourceDim, const ScDPCache* pCache, std::vector<SCROW>& vIdx, const ScDPItemData & rData);
-
-template<>
-SCROW lcl_InsertValue<false>(SCCOL nSourceDim, const ScDPCache* pCache, std::vector<SCROW>& vIdx, const ScDPItemData & rData)
-{
- SCROW nNewID = pCache->GetAdditionalItemID(rData);
- lcl_Insert(nSourceDim, pCache, vIdx, nNewID);
- return nNewID;
-}
-
-template<>
-SCROW lcl_InsertValue<true>(SCCOL nSourceDim, const ScDPCache* pCache, std::vector<SCROW>& vIdx, const ScDPItemData & rData)
-{
- SCROW nItemId = lcl_InsertValue<false>( nSourceDim, pCache, vIdx, rData );
-
- if( const ScDPItemData *pData = pCache->GetItemDataById( nSourceDim, nItemId ) )
- const_cast<ScDPItemData&>(*pData) = rData;
-
- return nItemId;
-}
-
-template<bool bUpdateData>
-void lcl_InsertValue ( SCCOL nSourceDim, const ScDPCache* pCache, std::vector< SCROW >& vIdx, const String& rString, const double& fValue )
-{
- lcl_InsertValue<bUpdateData>(nSourceDim, pCache, vIdx, ScDPItemData(fValue));
-}
-
void lcl_AppendDateStr( rtl::OUStringBuffer& rBuffer, double fValue, SvNumberFormatter* pFormatter )
{
sal_uLong nFormat = pFormatter->GetStandardFormat( NUMBERFORMAT_DATE, ScGlobal::eLnge );