diff options
author | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-01-12 09:52:53 +0100 |
---|---|---|
committer | Chr. Rossmanith <ChrRossmanith@gmx.de> | 2013-01-12 10:00:01 +0100 |
commit | 24a2aa1403bd71261a6e21e8cbbd2232257c87e6 (patch) | |
tree | f8c82a664099b68b214d9e6bb7ff48a49434ea35 /vcl/source/filter/FilterConfigItem.cxx | |
parent | d928a8198a4ec9a45228b18bfb221195bdae6bbd (diff) |
RTL_CONSTASCII_(U)STRINGPARAM removed in vcl/source/filter
Change-Id: I5d9b930cb00e485d157ba95ff344fc93c29b54ec
Diffstat (limited to 'vcl/source/filter/FilterConfigItem.cxx')
-rw-r--r-- | vcl/source/filter/FilterConfigItem.cxx | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/vcl/source/filter/FilterConfigItem.cxx b/vcl/source/filter/FilterConfigItem.cxx index bd7d7c5985c0..6423a90073e0 100644 --- a/vcl/source/filter/FilterConfigItem.cxx +++ b/vcl/source/filter/FilterConfigItem.cxx @@ -61,7 +61,7 @@ static sal_Bool ImpIsTreeAvailable( Reference< XMultiServiceFactory >& rXCfgProv // creation arguments: nodepath PropertyValue aPathArgument; - aPathArgument.Name = OUString( RTL_CONSTASCII_USTRINGPARAM( "nodepath" ) ); + aPathArgument.Name = OUString( "nodepath" ); aPathArgument.Value = aAny; Sequence< Any > aArguments( 1 ); @@ -71,7 +71,7 @@ static sal_Bool ImpIsTreeAvailable( Reference< XMultiServiceFactory >& rXCfgProv try { xReadAccess = rXCfgProv->createInstanceWithArguments( - OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.configuration.ConfigurationAccess" ) ), + OUString( "com.sun.star.configuration.ConfigurationAccess" ), aArguments ); } catch (const ::com::sun::star::uno::Exception&) @@ -119,23 +119,21 @@ void FilterConfigItem::ImpInitTree( const String& rSubTree ) Reference< XMultiServiceFactory > xCfgProv = theDefaultProvider::get( xContext ); - OUString sTree( - OUString(RTL_CONSTASCII_USTRINGPARAM("/org.openoffice.")) + - rSubTree); + OUString sTree(OUString("/org.openoffice.") + rSubTree); if ( ImpIsTreeAvailable(xCfgProv, sTree) ) { Any aAny; // creation arguments: nodepath PropertyValue aPathArgument; aAny <<= sTree; - aPathArgument.Name = OUString( RTL_CONSTASCII_USTRINGPARAM( "nodepath" ) ); + aPathArgument.Name = OUString( "nodepath" ); aPathArgument.Value = aAny; // creation arguments: commit mode PropertyValue aModeArgument; sal_Bool bAsyncron = sal_True; aAny <<= bAsyncron; - aModeArgument.Name = OUString( RTL_CONSTASCII_USTRINGPARAM( "lazywrite" ) ); + aModeArgument.Name = OUString( "lazywrite" ); aModeArgument.Value = aAny; Sequence< Any > aArguments( 2 ); @@ -145,7 +143,7 @@ void FilterConfigItem::ImpInitTree( const String& rSubTree ) try { xUpdatableView = xCfgProv->createInstanceWithArguments( - OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.configuration.ConfigurationUpdateAccess" ) ), + OUString( "com.sun.star.configuration.ConfigurationUpdateAccess" ), aArguments ); if ( xUpdatableView.is() ) xPropSet = Reference< XPropertySet >( xUpdatableView, UNO_QUERY ); @@ -422,7 +420,7 @@ Sequence< PropertyValue > FilterConfigItem::GetFilterData() const Reference< XStatusIndicator > FilterConfigItem::GetStatusIndicator() const { Reference< XStatusIndicator > xStatusIndicator; - const rtl::OUString sStatusIndicator( RTL_CONSTASCII_USTRINGPARAM( "StatusIndicator" ) ); + const rtl::OUString sStatusIndicator( "StatusIndicator" ); sal_Int32 i, nCount = aFilterData.getLength(); for ( i = 0; i < nCount; i++ ) |