diff options
author | Tor Lillqvist <tml@collabora.com> | 2019-02-15 11:31:00 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2019-09-20 11:17:37 +0200 |
commit | e472b3a93e017c923564e7da12684aba87119a68 (patch) | |
tree | 8c80abd24b118c9c5576b868fdfa50f55ff33ee0 /vbahelper | |
parent | 0b059abfaa27c55af789e13d73f7046f752c4636 (diff) |
Add a FIXME note
Change-Id: Iedda7ca9cff1bda763845e665e0e21656b253793
(cherry picked from commit bec67a7f0e15eb1c342e3e2fb9104ab0f3502412)
Reviewed-on: https://gerrit.libreoffice.org/79165
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
Diffstat (limited to 'vbahelper')
-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 d188812e89cd..7a993d7aa2cd 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, |