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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Feb 15 09:36:57 UTC 2019


 vbahelper/source/vbahelper/vbadocumentsbase.cxx |    6 ++++++
 1 file changed, 6 insertions(+)

New commits:
commit 58ce8be9f96f812ac7ac274c1b2ee30a3283b633
Author:     Tor Lillqvist <tml at collabora.com>
AuthorDate: Fri Feb 15 11:31:00 2019 +0200
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Fri Feb 15 11:36:07 2019 +0200

    Add a FIXME note
    
    Change-Id: Iedda7ca9cff1bda763845e665e0e21656b253793

diff --git a/vbahelper/source/vbahelper/vbadocumentsbase.cxx b/vbahelper/source/vbahelper/vbadocumentsbase.cxx
index fc20c882f092..78c28c8c5d8b 100644
--- a/vbahelper/source/vbahelper/vbadocumentsbase.cxx
+++ b/vbahelper/source/vbahelper/vbadocumentsbase.cxx
@@ -285,6 +285,12 @@ uno::Any VbaDocumentsBase::openDocument( const OUString& rFileName, const uno::A
         }
     }
 
+    // FIXME: Should we add an AsTemplate property with value false
+    // here, to be absolutely sure it doesn't (for some mysterious
+    // reason) open the document as a template (as happens for a .rtf
+    // file at a customer)? Nah, let's see first if I can figure out
+    // what the mysterious reason is...
+
     uno::Reference< lang::XComponent > xComponent = xDesktop->loadComponentFromURL( aURL,
         "_default" ,
         frame::FrameSearchFlag::CREATE,


More information about the Libreoffice-commits mailing list