[Libreoffice-commits] core.git: Branch 'feature/tiled-editing' - sw/source
Jan Holesovsky
kendy at collabora.com
Mon Mar 9 01:07:16 PDT 2015
sw/source/uibase/wrtsh/wrtsh2.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 13fd2d6a4327f61a0bf5293f1b0400b9acb7693f
Author: Jan Holesovsky <kendy at collabora.com>
Date: Mon Mar 9 09:04:46 2015 +0100
Whitespace in a recent commit.
Change-Id: Ied315d27cd0b5dbe640a2a3c87f5dc6c3dc11bf0
diff --git a/sw/source/uibase/wrtsh/wrtsh2.cxx b/sw/source/uibase/wrtsh/wrtsh2.cxx
index a2bb960..01fab7a 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);
More information about the Libreoffice-commits
mailing list