summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/eventuno.cxx
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2010-11-12 12:55:29 +0100
committerDavid Tardon <dtardon@redhat.com>2010-11-12 12:55:29 +0100
commite4980a90c67e84d498b71cbeb17ad7571157813b (patch)
tree0824110312559464a9649f00ce42f938bd8aa88b /sc/source/ui/unoobj/eventuno.cxx
parent93b5940b98665738da063756529385f35f1d33e6 (diff)
RTL_CONSTASCII_USTRINGPARAM for calc_unoobj
Diffstat (limited to 'sc/source/ui/unoobj/eventuno.cxx')
-rw-r--r--sc/source/ui/unoobj/eventuno.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/unoobj/eventuno.cxx b/sc/source/ui/unoobj/eventuno.cxx
index 8f0b38c0eed9..4edd9b8fb801 100644
--- a/sc/source/ui/unoobj/eventuno.cxx
+++ b/sc/source/ui/unoobj/eventuno.cxx
@@ -155,10 +155,10 @@ uno::Any SAL_CALL ScSheetEventsObj::getByName( const rtl::OUString& aName )
{
uno::Sequence<beans::PropertyValue> aPropSeq( 2 );
aPropSeq[0] = beans::PropertyValue(
- rtl::OUString::createFromAscii("EventType"), -1,
- uno::makeAny( rtl::OUString::createFromAscii("Script") ), beans::PropertyState_DIRECT_VALUE );
+ rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("EventType")), -1,
+ uno::makeAny( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Script")) ), beans::PropertyState_DIRECT_VALUE );
aPropSeq[1] = beans::PropertyValue(
- rtl::OUString::createFromAscii("Script"), -1,
+ rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Script")), -1,
uno::makeAny( *pScript ), beans::PropertyState_DIRECT_VALUE );
aRet <<= aPropSeq;
}