[Libreoffice-commits] core.git: include/sax sax/source unusedcode.easy

Julien Nabet serval2412 at yahoo.fr
Sun Jul 21 04:04:18 PDT 2013


 include/sax/tools/converter.hxx |    6 ------
 sax/source/tools/converter.cxx  |   12 ------------
 unusedcode.easy                 |    2 --
 3 files changed, 20 deletions(-)

New commits:
commit 958556ff3cfbfa1cc1022477af1e2bd635cba153
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sun Jul 21 13:03:27 2013 +0200

    Remove unused convertDateTimeTZ and convertDateTZ
    
    Change-Id: I177584f6988cf3cb31c5508262d3907ef6be23d7

diff --git a/include/sax/tools/converter.hxx b/include/sax/tools/converter.hxx
index 7d253f3..7126f15 100644
--- a/include/sax/tools/converter.hxx
+++ b/include/sax/tools/converter.hxx
@@ -166,12 +166,6 @@ public:
                                  sal_Int16 const* pTimeZoneOffset,
                                    bool bAddTimeIf0AM = false );
 
-    static void convertDateTZ( OUStringBuffer& rBuffer,
-                    com::sun::star::util::DateWithTimezone const& rDate );
-
-    static void convertDateTimeTZ( OUStringBuffer& rBuffer,
-                com::sun::star::util::DateTimeWithTimezone const& rDateTime );
-
     /** convert ISO "date" or "dateTime" string to util::DateTime */
     static bool parseDateTime( com::sun::star::util::DateTime& rDateTime,
                                  boost::optional<sal_Int16> * pTimeZoneOffset,
diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx
index 3954f97..da3d3f1 100644
--- a/sax/source/tools/converter.cxx
+++ b/sax/source/tools/converter.cxx
@@ -1223,18 +1223,6 @@ lcl_AppendTimezone(OUStringBuffer & i_rBuffer, sal_Int16 const nOffset)
     }
 }
 
-void Converter::convertDateTZ( OUStringBuffer& rBuffer,
-                com::sun::star::util::DateWithTimezone const& rDate)
-{
-    convertDate(rBuffer, rDate.DateInTZ, &rDate.Timezone);
-}
-
-void Converter::convertDateTimeTZ( OUStringBuffer& rBuffer,
-            com::sun::star::util::DateTimeWithTimezone const& rDateTime)
-{
-    convertDateTime(rBuffer, rDateTime.DateTimeInTZ, &rDateTime.Timezone);
-}
-
 /** convert util::Date to ISO "date" string */
 void Converter::convertDate(
         OUStringBuffer& i_rBuffer,
diff --git a/unusedcode.easy b/unusedcode.easy
index 6f80115..243136e 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -153,8 +153,6 @@ oox::xls::SheetDataBuffer::writeXfIdRangeListProperties(int, int, oox::xls::ApiC
 oox::xls::StylesBuffer::writeStyleXfToPropertySet(oox::PropertySet&, int) const
 oox::xls::WorksheetGlobals::getColumns(oox::ValueRange const&) const
 oox::xls::WorksheetGlobals::getRows(oox::ValueRange const&) const
-sax::Converter::convertDateTZ(rtl::OUStringBuffer&, com::sun::star::util::DateWithTimezone const&)
-sax::Converter::convertDateTimeTZ(rtl::OUStringBuffer&, com::sun::star::util::DateTimeWithTimezone const&)
 sc::CellTextAttr::CellTextAttr(unsigned short, unsigned char)
 sc::sidebar::CellLineStyleValueSet::GetSelItem()
 sc::sidebar::CellLineStyleValueSet::SetCusEnable(bool)


More information about the Libreoffice-commits mailing list