From 58ce8be9f96f812ac7ac274c1b2ee30a3283b633 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 15 Feb 2019 11:31:00 +0200 Subject: Add a FIXME note Change-Id: Iedda7ca9cff1bda763845e665e0e21656b253793 --- vbahelper/source/vbahelper/vbadocumentsbase.cxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'vbahelper') 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, -- cgit