summaryrefslogtreecommitdiff
path: root/vbahelper
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2019-02-15 11:31:00 +0200
committerTor Lillqvist <tml@collabora.com>2019-02-15 11:36:07 +0200
commit58ce8be9f96f812ac7ac274c1b2ee30a3283b633 (patch)
tree54424f31fba67619470a4e4505311cef4cc4df7e /vbahelper
parent6ead817bb830b332e16e0c2ab8f39ac7ab440152 (diff)
Add a FIXME note
Change-Id: Iedda7ca9cff1bda763845e665e0e21656b253793
Diffstat (limited to 'vbahelper')
-rw-r--r--vbahelper/source/vbahelper/vbadocumentsbase.cxx6
1 files changed, 6 insertions, 0 deletions
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,