diff options
author | Gabor Kelemen <kelemeng@ubuntu.com> | 2018-04-25 23:37:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-04-26 11:29:46 +0200 |
commit | 73156a5073fea9e1df45aa67c6cb8efb02da1275 (patch) | |
tree | 627e642da282c027faeef6205624bc70a6d1890f /svx/source/svdraw/svdouno.cxx | |
parent | 3a9d3f271c445641bebd057c4c91279f9b3cd7d5 (diff) |
Drop uses of ImpGetResStr l10n method from svx
This is a wrapper above SvxResId without added value
Change-Id: I1b0cdad3c01e741df1032d6a13aea74d66502144
Reviewed-on: https://gerrit.libreoffice.org/53489
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/svdraw/svdouno.cxx')
-rw-r--r-- | svx/source/svdraw/svdouno.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svx/source/svdraw/svdouno.cxx b/svx/source/svdraw/svdouno.cxx index 4a0e071ca8b9..830b5d8361f8 100644 --- a/svx/source/svdraw/svdouno.cxx +++ b/svx/source/svdraw/svdouno.cxx @@ -37,7 +37,7 @@ #include <svx/svdouno.hxx> #include <svx/svdpagv.hxx> #include <svx/svdmodel.hxx> -#include <svdglob.hxx> +#include <svx/dialmgr.hxx> #include <svx/strings.hrc> #include <svx/svdetc.hxx> #include <svx/svdview.hxx> @@ -236,7 +236,7 @@ void SdrUnoObj::SetContextWritingMode( const sal_Int16 _nContextWritingMode ) OUString SdrUnoObj::TakeObjNameSingul() const { - OUStringBuffer sName(ImpGetResStr(STR_ObjNameSingulUno)); + OUStringBuffer sName(SvxResId(STR_ObjNameSingulUno)); OUString aName(GetName()); if (!aName.isEmpty()) @@ -252,7 +252,7 @@ OUString SdrUnoObj::TakeObjNameSingul() const OUString SdrUnoObj::TakeObjNamePlural() const { - return ImpGetResStr(STR_ObjNamePluralUno); + return SvxResId(STR_ObjNamePluralUno); } SdrUnoObj* SdrUnoObj::Clone(SdrModel* pTargetModel) const |