diff options
Diffstat (limited to 'sc/source/filter/oox/unitconverter.cxx')
-rw-r--r-- | sc/source/filter/oox/unitconverter.cxx | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sc/source/filter/oox/unitconverter.cxx b/sc/source/filter/oox/unitconverter.cxx index 30b4c9e8ea4c..12e164b1a1d2 100644 --- a/sc/source/filter/oox/unitconverter.cxx +++ b/sc/source/filter/oox/unitconverter.cxx @@ -34,15 +34,11 @@ namespace oox { namespace xls { - - using namespace ::com::sun::star; using namespace ::com::sun::star::awt; using namespace ::com::sun::star::uno; - - namespace { const double MM100_PER_INCH = 2540.0; @@ -50,8 +46,6 @@ const double MM100_PER_POINT = MM100_PER_INCH / 72.0; const double MM100_PER_TWIP = MM100_PER_POINT / 20.0; const double MM100_PER_EMU = 1.0 / 360.0; - - /** Returns true, if the passed year is a leap year. */ inline bool lclIsLeapYear( sal_Int32 nYear ) { @@ -93,8 +87,6 @@ sal_Int32 lclGetDays( const util::Date& rDate ) } // namespace - - UnitConverter::UnitConverter( const WorkbookHelper& rHelper ) : WorkbookHelper( rHelper ), maCoeffs( UNIT_ENUM_SIZE, 1.0 ), @@ -237,8 +229,6 @@ double UnitConverter::getCoefficient( Unit eUnit ) const return maCoeffs[ static_cast< size_t >( eUnit ) ]; } - - } // namespace xls } // namespace oox |