summaryrefslogtreecommitdiff
path: root/forms/source/component/Filter.cxx
diff options
context:
space:
mode:
authorpjacquod <pjacquod@alumni.ethz.ch>2010-11-15 23:38:11 +0100
committerCaolán McNamara <caolanm@redhat.com>2010-11-17 16:21:57 +0000
commit36cff0860f99741ff0357f2457e7f585b700b242 (patch)
treefc5eb74b98af14d9d5dd77ad7be8ae0fbc379564 /forms/source/component/Filter.cxx
parentd3d6b5d08f61a41fca587e9b91b542a2ef129265 (diff)
RTL_CONSTASCII_USTRINGPARAM in components - forms
the whole directory components/forms/source/component should now be OK
Diffstat (limited to 'forms/source/component/Filter.cxx')
-rw-r--r--forms/source/component/Filter.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/forms/source/component/Filter.cxx b/forms/source/component/Filter.cxx
index 362c0fc77097..ca75f26b0e03 100644
--- a/forms/source/component/Filter.cxx
+++ b/forms/source/component/Filter.cxx
@@ -168,22 +168,22 @@ namespace frm
switch (m_nControlClass)
{
case FormComponentType::RADIOBUTTON:
- aServiceName = ::rtl::OUString::createFromAscii("radiobutton");
+ aServiceName = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("radiobutton") );
break;
case FormComponentType::CHECKBOX:
- aServiceName = ::rtl::OUString::createFromAscii("checkbox");
+ aServiceName = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("checkbox") );
break;
case FormComponentType::COMBOBOX:
- aServiceName = ::rtl::OUString::createFromAscii("combobox");
+ aServiceName = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("combobox") );
break;
case FormComponentType::LISTBOX:
- aServiceName = ::rtl::OUString::createFromAscii("listbox");
+ aServiceName = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("listbox") );
break;
default:
if (m_bMultiLine)
- aServiceName = ::rtl::OUString::createFromAscii("MultiLineEdit");
+ aServiceName = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("MultiLineEdit") );
else
- aServiceName = ::rtl::OUString::createFromAscii("Edit");
+ aServiceName = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Edit") );
}
return aServiceName;
}
@@ -711,10 +711,10 @@ namespace frm
try
{
Sequence< Any > aArgs(2);
- aArgs[0] <<= PropertyValue(::rtl::OUString::createFromAscii("SQLException"), 0, makeAny( _rExcept ), PropertyState_DIRECT_VALUE);
- aArgs[1] <<= PropertyValue(::rtl::OUString::createFromAscii("ParentWindow"), 0, makeAny( m_xMessageParent ), PropertyState_DIRECT_VALUE);
+ aArgs[0] <<= PropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("SQLException") ), 0, makeAny( _rExcept ), PropertyState_DIRECT_VALUE);
+ aArgs[1] <<= PropertyValue(::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ParentWindow") ), 0, makeAny( m_xMessageParent ), PropertyState_DIRECT_VALUE);
- static ::rtl::OUString s_sDialogServiceName = ::rtl::OUString::createFromAscii( "com.sun.star.sdb.ErrorMessageDialog" );
+ static ::rtl::OUString s_sDialogServiceName (RTL_CONSTASCII_USTRINGPARAM("com.sun.star.sdb.ErrorMessageDialog") );
Reference< XExecutableDialog > xErrorDialog( m_aContext.createComponentWithArguments( s_sDialogServiceName, aArgs ), UNO_QUERY );
if ( xErrorDialog.is() )