diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-02-15 11:31:00 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-02-15 11:35:21 +0200 |
commit | bec67a7f0e15eb1c342e3e2fb9104ab0f3502412 (patch) | |
tree | f9ef7d7976d28b0a16502cf8bd16d14cc7dd24af | |
parent | Interpret the parameter of WordBasic.FileClose() more correctly (diff) | |
download | core-bec67a7f0e15eb1c342e3e2fb9104ab0f3502412.tar.gz core-bec67a7f0e15eb1c342e3e2fb9104ab0f3502412.zip |
Add a FIXME note
Change-Id: Iedda7ca9cff1bda763845e665e0e21656b253793
-rw-r--r-- | vbahelper/source/vbahelper/vbadocumentsbase.cxx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/vbahelper/source/vbahelper/vbadocumentsbase.cxx b/vbahelper/source/vbahelper/vbadocumentsbase.cxx index 8dcee9b817f2..b948cc44bf94 100644 --- a/vbahelper/source/vbahelper/vbadocumentsbase.cxx +++ b/vbahelper/source/vbahelper/vbadocumentsbase.cxx @@ -287,6 +287,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, |