diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-04-28 20:41:41 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-04-28 20:42:40 +0100 |
commit | d86ccaf3d518a0aa82d7ee4ce1d30cfeb2b6c8cb (patch) | |
tree | 819feba8341eb744c7689546871f98e02b65c759 | |
parent | f016ed2e4f7b8bec79fcaf8e4b566861a7b6ae76 (diff) |
odd unnecessary cast
Change-Id: Ie0018e454ddc9158188c2f7fe856a60fa879b7f7
-rw-r--r-- | vcl/source/control/tabctrl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/control/tabctrl.cxx b/vcl/source/control/tabctrl.cxx index 7ab6b2a4e40f..5e24802049af 100644 --- a/vcl/source/control/tabctrl.cxx +++ b/vcl/source/control/tabctrl.cxx @@ -626,7 +626,7 @@ void TabControl::ImplChangeTabPage( sal_uInt16 nId, sal_uInt16 nOldId ) { if ( ( GetStyle() & WB_NOBORDER ) ) { - Rectangle aRectNoTab( (const Point&)Point( 0, 0 ), GetSizePixel() ); + Rectangle aRectNoTab(Point(0, 0), GetSizePixel()); pPage->SetPosSizePixel( aRectNoTab.TopLeft(), aRectNoTab.GetSize() ); } else @@ -684,7 +684,7 @@ bool TabControl::ImplPosCurTabPage() { if ( ( GetStyle() & WB_NOBORDER ) ) { - Rectangle aRectNoTab( (const Point&)Point( 0, 0 ), GetSizePixel() ); + Rectangle aRectNoTab(Point(0, 0), GetSizePixel()); pItem->mpTabPage->SetPosSizePixel( aRectNoTab.TopLeft(), aRectNoTab.GetSize() ); return true; } |