summaryrefslogtreecommitdiff
path: root/padmin/source/newppdlg.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2001-05-22 13:59:21 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2001-05-22 13:59:21 +0000
commit7718b441ec99efa4f87d9beff30a76f9e188f1a6 (patch)
tree7b1e49411ff28d7f1fc3054396a9b54ef9a7cd5c /padmin/source/newppdlg.cxx
parentd226c2b16fa4261d8835f719ad510d2dd44fcfb5 (diff)
#65293# TF_FILEURL remnants
Diffstat (limited to 'padmin/source/newppdlg.cxx')
-rw-r--r--padmin/source/newppdlg.cxx10
1 files changed, 4 insertions, 6 deletions
diff --git a/padmin/source/newppdlg.cxx b/padmin/source/newppdlg.cxx
index 31ff9ce51ad3..ff6c71e97034 100644
--- a/padmin/source/newppdlg.cxx
+++ b/padmin/source/newppdlg.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: newppdlg.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: pl $ $Date: 2001-05-08 11:56:35 $
+ * last change: $Author: rt $ $Date: 2001-05-22 14:59:21 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -237,16 +237,14 @@ IMPL_LINK( PPDImportDialog, ClickBtnHdl, PushButton*, pButton )
INetURLObject aFile( *(String*)m_aDriverLB.GetEntryData(
m_aDriverLB.GetSelectEntryPos( i )
), INET_PROT_FILE, INetURLObject::ENCODE_ALL );
- OUString aFromUni;
- FileBase::normalizePath( aFile.PathToFileName(), aFromUni );
+ OUString aFromUni( aFile.GetMainURL() );
do
{
INetURLObject aToFile( *writeDir, INET_PROT_FILE, INetURLObject::ENCODE_ALL );
aToFile.Append( aFile.GetName() );
aToFile.setExtension( String::CreateFromAscii( "PPD" ) );
- OUString aToUni;
- FileBase::normalizePath( aToFile.PathToFileName(), aToUni );
+ OUString aToUni( aToFile.GetMainURL() );
if( ! File::copy( aFromUni, aToUni ) )
break;
++writeDir;