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:35:21 +0200
commitbec67a7f0e15eb1c342e3e2fb9104ab0f3502412 (patch)
treef9ef7d7976d28b0a16502cf8bd16d14cc7dd24af /vbahelper
parentfb797eb41bf9b26261c4d9fe7a38ba635b80a20c (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 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,