summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2021-03-01 11:57:52 +0100
committerXisco Fauli <xiscofauli@libreoffice.org>2021-03-01 19:52:12 +0100
commit7def8c3cd8a1d9b4df2478210055b06382e6d493 (patch)
treeab6c476b65032e7d60a74284223a8e885e7a46c7 /vcl
parent5d2cbd772da09c92b0cfc0d9424efceeee852862 (diff)
tdf#140528: sw: Add UItest
Change-Id: I29704c48456fe579c123a8f97e5f231667cc8ccc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111739 Tested-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/uitest/uiobject.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/uitest/uiobject.cxx b/vcl/source/uitest/uiobject.cxx
index be619a77d53d..1e023fc9ca0c 100644
--- a/vcl/source/uitest/uiobject.cxx
+++ b/vcl/source/uitest/uiobject.cxx
@@ -1676,6 +1676,7 @@ StringMap MenuButtonUIObject::get_state()
{
StringMap aMap = WindowUIObject::get_state();
aMap["Label"] = mxMenuButton->GetDisplayText();
+ aMap["CurrentItem"] = OUString::createFromAscii(mxMenuButton->GetCurItemIdent());
return aMap;
}