diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-12-13 11:21:38 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-12-13 11:21:38 +0000 |
commit | b0346a61de0143ec292a94baaac3b328a1582869 (patch) | |
tree | 31d8615da6dee999543b172d73fbf25484c84453 /svx | |
parent | b2825ce8f8f5d0c04afbbd5d764921c14834429a (diff) |
INTEGRATION: CWS ineturl1 (1.12.986); FILE MERGED
2004/12/01 15:22:46 cmc 1.12.986.2: RESYNC: (1.12-1.13); FILE MERGED
2004/09/30 16:04:20 cmc 1.12.986.1: #i34006# modify INetURLObject to use rtl::OUString and rtl::OUStringBuffer
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/xoutdev/xtabhtch.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/xoutdev/xtabhtch.cxx b/svx/source/xoutdev/xtabhtch.cxx index 23f1eb46e1..23f7bccfc8 100644 --- a/svx/source/xoutdev/xtabhtch.cxx +++ b/svx/source/xoutdev/xtabhtch.cxx @@ -2,9 +2,9 @@ * * $RCSfile: xtabhtch.cxx,v $ * - * $Revision: 1.13 $ + * $Revision: 1.14 $ * - * last change: $Author: pjunck $ $Date: 2004-11-03 11:11:22 $ + * last change: $Author: hr $ $Date: 2004-12-13 12:21:38 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -351,8 +351,8 @@ BOOL XHatchList::Load() aURL.Append( aName ); - if( !aURL.getExtension().Len() ) - aURL.setExtension( String( pszExtHatch, 3 ) ); + if( !aURL.getExtension().getLength() ) + aURL.setExtension( rtl::OUString( pszExtHatch, 3 ) ); //BFS01 // check if file exists, SfxMedium shows an errorbox else //BFS01 { @@ -413,8 +413,8 @@ BOOL XHatchList::Save() aURL.Append( aName ); - if( !aURL.getExtension().Len() ) - aURL.setExtension( String( pszExtHatch, 3 ) ); + if( !aURL.getExtension().getLength() ) + aURL.setExtension( rtl::OUString( pszExtHatch, 3 ) ); uno::Reference< container::XNameContainer > xTable( SvxUnoXHatchTable_createInstance( this ), uno::UNO_QUERY ); return SvxXMLXTableExportComponent::save( aURL.GetMainURL( INetURLObject::NO_DECODE ), xTable ); |