summaryrefslogtreecommitdiff
path: root/sw/source/core/swg/SwXMLTextBlocks.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/swg/SwXMLTextBlocks.cxx')
-rw-r--r--sw/source/core/swg/SwXMLTextBlocks.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/swg/SwXMLTextBlocks.cxx b/sw/source/core/swg/SwXMLTextBlocks.cxx
index 1c2ed672b181..cb4aee07af82 100644
--- a/sw/source/core/swg/SwXMLTextBlocks.cxx
+++ b/sw/source/core/swg/SwXMLTextBlocks.cxx
@@ -510,7 +510,7 @@ bool SwXMLTextBlocks::IsFileUCBStorage( const OUString & rFileName)
OUString aURL;
osl::FileBase::getFileURLFromSystemPath( aName, aURL );
aObj.SetURL( aURL );
- aName = aObj.GetMainURL( INetURLObject::NO_DECODE );
+ aName = aObj.GetMainURL( INetURLObject::DecodeMechanism::NONE );
}
SvStream * pStm = ::utl::UcbStreamHelper::CreateStream( aName, StreamMode::STD_READ );