[Libreoffice-commits] .: sd/source
Gert Faller
gfaller at kemper.freedesktop.org
Sun Dec 12 00:23:40 PST 2010
sd/source/filter/xml/sdxmlwrp.cxx | 2 +-
sd/source/ui/slideshow/slideshowimpl.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 974255d5b53571b254de8ad2036f81b611ee4f65
Author: Gert Faller <gertfaller at aliceadsl.fr>
Date: Sun Dec 12 09:23:19 2010 +0100
change of __READONLY_DATA define to const
diff --git a/sd/source/filter/xml/sdxmlwrp.cxx b/sd/source/filter/xml/sdxmlwrp.cxx
index 76473b7..334412d 100644
--- a/sd/source/filter/xml/sdxmlwrp.cxx
+++ b/sd/source/filter/xml/sdxmlwrp.cxx
@@ -101,7 +101,7 @@ extern void TransformOOo2xDocument( SdDrawDocument* pDocument );
#define MAP_LEN(x) x, sizeof(x) - 1
-#define XML_STRING(i, x) sal_Char __READONLY_DATA i[sizeof(x)] = x
+#define XML_STRING(i, x) sal_Char const i[sizeof(x)] = x
XML_STRING( sXML_metaStreamName, "meta.xml");
XML_STRING( sXML_styleStreamName, "styles.xml" );
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx
index 3499dff..436019a 100644
--- a/sd/source/ui/slideshow/slideshowimpl.cxx
+++ b/sd/source/ui/slideshow/slideshowimpl.cxx
@@ -116,7 +116,7 @@ namespace sd
// Slots, welche im Sfx verwaltet werden und in der SlideShow disabled
// werden sollen (muss in Reihenfolge der SIDs geordnet sein)
-static USHORT __READONLY_DATA pAllowed[] =
+static USHORT const pAllowed[] =
{
SID_OPENDOC , // 5501 // damit interne Spruenge klappen
SID_JUMPTOMARK , // 5598
More information about the Libreoffice-commits
mailing list