[Libreoffice-commits] core.git: svtools/source
Stephan Bergmann
sbergman at redhat.com
Tue Feb 2 13:23:39 UTC 2016
svtools/source/control/inettbc.cxx | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
New commits:
commit 98183c3381ef20c32285027662d7ac4bab23038f
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Tue Feb 2 14:23:01 2016 +0100
...these args are all default ones
Change-Id: I40b7635d45178760e2fdb81a6c2d910414455352
diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx
index 330a7c7c..f86a8f1 100644
--- a/svtools/source/control/inettbc.cxx
+++ b/svtools/source/control/inettbc.cxx
@@ -515,14 +515,10 @@ OUString SvtURLBox::ParseSmart( const OUString& _aText, const OUString& _aBaseUR
// take base URL and append current input
bool bWasAbsolute = false;
#ifdef UNX
- INetURLObject::FSysStyle eStyle = static_cast< INetURLObject::FSysStyle >( INetURLObject::FSYS_VOS | INetURLObject::FSYS_UNX | INetURLObject::FSYS_DOS );
// encode file URL correctly
aSmart = INetURLObject::encode( aSmart, INetURLObject::PART_FPATH, INetURLObject::ENCODE_ALL );
- INetURLObject aTmp( aObj.smartRel2Abs(
- aSmart, bWasAbsolute, false, INetURLObject::WAS_ENCODED, RTL_TEXTENCODING_UTF8, false, eStyle ) );
-#else
- INetURLObject aTmp( aObj.smartRel2Abs( aSmart, bWasAbsolute ) );
#endif
+ INetURLObject aTmp( aObj.smartRel2Abs( aSmart, bWasAbsolute ) );
if ( aText.endsWith(".") )
// INetURLObject appends a final slash for the directories "." and "..", this is a bug!
More information about the Libreoffice-commits
mailing list