summaryrefslogtreecommitdiff
path: root/vcl/headless
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2018-11-28 22:21:57 +0100
committerJan Holesovsky <kendy@collabora.com>2018-12-07 11:52:35 +0100
commitec1b227b435a555464cb2a9fe747631485ebdbf1 (patch)
treeba4790390255eca7bd77e5ce9ecefdd0ea8fc466 /vcl/headless
parentbb05164545cfe7101db8fe300dde22d8bac3fc7d (diff)
custom widgets: Rename 'stock' to 'action'.
If the button has this property, it means it is located in the action area, not that it is a stock button per se. Change-Id: Ia57ad24d8cd4ff1d7b74d7ef82da0f352fe3deb3
Diffstat (limited to 'vcl/headless')
-rw-r--r--vcl/headless/CustomWidgetDraw.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/headless/CustomWidgetDraw.cxx b/vcl/headless/CustomWidgetDraw.cxx
index 8a920af1ee55..9e49390b0f3a 100644
--- a/vcl/headless/CustomWidgetDraw.cxx
+++ b/vcl/headless/CustomWidgetDraw.cxx
@@ -97,7 +97,7 @@ bool CustomWidgetDraw::drawNativeControl(ControlType eType, ControlPart ePart,
{
const PushButtonValue* pPushButtonValue = static_cast<const PushButtonValue*>(&rValue);
if (pPushButtonValue)
- aParameters.bIsStock = pPushButtonValue->mbIsStock;
+ aParameters.bIsAction = pPushButtonValue->mbIsAction;
bOK = s_pWidgetImplementation->drawPushButton(aParameters, nWidth, nHeight);
}
break;