[Libreoffice-commits] .: dbaccess/source reportdesign/source

Gert Faller gfaller at kemper.freedesktop.org
Sun Dec 12 00:16:46 PST 2010


 dbaccess/source/filter/xml/xmlfilter.cxx     |    4 ++--
 dbaccess/source/ui/dlg/dbadmin.cxx           |    2 +-
 reportdesign/source/filter/xml/xmlHelper.cxx |    2 +-
 reportdesign/source/filter/xml/xmlfilter.cxx |    4 ++--
 4 files changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 32516b5b00c84f5a9c556a01bfa2027b72936d47
Author: Gert Faller <gertfaller at aliceadsl.fr>
Date:   Sun Dec 12 09:16:14 2010 +0100

    change of __READONLY_DATA define to const

diff --git a/dbaccess/source/filter/xml/xmlfilter.cxx b/dbaccess/source/filter/xml/xmlfilter.cxx
index 1fc2c05..99519b3 100644
--- a/dbaccess/source/filter/xml/xmlfilter.cxx
+++ b/dbaccess/source/filter/xml/xmlfilter.cxx
@@ -217,8 +217,8 @@ namespace dbaxml
             }
         };
     }
-    sal_Char __READONLY_DATA sXML_np__db[] = "_db";
-    sal_Char __READONLY_DATA sXML_np___db[] = "__db";
+    sal_Char const sXML_np__db[] = "_db";
+    sal_Char const sXML_np___db[] = "__db";
 
     using namespace ::com::sun::star::util;
     /// read a component (file + filter version)
diff --git a/dbaccess/source/ui/dlg/dbadmin.cxx b/dbaccess/source/ui/dlg/dbadmin.cxx
index ed31bb8..0c1ecab 100644
--- a/dbaccess/source/ui/dlg/dbadmin.cxx
+++ b/dbaccess/source/ui/dlg/dbadmin.cxx
@@ -411,7 +411,7 @@ SfxItemSet* ODbAdminDialog::createItemSet(SfxItemSet*& _rpSet, SfxItemPool*& _rp
     *pCounter++ = new OptionalBoolItem( DSID_PRIMARY_KEY_SUPPORT );
 
     // create the pool
-    static SfxItemInfo __READONLY_DATA aItemInfos[DSID_LAST_ITEM_ID - DSID_FIRST_ITEM_ID + 1] =
+    static SfxItemInfo const aItemInfos[DSID_LAST_ITEM_ID - DSID_FIRST_ITEM_ID + 1] =
     {
         {0,0},
         {0,0},
diff --git a/reportdesign/source/filter/xml/xmlHelper.cxx b/reportdesign/source/filter/xml/xmlHelper.cxx
index edcc09e..47e5b2c 100644
--- a/reportdesign/source/filter/xml/xmlHelper.cxx
+++ b/reportdesign/source/filter/xml/xmlHelper.cxx
@@ -91,7 +91,7 @@ const XMLPropertyHandler* OPropertyHandlerFactory::GetPropertyHandler(sal_Int32
     {
         case XML_RPT_ALGINMENT:
             {
-                static SvXMLEnumMapEntry __READONLY_DATA pXML_VerticalAlign_Enum[] =
+                static SvXMLEnumMapEntry const pXML_VerticalAlign_Enum[] =
                 {
                     { XML_TOP,			style::VerticalAlignment_TOP },
                     { XML_MIDDLE,		style::VerticalAlignment_MIDDLE },
diff --git a/reportdesign/source/filter/xml/xmlfilter.cxx b/reportdesign/source/filter/xml/xmlfilter.cxx
index 67e43e7..c9236d9 100644
--- a/reportdesign/source/filter/xml/xmlfilter.cxx
+++ b/reportdesign/source/filter/xml/xmlfilter.cxx
@@ -85,8 +85,8 @@ using namespace ::com::sun::star::io;
 using namespace ::com::sun::star::report;
 using namespace ::com::sun::star::xml::sax;
 using namespace xmloff;
-    sal_Char __READONLY_DATA sXML_np__rpt[] = "_report";
-    sal_Char __READONLY_DATA sXML_np___rpt[] = "__report";
+    sal_Char const sXML_np__rpt[] = "_report";
+    sal_Char const sXML_np___rpt[] = "__report";
 
     using namespace ::com::sun::star::util;
 


More information about the Libreoffice-commits mailing list