summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-02 11:00:41 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-02 12:19:01 +0100
commit884cbe174ee5e343e9ed56093421aad3e467bf57 (patch)
treebb62e25fe5d1768cc1f493634573eb22473d2944 /include/svx
parent11cc1afb2fd46c3dfdd519ad51c5fb2e7e3b7837 (diff)
RID_* can be extern global variables
no need to access them via methods Change-Id: If0d1a65d6f56ce2fc585749d974ba13c9f2749b2 Reviewed-on: https://gerrit.libreoffice.org/47245 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/svxerr.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/svx/svxerr.hxx b/include/svx/svxerr.hxx
index e746649ea317..f428a920af61 100644
--- a/include/svx/svxerr.hxx
+++ b/include/svx/svxerr.hxx
@@ -54,8 +54,8 @@ public:
static void ensure();
};
-SVX_DLLPUBLIC const ErrMsgCode* getRID_SVXERRCODE();
-SVX_DLLPUBLIC const ErrMsgCode* getRID_SVXERRCTX();
+SVX_DLLPUBLIC extern const ErrMsgCode RID_SVXERRCODE[];
+SVX_DLLPUBLIC extern const ErrMsgCode RID_SVXERRCTX[];
#endif