[Libreoffice-commits] core.git: writerperfect/source

Caolán McNamara caolanm at redhat.com
Mon Dec 5 11:44:04 UTC 2016


 writerperfect/source/calc/MSWorksCalcImportFilter.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit e84e15b79cc0541323c01a1040e0cce96bd9032f
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Mon Dec 5 11:42:56 2016 +0000

    fix build
    
    Change-Id: I3fa46edfbdb75201e9dc4a615d67124487e2dd20

diff --git a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx
index e46b869..cca7fa2 100644
--- a/writerperfect/source/calc/MSWorksCalcImportFilter.cxx
+++ b/writerperfect/source/calc/MSWorksCalcImportFilter.cxx
@@ -315,9 +315,9 @@ throw (css::uno::RuntimeException, std::exception)
                     const uno::Reference<ucb::XContentAccess> xContentAccess(xResultSet, uno::UNO_QUERY_THROW);
                     const uno::Reference<sdbc::XRow> xRow(xResultSet, uno::UNO_QUERY_THROW);
                     INetURLObject aTmpUrl(sUrl);
-                    sWM3Name = aTmpUrl.getName(INetURLObject::LAST_SEGMENT, true, INetURLObject::DECODE_WITH_CHARSET);
+                    sWM3Name = aTmpUrl.getName(INetURLObject::LAST_SEGMENT, true, INetURLObject::DecodeMechanism::WithCharset);
                     aTmpUrl.setExtension("FM3");
-                    const rtl::OUString &sTestFM3Name = aTmpUrl.getName(INetURLObject::LAST_SEGMENT, true, INetURLObject::DECODE_WITH_CHARSET);
+                    const rtl::OUString &sTestFM3Name = aTmpUrl.getName(INetURLObject::LAST_SEGMENT, true, INetURLObject::DecodeMechanism::WithCharset);
                     do
                     {
                         const rtl::OUString &aTitle(xRow->getString(1));


More information about the Libreoffice-commits mailing list