summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2013-05-14 12:07:43 +0100
committerNoel Power <noel.power@suse.com>2013-05-15 11:00:38 +0100
commite9281c438b8cd8b34e8cbc1dd05c22e374f21fc0 (patch)
treead29154d26cd949ce00fa8633000e36877f0f9b1 /sc
parentb4f069e21378c03a1306220b953eb1172df1a8bd (diff)
make some vba Name object attributes read/write and add test document
cherry-picked from fbd74ed44cd011ebab95bb4bc4eb6b15c1272c43 Change-Id: Ibd12835cc5368080a302b3b8d7c6f52ccc434e3c
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/extras/macros-test.cxx5
-rwxr-xr-xsc/qa/unit/data/xls/Names.xlsbin0 -> 46592 bytes
2 files changed, 4 insertions, 1 deletions
diff --git a/sc/qa/extras/macros-test.cxx b/sc/qa/extras/macros-test.cxx
index ad1df32a49d4..0ee6b9e38d5a 100644
--- a/sc/qa/extras/macros-test.cxx
+++ b/sc/qa/extras/macros-test.cxx
@@ -217,7 +217,10 @@ void ScMacrosTest::testVba()
OUString("Workbooks."),
OUString("vnd.sun.Star.script:VBAProject.testMacros.test?language=Basic&location=document")
},
-
+ {
+ OUString("Names."),
+ OUString("vnd.sun.Star.script:VBAProject.testMacros.test?language=Basic&location=document")
+ },
};
rtl::OUString aFileExtension("xls");
diff --git a/sc/qa/unit/data/xls/Names.xls b/sc/qa/unit/data/xls/Names.xls
new file mode 100755
index 000000000000..fcacf9bbdeed
--- /dev/null
+++ b/sc/qa/unit/data/xls/Names.xls
Binary files differ