summaryrefslogtreecommitdiff
path: root/toolkit
diff options
context:
space:
mode:
authorChr. Rossmanith <ChrRossmanith@gmx.de>2013-04-01 21:08:13 +0200
committerChr. Rossmanith <ChrRossmanith@gmx.de>2013-04-01 22:12:22 +0200
commit563a9b7ab3cc1ed0166d1bfe0568124a2fd9b80e (patch)
tree20f52c72ac7eb7a3dfac07a1e0297b17db60b58e /toolkit
parent6591068f2a73252f4e3c9abf9b153a5b4f59410b (diff)
Remove RTL_CONSTASCII_USTRINGPARAM in smoketest/sot/svl/toolkit/vbahelper
Change-Id: I0816631a1d0c68dcef9c640c91d00ac9942ded28
Diffstat (limited to 'toolkit')
-rw-r--r--toolkit/source/awt/vclxtoolkit.cxx6
-rw-r--r--toolkit/source/awt/vclxwindows.cxx4
2 files changed, 5 insertions, 5 deletions
diff --git a/toolkit/source/awt/vclxtoolkit.cxx b/toolkit/source/awt/vclxtoolkit.cxx
index ab08d923e8f3..9cb085378cdf 100644
--- a/toolkit/source/awt/vclxtoolkit.cxx
+++ b/toolkit/source/awt/vclxtoolkit.cxx
@@ -582,12 +582,12 @@ Window* VCLXToolkit::ImplCreateWindow( VCLXWindow** ppNewComp,
Window* pNewWindow = NULL;
sal_uInt16 nType = ImplGetComponentType( aServiceName );
bool bFrameControl = false;
- if ( aServiceName == String( RTL_CONSTASCII_USTRINGPARAM("frame") ) )
+ if ( aServiceName == String( "frame" ) )
bFrameControl = true;
- if ( aServiceName == String( RTL_CONSTASCII_USTRINGPARAM("tabcontrolnotabs") ) )
+ if ( aServiceName == String( "tabcontrolnotabs" ) )
{
nWinBits |= WB_NOBORDER;
- nType = ImplGetComponentType( String( RTL_CONSTASCII_USTRINGPARAM("tabcontrol") ) );
+ nType = ImplGetComponentType( String( "tabcontrol" ) );
}
if ( !pParent )
{
diff --git a/toolkit/source/awt/vclxwindows.cxx b/toolkit/source/awt/vclxwindows.cxx
index 0eb97e2e345c..bba1abeb06c5 100644
--- a/toolkit/source/awt/vclxwindows.cxx
+++ b/toolkit/source/awt/vclxwindows.cxx
@@ -2677,7 +2677,7 @@ void SAL_CALL VCLXMultiPage::setTabProps( sal_Int32 ID, const uno::Sequence< bea
const rtl::OUString &name = Properties[i].Name;
const uno::Any &value = Properties[i].Value;
- if (name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("Title")))
+ if (name == "Title")
{
rtl::OUString title = value.get<rtl::OUString>();
pTabControl->SetPageText( sal::static_int_cast< sal_uInt16 >( ID ), title );
@@ -2695,7 +2695,7 @@ uno::Sequence< beans::NamedValue > SAL_CALL VCLXMultiPage::getTabProps( sal_Int3
#define ADD_PROP( seq, i, name, val ) { \
beans::NamedValue value; \
- value.Name = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( name ) ); \
+ value.Name = rtl::OUString( name ); \
value.Value = uno::makeAny( val ); \
seq[i] = value; \
}