[Libreoffice-commits] .: sc/source

Tor Lillqvist tml at kemper.freedesktop.org
Sun Apr 15 06:11:46 PDT 2012


 sc/source/filter/oox/defnamesbuffer.cxx   |    8 --------
 sc/source/filter/oox/drawingmanager.cxx   |    6 ------
 sc/source/filter/oox/pivottablebuffer.cxx |    9 ---------
 3 files changed, 23 deletions(-)

New commits:
commit bc3f0bd3e28b2be1175db685cbb6d60de495777c
Author: Tor Lillqvist <tml at iki.fi>
Date:   Sun Apr 15 15:08:50 2012 +0200

    WaE: unused functions

diff --git a/sc/source/filter/oox/defnamesbuffer.cxx b/sc/source/filter/oox/defnamesbuffer.cxx
index 9f63afc..ea767da 100644
--- a/sc/source/filter/oox/defnamesbuffer.cxx
+++ b/sc/source/filter/oox/defnamesbuffer.cxx
@@ -160,14 +160,6 @@ sal_Unicode lclGetBuiltinIdFromBaseName( const OUString& rModelName )
     return BIFF_DEFNAME_UNKNOWN;
 }
 
-bool lclIsFilterDatabaseName( const OUString& rModelName )
-{
-    for( const sal_Char* const* ppcName = sppcFilterDbNames; ppcName < STATIC_ARRAY_END( sppcFilterDbNames ); ++ppcName )
-        if( rModelName.equalsIgnoreAsciiCaseAscii( *ppcName ) )
-            return true;
-    return false;
-}
-
 OUString lclGetUpcaseModelName( const OUString& rModelName )
 {
     // TODO: i18n?
diff --git a/sc/source/filter/oox/drawingmanager.cxx b/sc/source/filter/oox/drawingmanager.cxx
index 8c46db1..a667e88 100644
--- a/sc/source/filter/oox/drawingmanager.cxx
+++ b/sc/source/filter/oox/drawingmanager.cxx
@@ -171,12 +171,6 @@ const sal_uInt16 BIFF_OBJCMO_AUTOFILL       = 0x4000;   /// Automatic fill forma
 
 // ----------------------------------------------------------------------------
 
-inline BiffInputStream& operator>>( BiffInputStream& rStrm, ShapeAnchor& rAnchor )
-{
-    rAnchor.importBiffAnchor( rStrm );
-    return rStrm;
-}
-
 } // namespace
 
 // ============================================================================
diff --git a/sc/source/filter/oox/pivottablebuffer.cxx b/sc/source/filter/oox/pivottablebuffer.cxx
index c203cbf..21659b1 100644
--- a/sc/source/filter/oox/pivottablebuffer.cxx
+++ b/sc/source/filter/oox/pivottablebuffer.cxx
@@ -210,15 +210,6 @@ const sal_Int16 BIFF_PTPAGEFIELDS_ALLITEMS          = 0x7FFD;
 const sal_Int16 BIFF_PTDATAFIELD_PREVIOUS           = 0x7FFB;
 const sal_Int16 BIFF_PTDATAFIELD_NEXT               = 0x7FFC;
 
-// ----------------------------------------------------------------------------
-
-OUString lclReadPivotString( const WorkbookHelper& rHelper, BiffInputStream& rStrm, sal_uInt16 nLen )
-{
-    if( nLen == BIFF_PT_NOSTRING )
-        return OUString();
-    return (rHelper.getBiff() == BIFF8) ? rStrm.readUniStringBody( nLen ) : rStrm.readCharArrayUC( nLen, rHelper.getTextEncoding() );
-}
-
 } // namespace
 
 // ============================================================================


More information about the Libreoffice-commits mailing list