diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-10-12 14:12:03 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-10-12 14:12:03 +0000 |
commit | 2a0181a49b5c0a7a5553bc93ac79ff05f2dbbb6b (patch) | |
tree | 69bdff47382c71a5383177b2dabc1071d64adc80 /svtools/source/control/filectrl.cxx | |
parent | INTEGRATION: CWS sb59 (1.14.64); FILE MERGED (diff) | |
download | core-2a0181a49b5c0a7a5553bc93ac79ff05f2dbbb6b.tar.gz core-2a0181a49b5c0a7a5553bc93ac79ff05f2dbbb6b.zip |
INTEGRATION: CWS sb59 (1.6.300); FILE MERGED
2006/07/25 08:52:53 sb 1.6.300.1: #i67487# Made code warning-free (wntmsci10).
Diffstat (limited to 'svtools/source/control/filectrl.cxx')
-rw-r--r-- | svtools/source/control/filectrl.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/control/filectrl.cxx b/svtools/source/control/filectrl.cxx index 85b56e128db6..699746613898 100644 --- a/svtools/source/control/filectrl.cxx +++ b/svtools/source/control/filectrl.cxx @@ -4,9 +4,9 @@ * * $RCSfile: filectrl.cxx,v $ * - * $Revision: 1.7 $ + * $Revision: 1.8 $ * - * last change: $Author: obo $ $Date: 2006-09-17 14:37:44 $ + * last change: $Author: obo $ $Date: 2006-10-12 15:12:03 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -176,7 +176,7 @@ void FileControl::Resize() Size aOutSz = GetOutputSizePixel(); long nButtonTextWidth = maButton.GetTextWidth( maButtonText ); - if ( (mnInternalFlags & FILECTRL_ORIGINALBUTTONTEXT == 0) || + if ( ((mnInternalFlags & FILECTRL_ORIGINALBUTTONTEXT) == 0) || nButtonTextWidth < aOutSz.Width()/3 && ( mnFlags & FILECTRL_RESIZEBUTTONBYPATHLEN ? ( maEdit.GetTextWidth( maEdit.GetText() ) |