summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-12-13 11:19:22 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-12-13 11:19:22 +0000
commit7992b2ee683a680697312b5ad9d64bc0e8f08185 (patch)
tree7c1e8143d8a5593ee17e2b4c41ef9bbc3a2a8bc0 /svx
parentdfee7878af89b4929fbcd26919e28b4a928b912d (diff)
INTEGRATION: CWS ineturl1 (1.5.316); FILE MERGED
2004/09/30 16:04:16 cmc 1.5.316.1: #i34006# modify INetURLObject to use rtl::OUString and rtl::OUStringBuffer
Diffstat (limited to 'svx')
-rw-r--r--svx/source/msfilter/msfiltertracer.cxx22
1 files changed, 11 insertions, 11 deletions
diff --git a/svx/source/msfilter/msfiltertracer.cxx b/svx/source/msfilter/msfiltertracer.cxx
index 778f40bd85..ed45d98afa 100644
--- a/svx/source/msfilter/msfiltertracer.cxx
+++ b/svx/source/msfilter/msfiltertracer.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: msfiltertracer.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: rt $ $Date: 2004-04-02 14:09:40 $
+ * last change: $Author: hr $ $Date: 2004-12-13 12:19:22 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -132,36 +132,36 @@ MSFilterTracer::MSFilterTracer( const ::rtl::OUString& rConfigPath, uno::Sequenc
mpCfgItem->ReadInt32( rtl::OUString::createFromAscii( "SearchAlgorithm" ), util::SearchAlgorithms_ABSOLUTE );
// creating the name of the log file
- String aPath( mpCfgItem->ReadString( rtl::OUString::createFromAscii( "Path" ), aEmptyString ) );
- String aName( mpCfgItem->ReadString( rtl::OUString::createFromAscii( "Name" ), aEmptyString ) );
- String aDocumentURL( mpCfgItem->ReadString( rtl::OUString::createFromAscii( "DocumentURL" ), aEmptyString ) );
+ rtl::OUString aPath( mpCfgItem->ReadString( rtl::OUString::createFromAscii( "Path" ), aEmptyString ) );
+ rtl::OUString aName( mpCfgItem->ReadString( rtl::OUString::createFromAscii( "Name" ), aEmptyString ) );
+ rtl::OUString aDocumentURL( mpCfgItem->ReadString( rtl::OUString::createFromAscii( "DocumentURL" ), aEmptyString ) );
INetURLObject aLogFile( aDocumentURL );
- if ( aLogFile.GetMainURL( INetURLObject::NO_DECODE ).Len() )
+ if ( aLogFile.GetMainURL( INetURLObject::NO_DECODE ).getLength() )
{
- if ( aPath.Len() )
+ if ( aPath.getLength() )
{
String aOldName( aLogFile.getName( INetURLObject::LAST_SEGMENT, true, INetURLObject::NO_DECODE ) );
aLogFile = INetURLObject( aPath );
aLogFile.insertName( aOldName );
}
- if ( aName.Len() )
+ if ( aName.getLength() )
aLogFile.setName( aName );
}
else
{
- if ( aPath.Len() )
+ if ( aPath.getLength() )
aLogFile = INetURLObject( aPath );
else
{
String aURLStr;
if( ::utl::LocalFileHelper::ConvertPhysicalNameToURL( Application::GetAppFileName(), aURLStr ) )
{
- aLogFile = aURLStr;
+ aLogFile = INetURLObject(aURLStr);
aLogFile .removeSegment();
aLogFile .removeFinalSlash();
}
}
- if ( !aName.Len() )
+ if ( !aName.getLength() )
aName = rtl::OUString::createFromAscii( "tracer" );
aLogFile.insertName( aName );
}