summaryrefslogtreecommitdiff
path: root/basic/qa/basic_coverage
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-02-05 10:25:49 +0000
committerNoel Power <noel.power@suse.com>2013-02-05 10:36:05 +0000
commit6d0f1f66392515a0789f15c90a430b7047ca1f04 (patch)
tree6db210cf8418b1a77d7a4a9744e47a407db30678 /basic/qa/basic_coverage
parent1385896fe760fe61b19a682cb7dc7fdf31d31490 (diff)
fix for fdo#60065
squash errors trying to gain object for rhs ( where no object yet exists ( Change-Id: I81548d1c6a32f0445dc18e31c84c3df85163ed45
Diffstat (limited to 'basic/qa/basic_coverage')
-rw-r--r--basic/qa/basic_coverage/uno_struct_assign.vb15
1 files changed, 15 insertions, 0 deletions
diff --git a/basic/qa/basic_coverage/uno_struct_assign.vb b/basic/qa/basic_coverage/uno_struct_assign.vb
new file mode 100644
index 000000000000..23812de2cd6a
--- /dev/null
+++ b/basic/qa/basic_coverage/uno_struct_assign.vb
@@ -0,0 +1,15 @@
+'
+' This file is part of the LibreOffice project.
+'
+' This Source Code Form is subject to the terms of the Mozilla Public
+' License, v. 2.0. If a copy of the MPL was not distributed with this
+' file, You can obtain one at http://mozilla.org/MPL/2.0/.
+'
+
+
+Function doUnitTest as Integer
+ Dim oNamedValue as new com.sun.star.beans.NamedValue
+ Dim oCellAddress as new com.sun.star.table.CellAddress
+ oNamedValue.Value = oCellAddress ' fdo#60065 - this would throw an error
+ doUnitTest = 1
+End Function