summaryrefslogtreecommitdiff
path: root/svx/source/items
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 /svx/source/items
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 'svx/source/items')
-rw-r--r--svx/source/items/svxerr.cxx12
1 files changed, 1 insertions, 11 deletions
diff --git a/svx/source/items/svxerr.cxx b/svx/source/items/svxerr.cxx
index ec8a4059bcbb..b92764a043d9 100644
--- a/svx/source/items/svxerr.cxx
+++ b/svx/source/items/svxerr.cxx
@@ -25,7 +25,7 @@
SvxErrorHandler::SvxErrorHandler() :
SfxErrorHandler(
- getRID_SVXERRCODE(), ErrCodeArea::Svx, ErrCodeArea::Svx, SvxResLocale())
+ RID_SVXERRCODE, ErrCodeArea::Svx, ErrCodeArea::Svx, SvxResLocale())
{
}
@@ -40,14 +40,4 @@ void SvxErrorHandler::ensure()
theSvxErrorHandler::get();
}
-const ErrMsgCode* getRID_SVXERRCODE()
-{
- return RID_SVXERRCODE;
-}
-
-const ErrMsgCode* getRID_SVXERRCTX()
-{
- return RID_SVXERRCTX;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */