Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/iphone
diff options
context:
space:
mode:
authorAlex Zolotarev <alex@mapswithme.com>2013-07-01 17:37:17 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:57:49 +0300
commit39124ffadb3dccc3fbbfd21ef6b3937fded78694 (patch)
tree7976cc22c336b1a0e6b208e317112c12b7bed43a /iphone
parent5846458fb6bc9e27854deeadb9361ae5e30bf644 (diff)
[ios] Minor refactoring
Diffstat (limited to 'iphone')
-rw-r--r--iphone/Maps/Classes/PlacePreviewViewController.mm3
1 files changed, 1 insertions, 2 deletions
diff --git a/iphone/Maps/Classes/PlacePreviewViewController.mm b/iphone/Maps/Classes/PlacePreviewViewController.mm
index fb494ae808..d8c4ec452d 100644
--- a/iphone/Maps/Classes/PlacePreviewViewController.mm
+++ b/iphone/Maps/Classes/PlacePreviewViewController.mm
@@ -285,8 +285,7 @@ typedef enum {APIPOINT, POI, MYPOSITION} Type;
-(NSURL *)getBackUrl
{
string const str = GetFramework().GenerateApiBackUrl(m_apiPoint);
- NSURL * backUrl = [NSURL URLWithString:[NSString stringWithUTF8String:str.c_str()]];
- return backUrl;
+ return [NSURL URLWithString:[NSString stringWithUTF8String:str.c_str()]];
}
-(void)orientationChanged