[Libreoffice-commits] core.git: svx/inc

Thomas Arnhold thomas at arnhold.org
Sat Apr 20 04:25:41 PDT 2013


 svx/inc/galtheme.hrc    |    4 ++++
 svx/inc/svx/gallery.hxx |    1 +
 2 files changed, 5 insertions(+)

New commits:
commit be3bf9c62d9928fc67a5eb8609c06087d5c1fd22
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Sat Apr 20 13:12:50 2013 +0200

    gallery: add some hints
    
    Change-Id: Idfc9a2de615e9e2fa3bd161d74f805defc5107e7

diff --git a/svx/inc/galtheme.hrc b/svx/inc/galtheme.hrc
index 60b4aeb..7eda727 100644
--- a/svx/inc/galtheme.hrc
+++ b/svx/inc/galtheme.hrc
@@ -21,6 +21,10 @@
 
 #define RID_GALLERYSTR_THEME_START          (6000)
 
+// ATTENTION: This list has to be in sync with
+//  * svx/inc/svx/gallery.hxx
+//  * share/gallery (theme files are identified by id)
+
 #define RID_GALLERYSTR_THEME_3D             (RID_GALLERYSTR_THEME_START + 1)
 #define RID_GALLERYSTR_THEME_ANIMATIONS                 (RID_GALLERYSTR_THEME_START + 2)
 #define RID_GALLERYSTR_THEME_BULLETS                    (RID_GALLERYSTR_THEME_START + 3)
diff --git a/svx/inc/svx/gallery.hxx b/svx/inc/svx/gallery.hxx
index 102a6de..f7b7b56 100644
--- a/svx/inc/svx/gallery.hxx
+++ b/svx/inc/svx/gallery.hxx
@@ -37,6 +37,7 @@
 #define SVX_GALLERY() (GalleryExplorer::GetGallery())
 
 // Defines for preinstalled themes
+// Has to be in sync with svx/inc/galtheme.hrc
 #define GALLERY_THEME_3D                1
 #define GALLERY_THEME_BULLETS       3
 #define GALLERY_THEME_HOMEPAGE      10


More information about the Libreoffice-commits mailing list