summaryrefslogtreecommitdiff
path: root/svtools/source/toolpanel/tabbargeometry.cxx
diff options
context:
space:
mode:
authorFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-04-01 17:52:36 +0200
committerFrank Schoenheit [fs] <frank.schoenheit@sun.com>2010-04-01 17:52:36 +0200
commit8187d63ccda9c2cb184ce055f6c42577546d6251 (patch)
treec64ed0f73b4787fc16046d69954f3cd3ccc6d746 /svtools/source/toolpanel/tabbargeometry.cxx
parenta42067c4fd10629bd6b1f3a301b1e8eab5542584 (diff)
slidecopy: improved A11Y API implementations for the ToolPanelDeck
items left: - A11Y representation of the scroll buttons of the PanelTabBar - AccessibleToolPanelTabBar event notifications - consolidate AccessibleToolPanelDeck/TabBar/Item?
Diffstat (limited to 'svtools/source/toolpanel/tabbargeometry.cxx')
-rw-r--r--svtools/source/toolpanel/tabbargeometry.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/svtools/source/toolpanel/tabbargeometry.cxx b/svtools/source/toolpanel/tabbargeometry.cxx
index 2e34ab6da636..f0f5c66d3af3 100644
--- a/svtools/source/toolpanel/tabbargeometry.cxx
+++ b/svtools/source/toolpanel/tabbargeometry.cxx
@@ -274,10 +274,9 @@ namespace svt
// the rect of the last item
const Rectangle& rLastItemRect( i_bMinimalSize ? io_rItems.rbegin()->aIconOnlyArea : io_rItems.rbegin()->aCompleteArea );
- const Point aBottomRight( rLastItemRect.BottomRight() );
return Size(
- aBottomRight.X() + 1 + m_aItemsInset.Right(),
- aBottomRight.Y() + 1 + m_aItemsInset.Bottom()
+ rLastItemRect.Left() + 1 + m_aItemsInset.Right(),
+ rLastItemRect.Top() + 1 + rLastItemRect.Bottom() + m_aItemsInset.Bottom()
);
}