[Libreoffice-commits] .: sfx2/inc sfx2/source sw/source
Kohei Yoshida
kohei at kemper.freedesktop.org
Wed Jul 25 13:34:38 PDT 2012
sfx2/inc/sfx2/sfxhtml.hxx | 2 +-
sfx2/source/bastyp/sfxhtml.cxx | 2 +-
sw/source/filter/html/htmlcss1.cxx | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit c07fe0d98b14bce18ba676b7dcec6c6245b55660
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date: Wed Jul 25 16:29:26 2012 -0400
Remove unused parameter.
Change-Id: Ib6539528655c5def0d0802602ec913799f0ab07a
diff --git a/sfx2/inc/sfx2/sfxhtml.hxx b/sfx2/inc/sfx2/sfxhtml.hxx
index e0ccf59..971d793 100644
--- a/sfx2/inc/sfx2/sfxhtml.hxx
+++ b/sfx2/inc/sfx2/sfxhtml.hxx
@@ -81,7 +81,7 @@ protected:
// up by FinishFileDownload. To cancel the download should a shell be
// left. It can only exist a single download at the same time, For every
// started download FinshFileDownload must be called.
- void StartFileDownload( const String& rURL, SfxObjectShell *pSh=0 );
+ void StartFileDownload(const OUString& rURL);
// End of an asynchronous file download. Returns TRUE if the download
// was successful. The read file is then passed into String.
diff --git a/sfx2/source/bastyp/sfxhtml.cxx b/sfx2/source/bastyp/sfxhtml.cxx
index fd6578d..9c64259 100644
--- a/sfx2/source/bastyp/sfxhtml.cxx
+++ b/sfx2/source/bastyp/sfxhtml.cxx
@@ -225,7 +225,7 @@ IMAPOBJ_SETEVENT:
return bNewArea;
}
-void SfxHTMLParser::StartFileDownload( const String& rURL, SfxObjectShell* /*pSh*/ )
+void SfxHTMLParser::StartFileDownload(const OUString& rURL)
{
DBG_ASSERT( !pDLMedium, "StartFileDownload when active Download" );
if( pDLMedium )
diff --git a/sw/source/filter/html/htmlcss1.cxx b/sw/source/filter/html/htmlcss1.cxx
index ecc0f58..f3fe2b6 100644
--- a/sw/source/filter/html/htmlcss1.cxx
+++ b/sw/source/filter/html/htmlcss1.cxx
@@ -1821,7 +1821,7 @@ void SwHTMLParser::InsertLink()
if( GetMedium() )
{
// Download des Style-Source starten
- StartFileDownload(sHRef, pDoc->GetDocShell());
+ StartFileDownload(sHRef);
if( IsParserWorking() )
{
// Der Style wurde synchron geladen und wir koennen
More information about the Libreoffice-commits
mailing list