summaryrefslogtreecommitdiff
path: root/vcl/osx/clipboard.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-01-19 13:46:22 +0100
committerStephan Bergmann <sbergman@redhat.com>2018-01-19 21:17:27 +0100
commit78a5ed18dc3368cfa78cfcfb54a08c600b4c0ab5 (patch)
tree3c3cd6b3c87f530c992ea94b7f09a4aaec149401 /vcl/osx/clipboard.cxx
parent9ece0b1adae5e52c4301005514fb54750e860f6f (diff)
loplugin:redundantcast (after loplugin:cstylecast, macOS)
Change-Id: I4b40f768ec6b0e42e91d7a6af6d5c23a94ab9e9d Reviewed-on: https://gerrit.libreoffice.org/48192 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'vcl/osx/clipboard.cxx')
-rw-r--r--vcl/osx/clipboard.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/osx/clipboard.cxx b/vcl/osx/clipboard.cxx
index 53326fb6634d..d0c047f54ae8 100644
--- a/vcl/osx/clipboard.cxx
+++ b/vcl/osx/clipboard.cxx
@@ -292,7 +292,7 @@ void AquaClipboard::provideDataForType(NSPasteboard* sender, const NSString* typ
if (dp.get() != nullptr)
{
- pBoardData = (NSData*)dp->getSystemData();
+ pBoardData = dp->getSystemData();
[sender setData: pBoardData forType:const_cast<NSString*>(type)];
}
}