Kaydet (Commit) 7e6aa4e2 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

loplugin:salunicodeliteral: package

Change-Id: I5910fdc2ee54fab9105a8e5ffeb3a7575227c13f
üst c7416333
...@@ -1492,7 +1492,7 @@ void SAL_CALL ZipPackage::commitChanges() ...@@ -1492,7 +1492,7 @@ void SAL_CALL ZipPackage::commitChanges()
{ {
uno::Reference < XPropertySet > xPropSet ( xTempInStream, UNO_QUERY_THROW ); uno::Reference < XPropertySet > xPropSet ( xTempInStream, UNO_QUERY_THROW );
OUString sTargetFolder = m_aURL.copy ( 0, m_aURL.lastIndexOf ( static_cast < sal_Unicode > ( '/' ) ) ); OUString sTargetFolder = m_aURL.copy ( 0, m_aURL.lastIndexOf ( u'/' ) );
Content aContent( Content aContent(
sTargetFolder, uno::Reference< XCommandEnvironment >(), sTargetFolder, uno::Reference< XCommandEnvironment >(),
m_xContext ); m_xContext );
...@@ -1505,7 +1505,7 @@ void SAL_CALL ZipPackage::commitChanges() ...@@ -1505,7 +1505,7 @@ void SAL_CALL ZipPackage::commitChanges()
aInfo.NameClash = NameClash::OVERWRITE; aInfo.NameClash = NameClash::OVERWRITE;
aInfo.MoveData = false; aInfo.MoveData = false;
aInfo.SourceURL = sTempURL; aInfo.SourceURL = sTempURL;
aInfo.NewTitle = rtl::Uri::decode ( m_aURL.copy ( 1 + m_aURL.lastIndexOf ( static_cast < sal_Unicode > ( '/' ) ) ), aInfo.NewTitle = rtl::Uri::decode ( m_aURL.copy ( 1 + m_aURL.lastIndexOf ( u'/' ) ),
rtl_UriDecodeWithCharset, rtl_UriDecodeWithCharset,
RTL_TEXTENCODING_UTF8 ); RTL_TEXTENCODING_UTF8 );
// if the file is still not corrupted, it can become after the next step // if the file is still not corrupted, it can become after the next step
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment