diff options
Diffstat (limited to 'editeng/source')
-rw-r--r-- | editeng/source/items/flditem.cxx | 2 | ||||
-rw-r--r-- | editeng/source/misc/unolingu.cxx | 2 | ||||
-rw-r--r-- | editeng/source/uno/unotext.cxx | 4 | ||||
-rw-r--r-- | editeng/source/xml/xmltxtexp.cxx | 2 | ||||
-rw-r--r-- | editeng/source/xml/xmltxtimp.cxx | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/editeng/source/items/flditem.cxx b/editeng/source/items/flditem.cxx index 1c0a2c10d735..c4ab4c557a90 100644 --- a/editeng/source/items/flditem.cxx +++ b/editeng/source/items/flditem.cxx @@ -841,7 +841,7 @@ rtl::OUString SvxExtTimeField::GetFormatted( Time& aTime, SvxTimeFormat eFormat, case SVXTIMEFORMAT_12_HMSH: { // no builtin format available, try to insert or reuse - OUString aFormatCode( RTL_CONSTASCII_USTRINGPARAM( "HH:MM:SS.00 AM/PM" ) ); + OUString aFormatCode( "HH:MM:SS.00 AM/PM" ); sal_Int32 nCheckPos; short nType; rFormatter.PutandConvertEntry( aFormatCode, nCheckPos, nType, diff --git a/editeng/source/misc/unolingu.cxx b/editeng/source/misc/unolingu.cxx index 48ba83880628..c87d162ad2c7 100644 --- a/editeng/source/misc/unolingu.cxx +++ b/editeng/source/misc/unolingu.cxx @@ -699,7 +699,7 @@ uno::Reference< XDictionary > LinguMgr::GetStandard() if (!xTmpDicList.is()) return NULL; - const OUString aDicName( RTL_CONSTASCII_USTRINGPARAM( "standard.dic" ) ); + const OUString aDicName( "standard.dic" ); uno::Reference< XDictionary > xDic( xTmpDicList->getDictionaryByName( aDicName ), UNO_QUERY ); if (!xDic.is()) diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx index cc8cd4cd7bbb..20f73674105b 100644 --- a/editeng/source/uno/unotext.cxx +++ b/editeng/source/uno/unotext.cxx @@ -666,12 +666,12 @@ void SvxUnoTextRangeBase::getPropertyValue( const SfxItemPropertySimpleEntry* pM case WID_PORTIONTYPE: if ( rSet.GetItemState( EE_FEATURE_FIELD, sal_False ) == SFX_ITEM_SET ) { - OUString aType( RTL_CONSTASCII_USTRINGPARAM("TextField") ); + OUString aType("TextField"); rAny <<= aType; } else { - OUString aType( RTL_CONSTASCII_USTRINGPARAM("Text") ); + OUString aType("Text"); rAny <<= aType; } break; diff --git a/editeng/source/xml/xmltxtexp.cxx b/editeng/source/xml/xmltxtexp.cxx index 0b568f211f66..da42d5ce12e5 100644 --- a/editeng/source/xml/xmltxtexp.cxx +++ b/editeng/source/xml/xmltxtexp.cxx @@ -419,7 +419,7 @@ void SvxWriteXML( EditEngine& rEditEngine, SvStream& rStream, const ESelection& uno::Reference<io::XOutputStream> xOut( new utl::OOutputStreamWrapper( rStream ) ); /* testcode - const OUString aURL( RTL_CONSTASCII_USTRINGPARAM( "file:///e:/test.xml" ) ); + const OUString aURL( "file:///e:/test.xml" ); SfxMedium aMedium( aURL, STREAM_WRITE | STREAM_TRUNC, sal_True ); aMedium.IsRemote(); uno::Reference<io::XOutputStream> xOut( new utl::OOutputStreamWrapper( *aMedium.GetOutStream() ) ); diff --git a/editeng/source/xml/xmltxtimp.cxx b/editeng/source/xml/xmltxtimp.cxx index 128e9b4316ef..81963096b3e1 100644 --- a/editeng/source/xml/xmltxtimp.cxx +++ b/editeng/source/xml/xmltxtimp.cxx @@ -167,7 +167,7 @@ void SvxReadXML( EditEngine& rEditEngine, SvStream& rStream, const ESelection& r uno::Reference<io::XInputStream> xInputStream = new utl::OInputStreamWrapper( rStream ); /* testcode - const OUString aURL( RTL_CONSTASCII_USTRINGPARAM( "file:///e:/test.xml" ) ); + const OUString aURL( "file:///e:/test.xml" ); SfxMedium aMedium( aURL, STREAM_READ | STREAM_NOCREATE, sal_True ); aMedium.IsRemote(); uno::Reference<io::XOutputStream> xOut( new utl::OOutputStreamWrapper( *aMedium.GetOutStream() ) ); |