diff options
Diffstat (limited to 'vcl/osx')
-rw-r--r-- | vcl/osx/clipboard.cxx | 2 | ||||
-rw-r--r-- | vcl/osx/salnativewidgets.cxx | 4 |
2 files changed, 3 insertions, 3 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)]; } } diff --git a/vcl/osx/salnativewidgets.cxx b/vcl/osx/salnativewidgets.cxx index 42add9e30d5a..d311526c0168 100644 --- a/vcl/osx/salnativewidgets.cxx +++ b/vcl/osx/salnativewidgets.cxx @@ -921,8 +921,8 @@ bool AquaSalGraphics::drawNativeControl(ControlType nType, ControlState nUpperState = ControlState::ENABLED;//state of the upper button ControlState nLowerState = ControlState::ENABLED;//and of the lower button if(pSpinButtonVal) {//pSpinButtonVal is sometimes null - nUpperState = (ControlState) pSpinButtonVal->mnUpperState; - nLowerState = (ControlState) pSpinButtonVal->mnLowerState; + nUpperState = pSpinButtonVal->mnUpperState; + nLowerState = pSpinButtonVal->mnLowerState; HIThemeButtonDrawInfo aSpinInfo; aSpinInfo.kind = kThemeIncDecButton; |