summaryrefslogtreecommitdiff
path: root/ios
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-04-12 15:10:39 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-04-12 18:36:44 +0200
commit988e2a750e9b12bdad519b834083ee7f6794a0b6 (patch)
tree80f9bdfc9773d8ad5eb73a2d89409200ed9b7610 /ios
parent087162b7142cf666478986461cdfa15c3d7fe382 (diff)
remove that unused old code
Change-Id: I576f6be6d229e29d0ae35ffb00d118bfd44b5544
Diffstat (limited to 'ios')
-rw-r--r--ios/experimental/TiledLibreOffice/TiledLibreOffice/AppDelegate.m4
-rw-r--r--ios/experimental/TiledLibreOffice/TiledLibreOffice/TiledView.m5
2 files changed, 0 insertions, 9 deletions
diff --git a/ios/experimental/TiledLibreOffice/TiledLibreOffice/AppDelegate.m b/ios/experimental/TiledLibreOffice/TiledLibreOffice/AppDelegate.m
index bcf4e22246bf..addcccf99699 100644
--- a/ios/experimental/TiledLibreOffice/TiledLibreOffice/AppDelegate.m
+++ b/ios/experimental/TiledLibreOffice/TiledLibreOffice/AppDelegate.m
@@ -65,15 +65,11 @@ static LibreOfficeKitDocument* document;
return YES;
}
-const char *ptyl_test_encryption_pathname;
-
- (void)startDisplaying:(NSString*)documentPath;
{
ViewController *vc = [[ViewController alloc] init];
self.window.rootViewController = vc;
- ptyl_test_encryption_pathname = [documentPath UTF8String];
-
// kit = lok_init([[[NSBundle mainBundle] bundlePath] UTF8String]);
kit = lok_init(NULL);
document = kit->pClass->documentLoad(kit, [documentPath UTF8String]);
diff --git a/ios/experimental/TiledLibreOffice/TiledLibreOffice/TiledView.m b/ios/experimental/TiledLibreOffice/TiledLibreOffice/TiledView.m
index de0d975b7795..98e3025780cd 100644
--- a/ios/experimental/TiledLibreOffice/TiledLibreOffice/TiledView.m
+++ b/ios/experimental/TiledLibreOffice/TiledLibreOffice/TiledView.m
@@ -136,9 +136,6 @@ static bool tileMatches(const char *spec, CGRect bb)
y == (int) (bb.origin.y / bb.size.height));
}
-extern void PtylTestEncryptionAndExport(const char *pathname);
-extern const char *ptyl_test_encryption_pathname;
-
- (void)drawLayer:(CALayer *)layer inContext:(CGContextRef)ctx
{
// Even if I set the CATL's tileSize to 512x512 above, this is
@@ -148,8 +145,6 @@ extern const char *ptyl_test_encryption_pathname;
static bool once = false;
if (!once) {
once = true;
- if (getenv("PTYL_TEST_ENCRYPTION_AND_EXPORT"))
- PtylTestEncryptionAndExport(ptyl_test_encryption_pathname);
}
CGRect bb = CGContextGetClipBoundingBox(ctx);