diff options
author | Rüdiger Timm <rt@openoffice.org> | 2005-01-28 16:27:10 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2005-01-28 16:27:10 +0000 |
commit | 092ae3a00aa9dc9087f0bf2d365ebc4ce1c6a2ff (patch) | |
tree | 04d8779da7311a34ac309e61265629767c695b10 /sfx2/source/statbar | |
parent | 22d8700636cbd0efd934338377c4681438c39afa (diff) |
INTEGRATION: CWS calc28 (1.5.54); FILE MERGED
2005/01/24 16:30:47 nn 1.5.54.2: RESYNC: (1.5-1.6); FILE MERGED
2005/01/07 12:31:12 nn 1.5.54.1: #i34458# conversion from awt rectangle to tools rectangle
Diffstat (limited to 'sfx2/source/statbar')
-rw-r--r-- | sfx2/source/statbar/stbitem.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/statbar/stbitem.cxx b/sfx2/source/statbar/stbitem.cxx index f7e06acd5cb3..e0fcab8b3160 100644 --- a/sfx2/source/statbar/stbitem.cxx +++ b/sfx2/source/statbar/stbitem.cxx @@ -2,9 +2,9 @@ * * $RCSfile: stbitem.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: kz $ $Date: 2005-01-18 16:17:10 $ + * last change: $Author: rt $ $Date: 2005-01-28 17:27:10 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -116,6 +116,9 @@ #ifndef _TOOLKIT_HELPER_VCLUNOHELPER_HXX_ #include <toolkit/unohlp.hxx> #endif +#ifndef _TOOLKIT_HELPER_CONVERT_HXX_ +#include <toolkit/helper/convert.hxx> +#endif using namespace ::com::sun::star; @@ -460,10 +463,7 @@ throw ( ::uno::RuntimeException ) OutputDevice* pOutDev = VCLUnoHelper::GetOutputDevice( xGraphics );; if ( pOutDev ) { - ::Rectangle aRect( rOutputRectangle.X, - rOutputRectangle.Y, - rOutputRectangle.Width, - rOutputRectangle.Height ); + ::Rectangle aRect = VCLRectangle( rOutputRectangle ); UserDrawEvent aUserDrawEvent( pOutDev, aRect, (USHORT)nItemId, (USHORT)nStyle ); Paint( aUserDrawEvent ); } |