summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/osx/DataFlavorMapping.cxx2
-rw-r--r--vcl/osx/PictToBmpFlt.cxx5
-rw-r--r--vcl/osx/PictToBmpFlt.hxx3
-rw-r--r--vcl/osx/a11ytextwrapper.mm2
-rw-r--r--vcl/osx/a11ywrapper.mm2
-rw-r--r--vcl/osx/salframe.cxx1
-rw-r--r--vcl/osx/salnsmenu.mm1
-rw-r--r--vcl/quartz/salgdi.cxx1
-rw-r--r--vcl/quartz/salgdicommon.cxx1
9 files changed, 3 insertions, 15 deletions
diff --git a/vcl/osx/DataFlavorMapping.cxx b/vcl/osx/DataFlavorMapping.cxx
index 6db7d4105985..54a769a121c3 100644
--- a/vcl/osx/DataFlavorMapping.cxx
+++ b/vcl/osx/DataFlavorMapping.cxx
@@ -387,7 +387,7 @@ Any PNGDataProvider::getOOoData()
memcpy( imgData.getArray(), [mSystemData bytes], flavorDataLength);
Sequence<sal_Int8> pngData;
- if( ImageToPNG( imgData, pngData, meImageType))
+ if( ImageToPNG( imgData, pngData))
oOOData <<= pngData;
}
else
diff --git a/vcl/osx/PictToBmpFlt.cxx b/vcl/osx/PictToBmpFlt.cxx
index 153c03632f4d..df321c364073 100644
--- a/vcl/osx/PictToBmpFlt.cxx
+++ b/vcl/osx/PictToBmpFlt.cxx
@@ -26,11 +26,8 @@
#include "PictToBmpFlt.hxx"
bool ImageToPNG( css::uno::Sequence<sal_Int8>& rImgData,
- css::uno::Sequence<sal_Int8>& rPngData,
- NSBitmapImageFileType eInFormat)
+ css::uno::Sequence<sal_Int8>& rPngData)
{
- (void) eInFormat; // Really not needed? Weird.
-
NSData* pData = [NSData dataWithBytesNoCopy: const_cast<sal_Int8 *>(rImgData.getConstArray()) length: rImgData.getLength() freeWhenDone: 0];
if( !pData)
return false;
diff --git a/vcl/osx/PictToBmpFlt.hxx b/vcl/osx/PictToBmpFlt.hxx
index b90fa817516a..5e2671f7e22e 100644
--- a/vcl/osx/PictToBmpFlt.hxx
+++ b/vcl/osx/PictToBmpFlt.hxx
@@ -27,8 +27,7 @@
#include <postmac.h>
bool ImageToPNG( css::uno::Sequence<sal_Int8>& rImgData,
- css::uno::Sequence<sal_Int8>& rPngData,
- NSBitmapImageFileType eInFormat);
+ css::uno::Sequence<sal_Int8>& rPngData);
bool PNGToImage( css::uno::Sequence<sal_Int8>& rPngData,
css::uno::Sequence<sal_Int8>& rImgData,
diff --git a/vcl/osx/a11ytextwrapper.mm b/vcl/osx/a11ytextwrapper.mm
index a2e500a7e589..a46ffd6e7fd9 100644
--- a/vcl/osx/a11ytextwrapper.mm
+++ b/vcl/osx/a11ytextwrapper.mm
@@ -108,13 +108,11 @@ using namespace ::com::sun::star::uno;
+(id)sharedTextUIElementsAttributeForElement:(AquaA11yWrapper *)wrapper
{
- (void)wrapper;
return [NSArray arrayWithObject:wrapper];
}
+(id)sharedCharacterRangeAttributeForElement:(AquaA11yWrapper *)wrapper
{
- (void)wrapper;
return [ NSValue valueWithRange: NSMakeRange ( 0, [wrapper accessibleText]->getCharacterCount() ) ];
}
diff --git a/vcl/osx/a11ywrapper.mm b/vcl/osx/a11ywrapper.mm
index 0f083126cbfc..13571189be71 100644
--- a/vcl/osx/a11ywrapper.mm
+++ b/vcl/osx/a11ywrapper.mm
@@ -846,8 +846,6 @@ static std::ostream &operator<<(std::ostream &s, NSObject *obj) {
-(BOOL)accessibilitySetOverrideValue:(id)value forAttribute:(NSString *)attribute
{
SAL_INFO("vcl.a11y", "[" << self << " accessibilitySetOverrideValue:" << ((NSObject*)value) << " forAttribute:" << attribute << "]");
- (void)value;
- (void)attribute;
return NO; // TODO
}
diff --git a/vcl/osx/salframe.cxx b/vcl/osx/salframe.cxx
index 9283a1fe7149..a29eba5eb766 100644
--- a/vcl/osx/salframe.cxx
+++ b/vcl/osx/salframe.cxx
@@ -283,7 +283,6 @@ SalGraphics* AquaSalFrame::AcquireGraphics()
void AquaSalFrame::ReleaseGraphics( SalGraphics *pGraphics )
{
- (void)pGraphics;
SAL_WARN_IF( pGraphics != mpGraphics, "vcl", "graphics released on wrong frame" );
mbGraphics = FALSE;
}
diff --git a/vcl/osx/salnsmenu.mm b/vcl/osx/salnsmenu.mm
index fb1f7fb5d4d3..1b65d1e2ed9c 100644
--- a/vcl/osx/salnsmenu.mm
+++ b/vcl/osx/salnsmenu.mm
@@ -36,7 +36,6 @@
-(void)menuNeedsUpdate: (NSMenu*)pMenu
{
- (void)pMenu;
SolarMutexGuard aGuard;
if( mpMenu )
diff --git a/vcl/quartz/salgdi.cxx b/vcl/quartz/salgdi.cxx
index b564b4a5b179..b1d393876e16 100644
--- a/vcl/quartz/salgdi.cxx
+++ b/vcl/quartz/salgdi.cxx
@@ -829,7 +829,6 @@ void AquaSalGraphics::FreeEmbedFontData( const void* pData, long /*nDataLen*/ )
{
// TODO: implementing this only makes sense when the implementation of
// AquaSalGraphics::GetEmbedFontData() returns non-NULL
- (void)pData;
SAL_WARN_IF( (pData==nullptr), "vcl", "AquaSalGraphics::FreeEmbedFontData() is not implemented");
}
diff --git a/vcl/quartz/salgdicommon.cxx b/vcl/quartz/salgdicommon.cxx
index 73cd294104ce..227fa09d1b95 100644
--- a/vcl/quartz/salgdicommon.cxx
+++ b/vcl/quartz/salgdicommon.cxx
@@ -86,7 +86,6 @@ static void AddPolygonToPath( CGMutablePathRef xPath,
{
return;
}
- (void)bPixelSnap; // TODO
const bool bHasCurves = rPolygon.areControlPointsUsed();
for( int nPointIdx = 0, nPrevIdx = 0;; nPrevIdx = nPointIdx++ )