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/svdedtv1.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/svdedtv1.cxx')
-rw-r--r-- | svx/source/svdraw/svdedtv1.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/svx/source/svdraw/svdedtv1.cxx b/svx/source/svdraw/svdedtv1.cxx index 8297cd96d3d0..cffae4f8bed4 100644 --- a/svx/source/svdraw/svdedtv1.cxx +++ b/svx/source/svdraw/svdedtv1.cxx @@ -30,7 +30,7 @@ #include <vcl/weld.hxx> #include <getallcharpropids.hxx> -#include <svdglob.hxx> +#include <svx/dialmgr.hxx> #include <svx/svditer.hxx> #include <svx/strings.hrc> @@ -177,9 +177,9 @@ void SdrEditView::MoveMarkedObj(const Size& rSiz, bool bCopy) if( bUndo ) { - OUString aStr(ImpGetResStr(STR_EditMove)); + OUString aStr(SvxResId(STR_EditMove)); if (bCopy) - aStr += ImpGetResStr(STR_EditWithCopy); + aStr += SvxResId(STR_EditWithCopy); // needs its own UndoGroup because of its parameters BegUndo(aStr,GetDescriptionOfMarkedObjects(),SdrRepeatFunc::Move); } @@ -212,7 +212,7 @@ void SdrEditView::ResizeMarkedObj(const Point& rRef, const Fraction& xFact, cons { OUString aStr {ImpGetDescriptionString(STR_EditResize)}; if (bCopy) - aStr+=ImpGetResStr(STR_EditWithCopy); + aStr+=SvxResId(STR_EditWithCopy); BegUndo(aStr); } @@ -307,7 +307,7 @@ void SdrEditView::RotateMarkedObj(const Point& rRef, long nAngle, bool bCopy) if( bUndo ) { OUString aStr {ImpGetDescriptionString(STR_EditRotate)}; - if (bCopy) aStr+=ImpGetResStr(STR_EditWithCopy); + if (bCopy) aStr+=SvxResId(STR_EditWithCopy); BegUndo(aStr); } @@ -373,7 +373,7 @@ void SdrEditView::MirrorMarkedObj(const Point& rRef1, const Point& rRef2, bool b aStr = ImpGetDescriptionString(STR_EditMirrorDiag); else aStr = ImpGetDescriptionString(STR_EditMirrorFree); - if (bCopy) aStr+=ImpGetResStr(STR_EditWithCopy); + if (bCopy) aStr+=SvxResId(STR_EditWithCopy); BegUndo(aStr); } @@ -465,7 +465,7 @@ void SdrEditView::ShearMarkedObj(const Point& rRef, long nAngle, bool bVShear, b { OUString aStr {ImpGetDescriptionString(STR_EditShear)}; if (bCopy) - aStr+=ImpGetResStr(STR_EditWithCopy); + aStr+=SvxResId(STR_EditWithCopy); BegUndo(aStr); } @@ -581,7 +581,7 @@ void SdrEditView::CrookMarkedObj(const Point& rRef, const Point& rRad, SdrCrookM { OUString aStr {ImpGetDescriptionString(bNoContortion ? STR_EditCrook : STR_EditCrookContortion)}; if (bCopy) - aStr+=ImpGetResStr(STR_EditWithCopy); + aStr+=SvxResId(STR_EditWithCopy); BegUndo(aStr); } @@ -654,7 +654,7 @@ void SdrEditView::DistortMarkedObj(const tools::Rectangle& rRef, const XPolygon& { OUString aStr {ImpGetDescriptionString(STR_EditDistort)}; if (bCopy) - aStr+=ImpGetResStr(STR_EditWithCopy); + aStr+=SvxResId(STR_EditWithCopy); BegUndo(aStr); } @@ -1578,7 +1578,7 @@ void SdrEditView::SetGeoAttrToMarked(const SfxItemSet& rAttr) ForcePossibilities(); - BegUndo(ImpGetResStr(STR_EditTransform),GetDescriptionOfMarkedObjects()); + BegUndo(SvxResId(STR_EditTransform),GetDescriptionOfMarkedObjects()); if (bSetAttr) { SetAttrToMarked(aSetAttr,false); |