summaryrefslogtreecommitdiff
path: root/sd/source/ui/view
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 /sd/source/ui/view
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 'sd/source/ui/view')
-rw-r--r--sd/source/ui/view/ViewTabBar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/ViewTabBar.cxx b/sd/source/ui/view/ViewTabBar.cxx
index 384f021aa26a..082c78939e37 100644
--- a/sd/source/ui/view/ViewTabBar.cxx
+++ b/sd/source/ui/view/ViewTabBar.cxx
@@ -481,7 +481,7 @@ int ViewTabBar::GetHeight (void)
{
int nHeight (0);
- if (maTabBarButtons.size() > 0)
+ if (!maTabBarButtons.empty())
{
TabPage* pActivePage (mpTabControl->GetTabPage(
mpTabControl->GetCurPageId()));