Bug 2939: Remove IMPORT_C from inline functions. GCC_SURGE
authorPat Downey <patd@symbian.org>
Tue, 15 Jun 2010 15:22:54 +0100
branchGCC_SURGE
changeset 40 4b686cfad39d
parent 39 5c778154cc1d
child 54 e6894b852bc6
Bug 2939: Remove IMPORT_C from inline functions.
calendarui/regionalplugins/calenregionalutil/inc/calenlunarlocalizedinfo.h
calendarui/regionalplugins/inc/calenlunarlocalizedinfo.h
--- a/calendarui/regionalplugins/calenregionalutil/inc/calenlunarlocalizedinfo.h	Tue Jun 15 15:21:52 2010 +0100
+++ b/calendarui/regionalplugins/calenregionalutil/inc/calenlunarlocalizedinfo.h	Tue Jun 15 15:22:54 2010 +0100
@@ -51,13 +51,13 @@
      */
     IMPORT_C const TDesC& GetField( TField aField );
     
-    IMPORT_C const TDesC& Festival() { return iFestival; }
-    IMPORT_C const TDesC& SolarTerm() { return iSolarTerm; }
-    IMPORT_C const TDesC& FullLunarDate() { return iFullLunarDate; }
-    IMPORT_C const TDesC& LunarYear() { return iLunarYear; }    
-    IMPORT_C const TDesC& LunarMonthAndDay() { return iLunarMonthAndDay; }    
-    IMPORT_C const TDesC& AnimalYear() { return iAnimalYear; }    
-    IMPORT_C const TDesC& GregorianDate() { return iGregorianDate; }
+    const TDesC& Festival() { return iFestival; }
+    const TDesC& SolarTerm() { return iSolarTerm; }
+    const TDesC& FullLunarDate() { return iFullLunarDate; }
+    const TDesC& LunarYear() { return iLunarYear; }    
+    const TDesC& LunarMonthAndDay() { return iLunarMonthAndDay; }    
+    const TDesC& AnimalYear() { return iAnimalYear; }    
+    const TDesC& GregorianDate() { return iGregorianDate; }
 
 private:
     CCalenLunarLocalizedInfo();
--- a/calendarui/regionalplugins/inc/calenlunarlocalizedinfo.h	Tue Jun 15 15:21:52 2010 +0100
+++ b/calendarui/regionalplugins/inc/calenlunarlocalizedinfo.h	Tue Jun 15 15:22:54 2010 +0100
@@ -51,13 +51,13 @@
      */
     IMPORT_C const TDesC& GetField( TField aField );
     
-    IMPORT_C const TDesC& Festival() { return iFestival; }
-    IMPORT_C const TDesC& SolarTerm() { return iSolarTerm; }
-    IMPORT_C const TDesC& FullLunarDate() { return iFullLunarDate; }
-    IMPORT_C const TDesC& LunarYear() { return iLunarYear; }    
-    IMPORT_C const TDesC& LunarMonthAndDay() { return iLunarMonthAndDay; }    
-    IMPORT_C const TDesC& AnimalYear() { return iAnimalYear; }    
-    IMPORT_C const TDesC& GregorianDate() { return iGregorianDate; }
+    const TDesC& Festival() { return iFestival; }
+    const TDesC& SolarTerm() { return iSolarTerm; }
+    const TDesC& FullLunarDate() { return iFullLunarDate; }
+    const TDesC& LunarYear() { return iLunarYear; }    
+    const TDesC& LunarMonthAndDay() { return iLunarMonthAndDay; }    
+    const TDesC& AnimalYear() { return iAnimalYear; }    
+    const TDesC& GregorianDate() { return iGregorianDate; }
 
 private:
     CCalenLunarLocalizedInfo();