[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/tools/kfile-plugins/ooo
From:       Simon Hausmann <hausmann () kde ! org>
Date:       2003-05-07 13:23:00
[Download RAW message or body]

CVS commit by hausmann: 

- const, before Seli finds it :)


  M +4 -4      kfile_ooo.cpp   1.2


--- koffice/tools/kfile-plugins/ooo/kfile_ooo.cpp  #1.1:1.2
@@ -37,5 +37,5 @@ typedef KGenericFactory<KOfficePlugin> K
 K_EXPORT_COMPONENT_FACTORY(kfile_ooo, KOfficeFactory( "kfile_ooo" ));
 
-static const char * mimetypes[] =
+static const char * const mimetypes[] =
 { "application/vnd.sun.xml.calc",   "application/vnd.sun.xml.calc.template",
   "application/vnd.sun.xml.draw",   "application/vnd.sun.xml.draw.template",
@@ -46,5 +46,5 @@ static const char * mimetypes[] =
   0};
 
-static const char * Advanced[] =
+static const char * const Advanced[] =
  {"meta:print-date"     , I18N_NOOP("Print Date"),
   "meta:printed-by"     , I18N_NOOP("Printed By"),
@@ -52,5 +52,5 @@ static const char * Advanced[] =
   0};
 
-static const char * Information[] =
+static const char * const Information[] =
  {"dc:title",       I18N_NOOP("Title")      , 
   "dc:subject",     I18N_NOOP("Subject")    , 
@@ -60,5 +60,5 @@ static const char * Information[] =
   0};
 
-static const char * Statistics[] =
+static const char * const Statistics[] =
  {"meta:table-count"    , I18N_NOOP("Tables"),
   "meta:image-count"    , I18N_NOOP("Images"),


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic