diff options
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/wrtsh/wrtsh2.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/wrtsh/wrtsh2.cxx b/sw/source/uibase/wrtsh/wrtsh2.cxx index a2bb96066802..01fab7ae8b28 100644 --- a/sw/source/uibase/wrtsh/wrtsh2.cxx +++ b/sw/source/uibase/wrtsh/wrtsh2.cxx @@ -472,7 +472,8 @@ void LoadURL( SwViewShell& rVSh, const OUString& rURL, sal_uInt16 nFilter, return; // We are doing tiledRendering, let the client handles the URL loading. - if (rVSh.isTiledRendering()) { + if (rVSh.isTiledRendering()) + { rVSh.libreOfficeKitCallback(LOK_CALLBACK_HYPERLINK_CLICKED, OUStringToOString(rURL, RTL_TEXTENCODING_UTF8).getStr()); return; @@ -481,7 +482,6 @@ void LoadURL( SwViewShell& rVSh, const OUString& rURL, sal_uInt16 nFilter, //A CrsrShell is always a WrtShell SwWrtShell &rSh = static_cast<SwWrtShell&>(rVSh); - SwDocShell* pDShell = rSh.GetView().GetDocShell(); OSL_ENSURE( pDShell, "No DocShell?!"); OUString sTargetFrame(rTargetFrameName); |