diff options
Diffstat (limited to 'dbaccess/source/ui/control/opendoccontrols.cxx')
-rw-r--r-- | dbaccess/source/ui/control/opendoccontrols.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/dbaccess/source/ui/control/opendoccontrols.cxx b/dbaccess/source/ui/control/opendoccontrols.cxx index c65285cf414a..5b089f764337 100644 --- a/dbaccess/source/ui/control/opendoccontrols.cxx +++ b/dbaccess/source/ui/control/opendoccontrols.cxx @@ -300,14 +300,10 @@ namespace dbaui aURL.SetPass( sPassword ); if ( !sTitle.Len() ) - sTitle = aURL.getName(); + sTitle = aURL.getBase( INetURLObject::LAST_SEGMENT, true, INetURLObject::DECODE_UNAMBIGUOUS ); String sDecodedURL = aURL.GetMainURL( INetURLObject::NO_DECODE ); -// sTitle.AppendAscii( " (" ); -// sTitle += String( ::svt::OFileNotation( sDecodedURL ).get( ::svt::OFileNotation::N_SYSTEM ) ); -// sTitle.AppendAscii( ")" ); - USHORT nPos = InsertEntry( sTitle ); m_aURLs.insert( MapIndexToStringPair::value_type( nPos, StringPair( sDecodedURL, sFilter ) ) ); } |