summaryrefslogtreecommitdiff
path: root/svx/source/sdr
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2024-12-04 18:10:11 +0100
committerMichael Weghorn <m.weghorn@posteo.de>2024-12-04 20:47:14 +0100
commit3d780e72b93773a25f796feb488b0fd878c490b5 (patch)
tree7031e08095a5dc6ebc296bd71c99ebe382af2c43 /svx/source/sdr
parent2449571a3ed5f0f5daeb60db6e740a5d830afa4a (diff)
Move helpers for css::awt/VCL point/rect/size to vcl::unohelper
Move helpers to convert between the Rectangle, Point and Size classes in vcl and in css::awt from VCLUnoHelper (in the toolkit module) to vcl::unohelper (in the vcl module), for reuse in vcl in upcoming commits. Change-Id: I7b11c8a6b8c843a01ce25b1e4c0fb1869ad1e6ee Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177816 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Diffstat (limited to 'svx/source/sdr')
-rw-r--r--svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx
index b6f8a92bbae3..67a30926a630 100644
--- a/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx
+++ b/svx/source/sdr/contact/viewobjectcontactofunocontrol.cxx
@@ -45,6 +45,7 @@
#include <vcl/canvastools.hxx>
#include <vcl/svapp.hxx>
+#include <vcl/unohelp.hxx>
#include <vcl/window.hxx>
#include <comphelper/lok.hxx>
#include <comphelper/processfactory.hxx>
@@ -230,7 +231,7 @@ namespace sdr::contact {
::tools::Rectangle ControlHolder::getPosSize() const
{
// no check whether we're valid, this is the responsibility of the caller
- return VCLUnoHelper::ConvertToVCLRect( m_xControlWindow->getPosSize() );
+ return vcl::unohelper::ConvertToVCLRect( m_xControlWindow->getPosSize() );
}