summaryrefslogtreecommitdiff
path: root/framework/source/uielement/constitemcontainer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/uielement/constitemcontainer.cxx')
-rw-r--r--framework/source/uielement/constitemcontainer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/uielement/constitemcontainer.cxx b/framework/source/uielement/constitemcontainer.cxx
index 15da189acb0b..c90d0580ea1b 100644
--- a/framework/source/uielement/constitemcontainer.cxx
+++ b/framework/source/uielement/constitemcontainer.cxx
@@ -220,7 +220,7 @@ ConstItemContainer::ConstItemContainer( const Reference< XIndexAccess >& rSource
Reference< XIndexAccess > xIndexAccess;
for ( sal_Int32 j = 0; j < aPropSeq.getLength(); j++ )
{
- if ( aPropSeq[j].Name.equalsAscii( "ItemDescriptorContainer" ))
+ if ( aPropSeq[j].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ItemDescriptorContainer" ) ))
{
aPropSeq[j].Value >>= xIndexAccess;
nContainerIndex = j;
@@ -257,7 +257,7 @@ void ConstItemContainer::copyItemContainer( const std::vector< Sequence< Propert
Reference< XIndexAccess > xIndexAccess;
for ( sal_Int32 j = 0; j < aPropSeq.getLength(); j++ )
{
- if ( aPropSeq[j].Name.equalsAscii( "ItemDescriptorContainer" ))
+ if ( aPropSeq[j].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ItemDescriptorContainer" ) ))
{
aPropSeq[j].Value >>= xIndexAccess;
nContainerIndex = j;