summaryrefslogtreecommitdiff
path: root/sc/source/filter/oox/numberformatsbuffer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/oox/numberformatsbuffer.cxx')
-rw-r--r--sc/source/filter/oox/numberformatsbuffer.cxx24
1 files changed, 0 insertions, 24 deletions
diff --git a/sc/source/filter/oox/numberformatsbuffer.cxx b/sc/source/filter/oox/numberformatsbuffer.cxx
index a7709b3d28f5..340d15c8b1b1 100644
--- a/sc/source/filter/oox/numberformatsbuffer.cxx
+++ b/sc/source/filter/oox/numberformatsbuffer.cxx
@@ -43,16 +43,12 @@
namespace oox {
namespace xls {
-
-
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::lang;
using namespace ::com::sun::star::uno;
using namespace ::com::sun::star::util;
-
-
namespace {
/** Stores the number format used in Calc for an Excel built-in number format. */
@@ -435,8 +431,6 @@ struct BuiltinFormat
#define UTF8_KO_MIN "\353\266\204"
#define UTF8_KO_SEC "\354\264\210"
-
-
/** Default number format table. Last parent of all other tables, used for unknown locales. */
static const BuiltinFormat spBuiltinFormats_BASE[] =
{
@@ -533,8 +527,6 @@ static const BuiltinFormat spBuiltinFormats_BASE[] =
NUMFMT_ENDTABLE()
};
-
-
/** Arabic, U.A.E. */
static const BuiltinFormat spBuiltinFormats_ar_AE[] =
{
@@ -1634,8 +1626,6 @@ static const BuiltinFormat spBuiltinFormats_zh_TW[] =
NUMFMT_ENDTABLE()
};
-
-
/** Specifies a built-in number format table for a specific locale. */
struct BuiltinFormatTable
{
@@ -1795,22 +1785,16 @@ static const BuiltinFormatTable spBuiltinFormatTables[] =
} // namespace
-
-
NumFmtModel::NumFmtModel() :
mnPredefId( -1 )
{
}
-
-
ApiNumFmtData::ApiNumFmtData() :
mnIndex( 0 )
{
}
-
-
namespace {
sal_Int32 lclCreatePredefinedFormat( const Reference< XNumberFormats >& rxNumFmts,
@@ -1861,8 +1845,6 @@ sal_Int32 lclCreateFormat( const Reference< XNumberFormats >& rxNumFmts,
return nIndex;
}
-
-
/** Functor for converting an XML number format to an API number format index. */
class NumberFormatFinalizer
{
@@ -1893,8 +1875,6 @@ NumberFormatFinalizer::NumberFormatFinalizer( const WorkbookHelper& rHelper ) :
} // namespace
-
-
NumberFormat::NumberFormat( const WorkbookHelper& rHelper ) :
WorkbookHelper( rHelper )
{
@@ -1949,8 +1929,6 @@ void NumberFormat::writeToPropertyMap( PropertyMap& rPropMap ) const
rPropMap.setProperty( PROP_NumberFormat, maApiData.mnIndex);
}
-
-
NumberFormatsBuffer::NumberFormatsBuffer( const WorkbookHelper& rHelper )
: WorkbookHelper(rHelper)
, mnHighestId(0)
@@ -2077,8 +2055,6 @@ void NumberFormatsBuffer::insertBuiltinFormats()
}
}
-
-
} // namespace xls
} // namespace oox