diff options
author | Andrzej Hunt <andrzej@ahunt.org> | 2015-11-11 10:05:25 +0100 |
---|---|---|
committer | Andrzej Hunt <andrzej@ahunt.org> | 2015-11-11 09:30:42 +0000 |
commit | 81b8ca683d44ba9c37f2dc8c74470a86ce70513f (patch) | |
tree | c190ce76fcd6dc459b16a608b794b2f53190e85d /sw/source/uibase/uno | |
parent | ee74decafeb524a014ec186a13015a8d539a763c (diff) |
Implement LOK_CALLBACK_MOUSE_POINTER
Change-Id: I8d1f63208baf277b0a9d15908f3ea7ff3b56bf10
Reviewed-on: https://gerrit.libreoffice.org/19883
Reviewed-by: Andrzej Hunt <andrzej@ahunt.org>
Tested-by: Andrzej Hunt <andrzej@ahunt.org>
Diffstat (limited to 'sw/source/uibase/uno')
-rw-r--r-- | sw/source/uibase/uno/unotxdoc.cxx | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx index 2ab018bc95d8..104a5d227d12 100644 --- a/sw/source/uibase/uno/unotxdoc.cxx +++ b/sw/source/uibase/uno/unotxdoc.cxx @@ -3165,6 +3165,17 @@ bool SwXTextDocument::isMimeTypeSupported() return aDataHelper.GetXTransferable().is() && SwTransferable::IsPaste(*pWrtShell, aDataHelper); } +Pointer SwXTextDocument::getPointer() +{ + SolarMutexGuard aGuard; + + SwWrtShell* pWrtShell = pDocShell->GetWrtShell(); + if (!pWrtShell) + return Pointer(); + + return pWrtShell->GetView().GetEditWin().GetPointer(); +} + int SwXTextDocument::getPart() { SolarMutexGuard aGuard; |