diff options
author | RĂ¼diger Timm <rt@openoffice.org> | 2002-12-02 16:33:44 +0000 |
---|---|---|
committer | RĂ¼diger Timm <rt@openoffice.org> | 2002-12-02 16:33:44 +0000 |
commit | 4729846c20efff0c9425760538b0194c1d62a41f (patch) | |
tree | 38b8919cd00eb8a95d06dad4f32ba3e1218bd6d8 /padmin/source/newppdlg.cxx | |
parent | 19343d7a0eb7f630c38744fa8c9567e775fabeed (diff) |
#85375#,#100000# The default parameter for INetURLObject::GetMainURL has been removed.
Diffstat (limited to 'padmin/source/newppdlg.cxx')
-rw-r--r-- | padmin/source/newppdlg.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/padmin/source/newppdlg.cxx b/padmin/source/newppdlg.cxx index b613f7d04321..9db507c8d7d9 100644 --- a/padmin/source/newppdlg.cxx +++ b/padmin/source/newppdlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: newppdlg.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: pl $ $Date: 2002-09-03 13:33:00 $ + * last change: $Author: rt $ $Date: 2002-12-02 17:33:44 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -237,14 +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( aFile.GetMainURL() ); + OUString aFromUni( aFile.GetMainURL(INetURLObject::DECODE_TO_IURI) ); do { INetURLObject aToFile( *writeDir, INET_PROT_FILE, INetURLObject::ENCODE_ALL ); aToFile.Append( aFile.GetName() ); aToFile.setExtension( String::CreateFromAscii( "PPD" ) ); - OUString aToUni( aToFile.GetMainURL() ); + OUString aToUni( aToFile.GetMainURL(INetURLObject::DECODE_TO_IURI) ); if( ! File::copy( aFromUni, aToUni ) ) break; ++writeDir; |