summaryrefslogtreecommitdiff
path: root/vcl/source/control
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-02 22:41:14 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-10-03 09:58:36 +0100
commitcad78399e403e3635de06775c0c50bf24f74ecd8 (patch)
tree57ea6d02c94817694ed1c9f65ef0284c44909d8f /vcl/source/control
parentb3584b90aacd307490bfd15d2ace63e805a8b57a (diff)
support loading certain stock images as button symbols
Change-Id: I475a4bc7e0686fa17beceb68f1aed016ef158117
Diffstat (limited to 'vcl/source/control')
-rw-r--r--vcl/source/control/button.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index ae78dc0474e1..db244efd3218 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -904,8 +904,6 @@ void PushButton::ImplDrawPushButtonContent( OutputDevice* pDev, sal_uLong nDrawF
else
{
Rectangle aSymbolRect;
- // FIXME: (GetStyle() & WB_FLATBUTTON) != 0 is preliminary
- // in the next major this should be replaced by "true"
ImplDrawAlignedImage( pDev, aPos, aSize, bLayout, nImageSep, nDrawFlags,
nTextStyle, IsSymbol() ? &aSymbolRect : NULL, true );