summaryrefslogtreecommitdiff
path: root/svx/source/tbxctrls
diff options
context:
space:
mode:
authorOcke.Janssen@oracle.com <Ocke.Janssen@oracle.com>2011-12-06 01:28:00 +0100
committerThorsten Behrens <tbehrens@suse.com>2011-12-06 09:39:08 +0100
commit9753031300bb9bd61bbba2f617900422cdbde1ff (patch)
tree3145fbd0b22e89a0ae9607e90ac5d58043784d33 /svx/source/tbxctrls
parent0851453849d36e5f58be24316d9bf910ee12faf8 (diff)
impress210: #i105310# set tooltip for items and some refactoring
# HG changeset patch # User Ocke.Janssen@oracle.com # Date 1297164555 -3600 # Node ID 902597eed5414555107034f62583c4ccc2cdfd4b # Parent 2f0f385e8b25938777bb9fed6a86a2ff43e0b7cd impress210: #i105310# set tooltip for items and some refactoring
Diffstat (limited to 'svx/source/tbxctrls')
-rw-r--r--svx/source/tbxctrls/tbcontrl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx
index 9135fdcda37d..b5c50a52036e 100644
--- a/svx/source/tbxctrls/tbcontrl.cxx
+++ b/svx/source/tbxctrls/tbcontrl.cxx
@@ -2014,7 +2014,7 @@ Window* SvxStyleToolBoxControl::CreateItemWindow( Window *pParent )
pImpl->aClearForm,
pImpl->aMore,
pImpl->bSpecModeWriter || pImpl->bSpecModeCalc );
- if( pImpl->aDefaultStyles.size())
+ if( !pImpl->aDefaultStyles.empty())
pBox->SetDefaultStyle( pImpl->aDefaultStyles[0] );
// Set visibility listener to bind/unbind controller
pBox->SetVisibilityListener( LINK( this, SvxStyleToolBoxControl, VisibilityNotification ));