summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/viewfun7.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/view/viewfun7.cxx')
-rw-r--r--sc/source/ui/view/viewfun7.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/ui/view/viewfun7.cxx b/sc/source/ui/view/viewfun7.cxx
index 90e823892b1b..8bc10782a632 100644
--- a/sc/source/ui/view/viewfun7.cxx
+++ b/sc/source/ui/view/viewfun7.cxx
@@ -42,6 +42,7 @@
#include <drwlayer.hxx>
#include <drwtrans.hxx>
#include <globstr.hrc>
+#include <scresid.hxx>
#include <chartlis.hxx>
#include <docuno.hxx>
#include <docsh.hxx>
@@ -113,7 +114,7 @@ void ScViewFunc::PasteDraw( const Point& rLogicPos, SdrModel* pModel,
ScDrawView* pScDrawView = GetScDrawView();
if (bGroup)
- pScDrawView->BegUndo( ScGlobal::GetRscString( STR_UNDO_PASTE ) );
+ pScDrawView->BegUndo( ScResId( STR_UNDO_PASTE ) );
bool bSameDoc = ( pDragEditView && pDragEditView->GetModel() == pScDrawView->GetModel() );
if (bSameDoc)
@@ -398,7 +399,7 @@ bool ScViewFunc::PasteGraphic( const Point& rPos, const Graphic& rGraphic,
SdrObject* pPickObj = pScDrawView->PickObj(rPos, pScDrawView->getHitTolLog(), pPageView);
if (pPickObj)
{
- const OUString aBeginUndo(ScGlobal::GetRscString(STR_UNDO_DRAGDROP));
+ const OUString aBeginUndo(ScResId(STR_UNDO_DRAGDROP));
SdrObject* pResult = pScDrawView->ApplyGraphicToObject(
*pPickObj,
rGraphic,