diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-08-19 11:20:52 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-08-19 11:20:52 +0200 |
commit | 8894f3cfa0c9d39198a1ec18e3f46e40f76a955b (patch) | |
tree | 96e4cfd0f2f029c6b45daed8ab83bdc3679ec4e2 /framework/source/services | |
parent | d3d7cb989b8d3c7d8e9947511bf78e9aefedc490 (diff) |
Remove redundant check
...became redundant with previous commit
d3d7cb989b8d3c7d8e9947511bf78e9aefedc490 "Remove ConvertOSLtoUCBURL."
Change-Id: I08c436dec8ed661eae60a17723fc63e6aafb1f86
Diffstat (limited to 'framework/source/services')
-rw-r--r-- | framework/source/services/substitutepathvars.cxx | 9 |
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 |