diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-08-01 17:49:04 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-08-01 22:19:41 +0200 |
commit | 3c498ff3de6b4fb0ccdebc19d1b4dc5452e6d70b (patch) | |
tree | 73846b313a09044183aac2b98e23b294f56d517f /vcl | |
parent | a9f8f86387e7ef7eb5dd17528075e510a1b084a5 (diff) |
drop newly unused EnableImageDisplay + EnableTextDisplay
Change-Id: I534c5fcfe2e8b55d0f01075b62e7168a10e805a9
Reviewed-on: https://gerrit.libreoffice.org/76819
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/control/button.cxx | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx index 5f6194e52bd5..1c1b673770d3 100644 --- a/vcl/source/control/button.cxx +++ b/vcl/source/control/button.cxx @@ -531,22 +531,6 @@ void Button::SetSmallSymbol() mpButtonData->mbSmallSymbol = true; } -void Button::EnableImageDisplay( bool bEnable ) -{ - if( bEnable ) - mpButtonData->mnButtonState &= ~DrawButtonFlags::NoImage; - else - mpButtonData->mnButtonState |= DrawButtonFlags::NoImage; -} - -void Button::EnableTextDisplay( bool bEnable ) -{ - if( bEnable ) - mpButtonData->mnButtonState &= ~DrawButtonFlags::NoText; - else - mpButtonData->mnButtonState |= DrawButtonFlags::NoText; -} - bool Button::IsSmallSymbol () const { return mpButtonData->mbSmallSymbol; |