diff options
author | Peter Burow <pb@openoffice.org> | 2001-02-21 12:54:44 +0000 |
---|---|---|
committer | Peter Burow <pb@openoffice.org> | 2001-02-21 12:54:44 +0000 |
commit | 779f640a55e754453f9396e3d5c46646597785b9 (patch) | |
tree | 2b3687e670809a0181b921c5f176ff5c8524f365 /sfx2 | |
parent | a4ddd8b1fa7870f3fa33a1bf9ab097d0be0f3b3c (diff) |
fix: #84180# feed SfxContentHelper with URL only
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/dialog/dinfdlg.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/source/dialog/dinfdlg.cxx b/sfx2/source/dialog/dinfdlg.cxx index be3f3865aeca..9198253daade 100644 --- a/sfx2/source/dialog/dinfdlg.cxx +++ b/sfx2/source/dialog/dinfdlg.cxx @@ -2,9 +2,9 @@ * * $RCSfile: dinfdlg.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: sb $ $Date: 2001-02-14 08:02:18 $ + * last change: $Author: pb $ $Date: 2001-02-21 13:54:44 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -528,14 +528,14 @@ void SfxDocumentPage::Reset( const SfxItemSet& rSet ) // Bestimmung von Groesse und Typ String aSizeText( aUnknownSize ); if ( aURL.GetProtocol() == INET_PROT_FILE ) - aSizeText = CreateSizeText( SfxContentHelper::GetSize( aURL.PathToFileName() ) ); + aSizeText = CreateSizeText( SfxContentHelper::GetSize( aURL.GetMainURL() ) ); aShowSizeFT.SetText( aSizeText ); String aDescription( SfxResId( STR_SFX_NEWOFFICEDOC ) ); if ( aURL.GetLastName().Len() ) { - DBG_ERROR("Not implemented!" ); -// aDescription = SfxExplorerFile::GetDescription( rMainURL ); + DBG_WARNINGFILE( "Not implemented!" ); +//! aDescription = SfxExplorerFile::GetDescription( rMainURL ); } aShowTypeFT.SetText( aDescription ); |