summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls/grafctrl.cxx
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2024-05-29 13:07:38 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2024-05-29 17:07:23 +0200
commitf527bc48fc5c8812f6bc22ce10d7131d64e096ef (patch)
tree28f41f7f252d433b4f0a3794c59d975f5277a9f0 /svx/source/tbxctrls/grafctrl.cxx
parente73c7982b7c374b1b28535883bd8898edad25e50 (diff)
GetDescriptionOfMarkedObjects() -> GetMarkedObjectList().GetMarkDescription()
In order to reduce number of calls to GetMarkedObjectList() later on Change-Id: I2a2c87c2552cfc9002a9afc7d8eefb16a601b784 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168216 Tested-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'svx/source/tbxctrls/grafctrl.cxx')
-rw-r--r--svx/source/tbxctrls/grafctrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/grafctrl.cxx b/svx/source/tbxctrls/grafctrl.cxx
index 6ddb8450657a..a580d739414b 100644
--- a/svx/source/tbxctrls/grafctrl.cxx
+++ b/svx/source/tbxctrls/grafctrl.cxx
@@ -503,7 +503,7 @@ void SvxGrafAttrHelper::ExecuteGrafAttr( SfxRequest& rReq, SdrView& rView )
if( bUndo )
{
- aUndoStr = rView.GetDescriptionOfMarkedObjects() + " ";
+ aUndoStr = rView.GetMarkedObjectList().GetMarkDescription() + " ";
}
const SfxItemSet* pArgs = rReq.GetArgs();