summaryrefslogtreecommitdiff
path: root/vcl/ios/source/app/salinst.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/ios/source/app/salinst.cxx')
-rw-r--r--vcl/ios/source/app/salinst.cxx14
1 files changed, 0 insertions, 14 deletions
diff --git a/vcl/ios/source/app/salinst.cxx b/vcl/ios/source/app/salinst.cxx
index 5536538dabd9..a9a9f917fdc5 100644
--- a/vcl/ios/source/app/salinst.cxx
+++ b/vcl/ios/source/app/salinst.cxx
@@ -857,18 +857,4 @@ CGImageRef CreateCGImage( const Image& rImage )
return xImage;
}
-UIImage* CreateNSImage( const Image& rImage )
-{
- CGImageRef xImage = CreateCGImage( rImage );
-
- if( ! xImage )
- return nil;
-
- Size aSize( rImage.GetSizePixel() );
- UIImage* pImage = [[UIImage alloc] initWithCGImage: xImage];
- CGImageRelease( xImage );
-
- return pImage;
-}
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */