summaryrefslogtreecommitdiffstats
path: root/svtools
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-02-02 14:23:01 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-02-02 14:23:01 +0100
commit98183c3381ef20c32285027662d7ac4bab23038f (patch)
tree1b4ae0ed770542cfc1befe304a91a846c7a79c5a /svtools
parentRelated: tdf#91909 home/end don't work in impress text boxes anymore (diff)
downloadcore-98183c3381ef20c32285027662d7ac4bab23038f.tar.gz
core-98183c3381ef20c32285027662d7ac4bab23038f.zip
...these args are all default ones
Change-Id: I40b7635d45178760e2fdb81a6c2d910414455352
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/inettbc.cxx6
1 files changed, 1 insertions, 5 deletions
diff --git a/svtools/source/control/inettbc.cxx b/svtools/source/control/inettbc.cxx
index 330a7c7ca505..f86a8f17933e 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!