summaryrefslogtreecommitdiff
path: root/toolkit/source/awt/vclxtoolkit.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/source/awt/vclxtoolkit.cxx')
-rw-r--r--toolkit/source/awt/vclxtoolkit.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx
index 9e9c547e4ba6..c13d6c3fc8bb 100644
--- a/toolkit/source/awt/vclxtoolkit.cxx
+++ b/toolkit/source/awt/vclxtoolkit.cxx
@@ -87,7 +87,6 @@
#include <toolkit/helper/vclunohelper.hxx>
#include <helper/property.hxx>
-#include <toolkit/helper/convert.hxx>
#include <controls/filectrl.hxx>
#include <controls/svmedit.hxx>
#include <controls/table/tablecontrol.hxx>
@@ -1875,7 +1874,7 @@ css::uno::Reference< css::awt::XWindowPeer > VCLXToolkit::ImplCreateWindow(
}
else if ( !VCLUnoHelper::IsZero( rDescriptor.Bounds ) )
{
- tools::Rectangle aRect = VCLRectangle( rDescriptor.Bounds );
+ tools::Rectangle aRect = VCLUnoHelper::ConvertToVCLRect(rDescriptor.Bounds);
pNewWindow->SetPosSizePixel( aRect.TopLeft(), aRect.GetSize() );
}