summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-12-21 20:33:57 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-12-29 18:02:26 +0000
commit5aa0ac02a0cb9b7a387366f841bc603cbe396eaa (patch)
tree01b2f9529a5807c131f1582abbd7c25b93ab4017 /sc
parentd906615e35c1a255c58c3f2085c8e2f110eb522a (diff)
callcatcher: update unused code list
Change-Id: I47467b53705f8059a829126a598e29a1105df13c
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/inc/autofilterbuffer.hxx4
-rw-r--r--sc/source/filter/oox/autofilterbuffer.cxx65
-rw-r--r--sc/source/ui/inc/docsh.hxx1
3 files changed, 0 insertions, 70 deletions
diff --git a/sc/source/filter/inc/autofilterbuffer.hxx b/sc/source/filter/inc/autofilterbuffer.hxx
index 7b4ca5cfb616..6cfc7c55cad9 100644
--- a/sc/source/filter/inc/autofilterbuffer.hxx
+++ b/sc/source/filter/inc/autofilterbuffer.hxx
@@ -135,10 +135,6 @@ struct FilterCriterionModel
/** Imports the criterion model from the passed BIFF12 stream. */
void readBiffData( SequenceInputStream& rStrm );
- /** Imports the initial criterion data from the passed BIFF5/BIFF8 stream. */
- void readBiffData( BiffInputStream& rStrm );
- /** Imports the trailing string data from the passed BIFF5/BIFF8 stream. */
- void readString( BiffInputStream& rStrm, BiffType eBiff, rtl_TextEncoding eTextEnc );
};
// ----------------------------------------------------------------------------
diff --git a/sc/source/filter/oox/autofilterbuffer.cxx b/sc/source/filter/oox/autofilterbuffer.cxx
index 6ccb193b55a6..9665e5c47141 100644
--- a/sc/source/filter/oox/autofilterbuffer.cxx
+++ b/sc/source/filter/oox/autofilterbuffer.cxx
@@ -389,71 +389,6 @@ void FilterCriterionModel::readBiffData( SequenceInputStream& rStrm )
}
}
-void FilterCriterionModel::readBiffData( BiffInputStream& rStrm )
-{
- sal_uInt8 nOperator;
- rStrm >> mnDataType >> nOperator;
- setBiffOperator( nOperator );
-
- switch( mnDataType )
- {
- case BIFF_FILTER_DATATYPE_NONE:
- rStrm.skip( 8 );
- break;
- case BIFF_FILTER_DATATYPE_RK:
- maValue <<= BiffHelper::calcDoubleFromRk( rStrm.readInt32() );
- rStrm.skip( 4 );
- break;
- case BIFF_FILTER_DATATYPE_DOUBLE:
- maValue <<= rStrm.readDouble();
- break;
- case BIFF_FILTER_DATATYPE_STRING:
- rStrm.skip( 4 );
- rStrm >> mnStrLen;
- rStrm.skip( 3 );
- break;
- case BIFF_FILTER_DATATYPE_BOOLEAN:
- {
- sal_uInt8 nValue, nType;
- rStrm >> nValue >> nType;
- rStrm.skip( 6 );
- switch( nType )
- {
- case BIFF_BOOLERR_BOOL: maValue <<= (nValue != 0); break;
- case BIFF_BOOLERR_ERROR: maValue <<= BiffHelper::calcDoubleFromError( nValue ); break;
- default: OSL_ENSURE( false, "FilterCriterionModel::readBiffData - unknown type" );
- }
- }
- break;
- case BIFF_FILTER_DATATYPE_EMPTY:
- rStrm.skip( 8 );
- if( mnOperator == XML_equal )
- maValue <<= OUString();
- break;
- case BIFF_FILTER_DATATYPE_NOTEMPTY:
- rStrm.skip( 8 );
- if( mnOperator == XML_notEqual )
- maValue <<= OUString();
- break;
- default:
- OSL_ENSURE( false, "FilterCriterionModel::readBiffData - unexpected data type" );
- rStrm.skip( 8 );
- }
-}
-
-void FilterCriterionModel::readString( BiffInputStream& rStrm, BiffType eBiff, rtl_TextEncoding eTextEnc )
-{
- if( (mnDataType == BIFF_FILTER_DATATYPE_STRING) && (mnStrLen > 0) )
- {
- OUString aValue = (eBiff == BIFF8) ?
- rStrm.readUniStringBody( mnStrLen, true ) :
- rStrm.readCharArrayUC( mnStrLen, eTextEnc, true );
- aValue = aValue.trim();
- if( !aValue.isEmpty() )
- maValue <<= aValue;
- }
-}
-
// ----------------------------------------------------------------------------
CustomFilter::CustomFilter( const WorkbookHelper& rHelper ) :
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx
index aa0afde1173c..d4451948df32 100644
--- a/sc/source/ui/inc/docsh.hxx
+++ b/sc/source/ui/inc/docsh.hxx
@@ -180,7 +180,6 @@ public:
using SotObject::GetInterface;
using SfxShell::Activate; // with sal_Bool bMDI
using SfxShell::Deactivate; // with sal_Bool bMDI
- using SfxObjectShell::Print; // print styles
#ifdef ENABLE_TELEPATHY
SC_DLLPRIVATE ScCollaboration* GetCollaboration();