diff options
Diffstat (limited to 'smoketest')
-rw-r--r-- | smoketest/smoketest.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/smoketest/smoketest.cxx b/smoketest/smoketest.cxx index 2b24d493634d..6ada882c77f2 100644 --- a/smoketest/smoketest.cxx +++ b/smoketest/smoketest.cxx @@ -140,19 +140,18 @@ void Test::test() { test::getTestArgument( OUString("smoketest.doc"), &doc)); css::uno::Sequence< css::beans::PropertyValue > args(2); - args[0].Name = OUString("MacroExecutionMode"); + args[0].Name = "MacroExecutionMode"; args[0].Handle = -1; args[0].Value <<= com::sun::star::document::MacroExecMode::ALWAYS_EXECUTE_NO_WARN; args[0].State = css::beans::PropertyState_DIRECT_VALUE; - args[1].Name = OUString("ReadOnly"); + args[1].Name = "ReadOnly"; args[1].Handle = -1; args[1].Value <<= sal_True; args[1].State = css::beans::PropertyState_DIRECT_VALUE; css::util::URL url; - url.Complete = OUString( - "vnd.sun.star.script:Standard.Global.StartTestWithDefaultOptions?" - "language=Basic&location=document"); + url.Complete = "vnd.sun.star.script:Standard.Global.StartTestWithDefaultOptions?" + "language=Basic&location=document"; css::uno::Reference< css::frame::XDesktop2 > xDesktop = css::frame::Desktop::create(connection_.getComponentContext()); |