diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-02-01 16:00:41 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-02-01 16:00:41 +0100 |
commit | 87087bab94c477485ebe85b955cb08d8281f0a10 (patch) | |
tree | 6b2669fe621aa2dd66c15617ed471dca34debbd5 /embedserv | |
parent | 49c8235944ee6d1b937177d8497924d13b07f0b8 (diff) |
loplugin:stringconstant
Change-Id: I8b7611d6fdc55fc8cd9551e129a2e03e58682229
Diffstat (limited to 'embedserv')
-rw-r--r-- | embedserv/source/embed/docholder.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/embedserv/source/embed/docholder.cxx b/embedserv/source/embed/docholder.cxx index 783ca2ef765e..f8661e199c40 100644 --- a/embedserv/source/embed/docholder.cxx +++ b/embedserv/source/embed/docholder.cxx @@ -115,19 +115,19 @@ void DocumentHolder::LoadDocInFrame( bool bPluginMode ) uno::Sequence<beans::PropertyValue> aSeq( nLen ); aSeq[0] = beans::PropertyValue( - OUString("Model"), + "Model", -1, uno::Any(uno::Reference<uno::XInterface>(m_xDocument, uno::UNO_QUERY)), beans::PropertyState_DIRECT_VALUE); aSeq[1] = beans::PropertyValue( - OUString("ReadOnly"), + "ReadOnly", -1, uno::Any(false), beans::PropertyState_DIRECT_VALUE); aSeq[2] = beans::PropertyValue( - OUString("NoAutoSave"), + "NoAutoSave", -1, uno::Any(true), beans::PropertyState_DIRECT_VALUE); @@ -136,7 +136,7 @@ void DocumentHolder::LoadDocInFrame( bool bPluginMode ) { aSeq.realloc( ++nLen ); aSeq[nLen-1] = beans::PropertyValue( - OUString("PluginMode"), + "PluginMode", -1, uno::Any((sal_Int16) 3), beans::PropertyState_DIRECT_VALUE); @@ -144,13 +144,13 @@ void DocumentHolder::LoadDocInFrame( bool bPluginMode ) aSeq.realloc( nLen+=2 ); aSeq[nLen-2] = beans::PropertyValue( - OUString("InteractionHandler"), + "InteractionHandler", -1, uno::Any(xHandler), beans::PropertyState_DIRECT_VALUE); aSeq[nLen-1] = beans::PropertyValue( - OUString("MacroExecutionMode"), + "MacroExecutionMode", -1, uno::Any(m_nMacroExecMode), beans::PropertyState_DIRECT_VALUE); |