[ooo-build-commit] Branch 'ooo/OOO320' - vcl/source
Jan Holesovsky
kendy at kemper.freedesktop.org
Fri Oct 30 19:50:21 PDT 2009
vcl/source/window/status.cxx | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
New commits:
commit 1886e9884c25735de32cd3be0311aafc0a74157e
Author: Ivo Hinkelmann <ihi at openoffice.org>
Date: Thu Oct 29 12:22:30 2009 +0000
CWS-TOOLING: integrate CWS c07v026_OOO320
2009-10-19 10:26:11 +0200 mav r277008 : #b6886425# use standard solution to encode the URL for the Gnome
2009-10-19 08:38:28 +0200 mav r276998 : #b6886425# encode the URL correctly for the Gnome
2009-10-07 12:49:32 +0200 os r276749 : #b6887668# resize items depending on the item text length
2009-09-28 18:42:32 +0200 dr r276499 : #b6883075# shrink print ranges to Excel sheet limits
2009-09-28 16:50:25 +0200 od r276497 : #b6882166# method <SwSectionFrm::SimpleFormat(..)>
- assure notification on position changes, otherwise the layout will not be correct.
2009-09-15 18:31:37 +0200 dr r276185 : #b6872823# check cursor before using, patch by aw
2009-09-09 10:52:52 +0200 od r275975 : #b6879723# correct handling of new list level attributes regarding paragraph indent values,
especially in case of OOo 2.0 and former hidden compatibility option "Ignore first line
indent on numbering"
2009-09-08 11:10:31 +0200 od r275918 : #b6876367# method <lcl_SetTxtFmtColl(..)>
- do not reset list attributes at paragraph, if its applied list style
will not change due to the newly applied paragraph style.
2009-09-07 12:48:58 +0200 obo r275890 : Merge from c07v025 into this CWS
diff --git a/vcl/source/window/status.cxx b/vcl/source/window/status.cxx
index c15909d..28967d2 100644
--- a/vcl/source/window/status.cxx
+++ b/vcl/source/window/status.cxx
@@ -1320,8 +1320,13 @@ void StatusBar::SetItemText( USHORT nItemId, const XubString& rText )
// adjust item width - see also DataChanged()
long nFudge = GetTextHeight()/4;
long nWidth = GetTextWidth( pItem->maText ) + nFudge;
- if( nWidth > pItem->mnWidth + STATUSBAR_OFFSET )
+ if( (nWidth > pItem->mnWidth + STATUSBAR_OFFSET) ||
+ ((nWidth < pItem->mnWidth) && (mnDX - STATUSBAR_OFFSET) < mnItemsWidth ))
+ {
pItem->mnWidth = nWidth + STATUSBAR_OFFSET;
+ ImplFormat();
+ Invalidate();
+ }
// Item neu Zeichen, wenn StatusBar sichtbar und
// UpdateMode gesetzt ist
More information about the ooo-build-commit
mailing list