[Libreoffice-commits] .: i18nutil/inc

Takeshi Abe tabe at kemper.freedesktop.org
Mon Jul 4 16:41:41 PDT 2011


 i18nutil/inc/i18nutil/oneToOneMapping.hxx |    4 ----
 i18nutil/inc/i18nutil/x_rtl_ustring.h     |   10 +---------
 2 files changed, 1 insertion(+), 13 deletions(-)

New commits:
commit f02d5078ca45a9174ed65e00904e1d3270f962fa
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Tue Jul 5 08:40:22 2011 +0900

    removed obsolete code/comments

diff --git a/i18nutil/inc/i18nutil/oneToOneMapping.hxx b/i18nutil/inc/i18nutil/oneToOneMapping.hxx
index 06a1d3a..5e84e37 100644
--- a/i18nutil/inc/i18nutil/oneToOneMapping.hxx
+++ b/i18nutil/inc/i18nutil/oneToOneMapping.hxx
@@ -57,10 +57,6 @@ public:
     oneToOneMapping( OneToOneMappingTable_t *rpTable, const size_t rnSize, const size_t rnUnitSize = sizeof(OneToOneMappingTable_t) );
     virtual ~oneToOneMapping();
 
-    // make index for fast search
-    // bluedawrf: not used
-//        void makeIndex();
-
     // binary search
     virtual sal_Unicode find( const sal_Unicode nKey ) const;
 
diff --git a/i18nutil/inc/i18nutil/x_rtl_ustring.h b/i18nutil/inc/i18nutil/x_rtl_ustring.h
index fdd31fa..07efa5d 100644
--- a/i18nutil/inc/i18nutil/x_rtl_ustring.h
+++ b/i18nutil/inc/i18nutil/x_rtl_ustring.h
@@ -49,14 +49,6 @@ inline void SAL_CALL x_rtl_uString_new_WithLength( rtl_uString ** newStr, sal_In
   *newStr = (rtl_uString*) rtl_allocateMemory ( sizeof(rtl_uString) + sizeof(sal_Unicode) * nLen);
   (*newStr)->refCount = _refCount;
   (*newStr)->length = nLen;
-
-  // rtl_uString is defined in rtl/ustring.h as below:
-  //typedef struct _rtl_uString
-  //{
-  //    sal_Int32		refCount;
-  //	sal_Int32		length;
-  //	sal_Unicode 	buffer[1];
-  //} rtl_uString;
 }	
 
 inline rtl_uString * SAL_CALL x_rtl_uString_new_WithLength( sal_Int32 nLen, sal_Int32 _refCount = 0 )
@@ -76,6 +68,6 @@ inline void SAL_CALL x_rtl_uString_release( rtl_uString * value )
 }
 
 
-#endif // #ifndef _I18N_X_RTL_USTRING_H_
+#endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */


More information about the Libreoffice-commits mailing list