sd/inc/pageformatpanel.hrc |    5 +++++
 sw/inc/pageformatpanel.hrc |    5 +++++
 2 files changed, 10 insertions(+)

New commits:
commit c503fc6e478510f0fec72cd88b776ca683a00021
Author:     Jan Holesovsky <ke...@collabora.com>
AuthorDate: Wed Nov 6 17:25:39 2019 +0100
Commit:     Jan Holesovsky <ke...@collabora.com>
CommitDate: Thu Nov 7 08:21:10 2019 +0100

    android: ODR fix of RID_PAGEFORMATPANEL_MARGINS_CM.
    
    Without this, we get a linking error that RID_PAGEFORMATPANEL_MARGINS_CM
    is defined twice.
    
    Change-Id: Ib9c07adcb0a8def991d1e39429c1bb4947cd7d32
    Reviewed-on: https://gerrit.libreoffice.org/82159
    Tested-by: Jenkins
    Reviewed-by: Jan Holesovsky <ke...@collabora.com>

diff --git a/sd/inc/pageformatpanel.hrc b/sd/inc/pageformatpanel.hrc
index 23325e26ac2f..b7309ee69748 100644
--- a/sd/inc/pageformatpanel.hrc
+++ b/sd/inc/pageformatpanel.hrc
@@ -12,6 +12,9 @@
 
 #define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" 
u8##String)
 
+namespace sd
+{
+
 // To translators: this is a listbox labelled by "Margins:", inch units
 const char* RID_PAGEFORMATPANEL_MARGINS_INCH[] =
 {
@@ -36,6 +39,8 @@ const char* RID_PAGEFORMATPANEL_MARGINS_CM[] =
     NC_("RID_PAGEFORMATPANEL_MARGINS_CM", "Wide"),
 };
 
+}
+
 #endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s 
cinkeys+=0=break: */
diff --git a/sw/inc/pageformatpanel.hrc b/sw/inc/pageformatpanel.hrc
index ecad14cf51a2..048ff93a8776 100644
--- a/sw/inc/pageformatpanel.hrc
+++ b/sw/inc/pageformatpanel.hrc
@@ -12,6 +12,9 @@
 
 #define NC_(Context, String) reinterpret_cast<char const *>(Context "\004" 
u8##String)
 
+namespace sw
+{
+
 // To translators: this is a listbox labelled by "Margins:", inch units
 const char* RID_PAGEFORMATPANEL_MARGINS_INCH[] =
 {
@@ -38,6 +41,8 @@ const char* RID_PAGEFORMATPANEL_MARGINS_CM[] =
     NC_("RID_PAGEFORMATPANEL_MARGINS_CM", "Mirrored")
 };
 
+}
+
 #endif
 
 /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s 
cinkeys+=0=break: */
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to