summaryrefslogtreecommitdiff
path: root/svtools/source/contnr/svlbitm.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2007-06-12 04:29:16 +0000
committerOliver Bolte <obo@openoffice.org>2007-06-12 04:29:16 +0000
commit64411c3ab300af9efa1444259b48efe878357fea (patch)
treec838708950b94fba88250ebb38d533b938b38d8c /svtools/source/contnr/svlbitm.cxx
parent0affb73ada7170245ddd1f3b59758a37275ede8d (diff)
INTEGRATION: CWS dba23ui (1.12.124); FILE MERGED
2007/05/21 11:45:44 fs 1.12.124.1: #i72799#
Diffstat (limited to 'svtools/source/contnr/svlbitm.cxx')
-rw-r--r--svtools/source/contnr/svlbitm.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/svtools/source/contnr/svlbitm.cxx b/svtools/source/contnr/svlbitm.cxx
index 227d5e57a03d..4a01081e0e9f 100644
--- a/svtools/source/contnr/svlbitm.cxx
+++ b/svtools/source/contnr/svlbitm.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: svlbitm.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: ihi $ $Date: 2006-12-20 14:17:08 $
+ * last change: $Author: obo $ $Date: 2007-06-12 05:29:16 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -252,6 +252,8 @@ void SvLBoxString::Paint( const Point& rPos, SvLBox& rDev, USHORT /* nFlags */,
if ( _pEntry )
{
USHORT nStyle = rDev.IsEnabled() ? 0 : TEXT_DRAW_DISABLE;
+ if ( rDev.IsEntryMnemonicsEnabled() )
+ nStyle |= TEXT_DRAW_MNEMONIC;
rDev.DrawText( Rectangle(rPos,GetSize(&rDev,_pEntry)),aStr,nStyle);
}
else