[Libreoffice-commits] .: chart2/source sc/source

Gert Faller gfaller at kemper.freedesktop.org
Sun Dec 12 00:17:32 PST 2010


 chart2/source/model/filter/XMLFilter.cxx |    2 +-
 sc/source/core/data/docpool.cxx          |    2 +-
 sc/source/ui/app/msgpool.cxx             |    2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 4c68c7c819125f2d816b1782fdd8379c1cd1b5e5
Author: Gert Faller <gertfaller at aliceadsl.fr>
Date:   Sun Dec 12 09:17:08 2010 +0100

    change of __READONLY_DATA define to const

diff --git a/chart2/source/model/filter/XMLFilter.cxx b/chart2/source/model/filter/XMLFilter.cxx
index 78c9c6e..ffbf216 100644
--- a/chart2/source/model/filter/XMLFilter.cxx
+++ b/chart2/source/model/filter/XMLFilter.cxx
@@ -72,7 +72,7 @@ using ::osl::MutexGuard;
 // ----------------------------------------
 namespace
 {
-#define LOCAL_CONST_STR(i, x) sal_Char __READONLY_DATA i[sizeof(x)] = x
+#define LOCAL_CONST_STR(i, x) sal_Char const i[sizeof(x)] = x
 #define MAP_LEN(x) x, sizeof(x) - 1
 
 LOCAL_CONST_STR( sXML_metaStreamName,       "meta.xml");
diff --git a/sc/source/core/data/docpool.cxx b/sc/source/core/data/docpool.cxx
index 3a06413..f8e2b97 100644
--- a/sc/source/core/data/docpool.cxx
+++ b/sc/source/core/data/docpool.cxx
@@ -94,7 +94,7 @@ USHORT* ScDocumentPool::pVersionMap11 = 0;
 
 // ATTR_FONT_TWOLINES (not used) was changed to ATTR_USERDEF (not saved in binary format) in 641c
 
-static SfxItemInfo __READONLY_DATA  aItemInfos[] =
+static SfxItemInfo const  aItemInfos[] =
 {
     { SID_ATTR_CHAR_FONT,			SFX_ITEM_POOLABLE },	// ATTR_FONT
     { SID_ATTR_CHAR_FONTHEIGHT,		SFX_ITEM_POOLABLE },	// ATTR_FONT_HEIGHT
diff --git a/sc/source/ui/app/msgpool.cxx b/sc/source/ui/app/msgpool.cxx
index 409fc43..6c4254e 100644
--- a/sc/source/ui/app/msgpool.cxx
+++ b/sc/source/ui/app/msgpool.cxx
@@ -40,7 +40,7 @@
 
 //------------------------------------------------------------------------
 
-static SfxItemInfo __READONLY_DATA aMsgItemInfos[] =
+static SfxItemInfo const aMsgItemInfos[] =
 {
     { 0,						 SFX_ITEM_POOLABLE },	// SCITEM_STRING
     { 0,						 SFX_ITEM_POOLABLE },	// SCITEM_SEARCHDATA - nicht mehr benutzt !!!


More information about the Libreoffice-commits mailing list