summaryrefslogtreecommitdiffstats
path: root/framework
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-19 11:20:52 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-19 11:20:52 +0200
commit8894f3cfa0c9d39198a1ec18e3f46e40f76a955b (patch)
tree96e4cfd0f2f029c6b45daed8ab83bdc3679ec4e2 /framework
parentRemove ConvertOSLtoUCBURL (diff)
downloadcore-8894f3cfa0c9d39198a1ec18e3f46e40f76a955b.tar.gz
core-8894f3cfa0c9d39198a1ec18e3f46e40f76a955b.zip
Remove redundant check
...became redundant with previous commit d3d7cb989b8d3c7d8e9947511bf78e9aefedc490 "Remove ConvertOSLtoUCBURL." Change-Id: I08c436dec8ed661eae60a17723fc63e6aafb1f86
Diffstat (limited to 'framework')
-rw-r--r--framework/source/services/substitutepathvars.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx
index 8ab37964527c..ad75eee41d14 100644
--- a/framework/source/services/substitutepathvars.cxx
+++ b/framework/source/services/substitutepathvars.cxx
@@ -1070,13 +1070,8 @@ throw ( RuntimeException )
OUString aTemp;
if ( osl::FileBase::getFileURLFromSystemPath( rURL, aTemp ) == osl::FileBase::E_None )
{
- if ( !aTemp.isEmpty() )
- {
- aURL = INetURLObject( aTemp ).GetMainURL( INetURLObject::NO_DECODE );
- if( aURL.isEmpty() )
- return rURL;
- }
- else
+ aURL = INetURLObject( aTemp ).GetMainURL( INetURLObject::NO_DECODE );
+ if( aURL.isEmpty() )
return rURL;
}
else