From d91e6e9c4ce055adc82d8c9ade5ba7f59b98f250 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Wed, 17 Nov 2004 12:39:46 +0000 Subject: [PATCH] INTEGRATION: CWS fwkbugfix03 (1.2.62); FILE MERGED 2004/09/10 10:07:09 as 1.2.62.1: #i34054# normalize URL before using --- comphelper/inc/comphelper/mediadescriptor.hxx | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/comphelper/inc/comphelper/mediadescriptor.hxx b/comphelper/inc/comphelper/mediadescriptor.hxx index a72e1f9befc2..9298b233f485 100644 --- a/comphelper/inc/comphelper/mediadescriptor.hxx +++ b/comphelper/inc/comphelper/mediadescriptor.hxx @@ -2,9 +2,9 @@ * * $RCSfile: mediadescriptor.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: svesik $ $Date: 2004-04-21 11:53:03 $ + * last change: $Author: obo $ $Date: 2004-11-17 13:39:46 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -228,6 +228,18 @@ class MediaDescriptor : public SequenceAsHashMap */ sal_Bool impl_openStreamWithURL(const ::rtl::OUString& sURL) throw(::com::sun::star::uno::RuntimeException); + + //--------------------------------------- + /** @short some URL parts can make trouble for opening streams (e.g. jumpmarks.) + An URL should be "normalized" before its used. + + @param sURL + the original URL (e.g. including a jumpmark) + + @return [string] + the "normalized" URL (e.g. without jumpmark) + */ + ::rtl::OUString impl_normalizeURL(const ::rtl::OUString& sURL); }; } // namespace comphelper