summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-08-02 15:27:06 +0300
committerTor Lillqvist <tml@iki.fi>2012-08-02 19:16:53 +0300
commit85a8a72067c4e13f3bddbe11e0899702202f4c4f (patch)
treec3753b8b9ccd19525d6ccd494c6bdeb7d4a2566e /vcl
parent60cfa64345b41a7a95045133d775616253643b4a (diff)
Bin unused function for now
Change-Id: Ib08bf14eebf366aa4bd3e82806a91dd12033c417
Diffstat (limited to 'vcl')
-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: */