diff options
Diffstat (limited to 'include/toolkit/helper/convert.hxx')
-rw-r--r-- | include/toolkit/helper/convert.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/toolkit/helper/convert.hxx b/include/toolkit/helper/convert.hxx index a189f8562519..3e4d23696249 100644 --- a/include/toolkit/helper/convert.hxx +++ b/include/toolkit/helper/convert.hxx @@ -46,14 +46,14 @@ inline ::Point VCLPoint( const css::awt::Point& rAWTPoint ) return ::Point( rAWTPoint.X, rAWTPoint.Y ); } -inline css::awt::Rectangle AWTRectangle( const ::Rectangle& rVCLRect ) +inline css::awt::Rectangle AWTRectangle( const ::tools::Rectangle& rVCLRect ) { return css::awt::Rectangle( rVCLRect.Left(), rVCLRect.Top(), rVCLRect.GetWidth(), rVCLRect.GetHeight() ); } -inline ::Rectangle VCLRectangle( const css::awt::Rectangle& rAWTRect ) +inline ::tools::Rectangle VCLRectangle( const css::awt::Rectangle& rAWTRect ) { - return ::Rectangle( ::Point( rAWTRect.X, rAWTRect.Y ), ::Size( rAWTRect.Width, rAWTRect.Height ) ); + return ::tools::Rectangle( ::Point( rAWTRect.X, rAWTRect.Y ), ::Size( rAWTRect.Width, rAWTRect.Height ) ); } #endif // INCLUDED_TOOLKIT_HELPER_CONVERT_HXX |