https://bugs.documentfoundation.org/show_bug.cgi?id=94334
Julien Nabet <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected], | |[email protected] --- Comment #2 from Julien Nabet <[email protected]> --- On pc Debian x86-64 with master sources updated today, I didn't reproduce this problem but noticed this on console: warn:writerfilter:19252:1:writerfilter/source/dmapper/OLEHandler.cxx:227: OLEHandler::importStream: unhandled m_sProgId: Equation.2 In fact, there are Equation.3 and Equation.2 on the file. First ones display ok and can be edited. Second ones display ok too but can't be edited (when trying, it opens a Math Window with "'" symbol instead of "x". I tried this: diff --git a/writerfilter/source/dmapper/OLEHandler.cxx b/writerfilter/source/dmapper/OLEHandler.cxx index 6208750..5deb99c 100644 --- a/writerfilter/source/dmapper/OLEHandler.cxx +++ b/writerfilter/source/dmapper/OLEHandler.cxx @@ -221,7 +221,7 @@ void OLEHandler::importStream(uno::Reference<uno::XComponentContext> xComponentC OUString aFilterService; if (m_sProgId == "Word.Document.12") aFilterService = "com.sun.star.comp.Writer.WriterFilter"; - else if (m_sProgId == "Equation.3") + else if (m_sProgId == "Equation.3" || m_sProgId == "Equation.2") aFilterService = "com.sun.star.comp.Math.MathTypeFilter"; else SAL_WARN("writerfilter", "OLEHandler::importStream: unhandled m_sProgId: " << m_sProgId); @@ -259,7 +259,7 @@ OUString OLEHandler::getCLSID(uno::Reference<uno::XComponentContext> xComponentC if (officecfg::Office::Common::Filter::Microsoft::Import::WinWordToWriter::get(xComponentContext)) aRet = "8BC6B165-B1B2-4EDD-aa47-dae2ee689dd6"; } - else if (m_sProgId == "Equation.3") + else if (m_sProgId == "Equation.3" || m_sProgId == "Equation.2") { if (officecfg::Office::Common::Filter::Microsoft::Import::MathTypeToMath::get(xComponentContext)) aRet = "078B7ABA-54FC-457F-8551-6147E776A997"; and could edit equations which couldn't be edited first but still have this strange symbol. Miklos: any thoughts? -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
