summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/viewer/mediawindow.cxx4
-rw-r--r--avmedia/source/viewer/mediawindow_impl.cxx9
-rw-r--r--avmedia/source/viewer/mediawindow_impl.hxx2
3 files changed, 8 insertions, 7 deletions
diff --git a/avmedia/source/viewer/mediawindow.cxx b/avmedia/source/viewer/mediawindow.cxx
index f1ef17a4b664..4cc6d4e043b4 100644
--- a/avmedia/source/viewer/mediawindow.cxx
+++ b/avmedia/source/viewer/mediawindow.cxx
@@ -130,9 +130,9 @@ void MediaWindow::setPosSize( const tools::Rectangle& rNewRect )
}
-void MediaWindow::setPointer( const Pointer& rPointer )
+void MediaWindow::setPointer( PointerStyle nPointer )
{
- mpImpl->setPointer( rPointer );
+ mpImpl->setPointer( nPointer );
}
diff --git a/avmedia/source/viewer/mediawindow_impl.cxx b/avmedia/source/viewer/mediawindow_impl.cxx
index 434e8b42faa7..d76923bf09f8 100644
--- a/avmedia/source/viewer/mediawindow_impl.cxx
+++ b/avmedia/source/viewer/mediawindow_impl.cxx
@@ -36,6 +36,7 @@
#include <vcl/svapp.hxx>
#include <vcl/commandevent.hxx>
#include <vcl/event.hxx>
+#include <vcl/ptrstyle.hxx>
#include <com/sun/star/awt/SystemPointer.hpp>
#include <com/sun/star/lang/XComponent.hpp>
@@ -480,18 +481,18 @@ void MediaWindowImpl::setPosSize(const tools::Rectangle& rRect)
SetPosSizePixel(rRect.TopLeft(), rRect.GetSize());
}
-void MediaWindowImpl::setPointer(const Pointer& rPointer)
+void MediaWindowImpl::setPointer(PointerStyle aPointer)
{
- SetPointer(rPointer);
+ SetPointer(aPointer);
if (mpChildWindow)
- mpChildWindow->SetPointer(rPointer);
+ mpChildWindow->SetPointer(aPointer);
if (mxPlayerWindow.is())
{
long nPointer;
- switch (rPointer.GetStyle())
+ switch (aPointer)
{
case PointerStyle::Cross:
nPointer = awt::SystemPointer::CROSS;
diff --git a/avmedia/source/viewer/mediawindow_impl.hxx b/avmedia/source/viewer/mediawindow_impl.hxx
index e1fc3d56fcc0..e188c8876004 100644
--- a/avmedia/source/viewer/mediawindow_impl.hxx
+++ b/avmedia/source/viewer/mediawindow_impl.hxx
@@ -99,7 +99,7 @@ public:
void setPosSize( const tools::Rectangle& rRect );
- void setPointer( const Pointer& rPointer );
+ void setPointer( PointerStyle nPointer );
private: