diff options
author | Tor Lillqvist <tml@collabora.com> | 2022-01-27 11:37:47 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2022-01-27 13:14:26 +0100 |
commit | 9a828b4d1fcd5bfa471df404dc40fe3ddfccfbb9 (patch) | |
tree | f6cc07718ff85b24f652ff2857923e19722cced3 /vcl/osx | |
parent | 4fa33b05e8128ced16240b663c1d3a487afb3f1d (diff) |
Add a SAL_INFO listing types on pasteboard
Change-Id: I6b1fa8da47f1140fc42287b05ee8d2afe5ee5d68
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/129031
Tested-by: Tor Lillqvist <tml@collabora.com>
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'vcl/osx')
-rw-r--r-- | vcl/osx/OSXTransferable.cxx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/vcl/osx/OSXTransferable.cxx b/vcl/osx/OSXTransferable.cxx index f3ed1ec83fae..493d5b44cc9a 100644 --- a/vcl/osx/OSXTransferable.cxx +++ b/vcl/osx/OSXTransferable.cxx @@ -19,6 +19,7 @@ #include <sal/config.h> +#include <sal/log.hxx> #include <utility> #include <com/sun/star/datatransfer/UnsupportedFlavorException.hpp> @@ -30,7 +31,8 @@ #include "DataFlavorMapping.hxx" -using namespace osl; +#include <quartz/utils.h> + using namespace cppu; using namespace com::sun::star::uno; using namespace com::sun::star::datatransfer; @@ -161,6 +163,9 @@ void OSXTransferable::initClipboardItemList() static_cast<XTransferable*>(this)); } + SAL_INFO("vcl.macos.clipboard", "Types on pasteboard: " << NSStringArrayToOUString(pboardFormats)); + + mFlavorList = mDataFlavorMapper->typesArrayToFlavorSequence(pboardFormats); } |