summaryrefslogtreecommitdiff
path: root/framework/source/fwi/uielement/itemcontainer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'framework/source/fwi/uielement/itemcontainer.cxx')
-rw-r--r--framework/source/fwi/uielement/itemcontainer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/source/fwi/uielement/itemcontainer.cxx b/framework/source/fwi/uielement/itemcontainer.cxx
index 6e0dce68852d..ede715b89e08 100644
--- a/framework/source/fwi/uielement/itemcontainer.cxx
+++ b/framework/source/fwi/uielement/itemcontainer.cxx
@@ -81,7 +81,7 @@ ItemContainer::ItemContainer( const Reference< XIndexAccess >& rSourceContainer,
Reference< XIndexAccess > xIndexAccess;
for ( sal_Int32 j = 0; j < aPropSeq.getLength(); j++ )
{
- if ( aPropSeq[j].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ItemDescriptorContainer" ) ))
+ if ( aPropSeq[j].Name == "ItemDescriptorContainer" )
{
aPropSeq[j].Value >>= xIndexAccess;
nContainerIndex = j;
@@ -117,7 +117,7 @@ void ItemContainer::copyItemContainer( const std::vector< Sequence< PropertyValu
Reference< XIndexAccess > xIndexAccess;
for ( sal_Int32 j = 0; j < aPropSeq.getLength(); j++ )
{
- if ( aPropSeq[j].Name.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ItemDescriptorContainer" ) ))
+ if ( aPropSeq[j].Name == "ItemDescriptorContainer" )
{
aPropSeq[j].Value >>= xIndexAccess;
nContainerIndex = j;