summaryrefslogtreecommitdiff
path: root/sc/source/ui
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-03-11 11:14:07 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-03-16 09:38:07 +0100
commitea607240291126b4c9eb73dadcb83ede560eb080 (patch)
treea9ee978ae88104b9a1159b73fc5da81c62e7b8e1 /sc/source/ui
parentbd3771e1057ae90875d312faa4c30645627260e3 (diff)
Small cleanup - no need to have 2 OpenURL's.
Change-Id: Ib76729004f36e087aaf5a6089a60675c606e9070
Diffstat (limited to 'sc/source/ui')
-rw-r--r--sc/source/ui/view/gridwin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 3063bdf74f0c..da733b92eb60 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -2295,7 +2295,7 @@ void ScGridWindow::MouseButtonUp( const MouseEvent& rMEvt )
// ScGlobal::OpenURL() only understands Calc A1 style syntax.
// Convert it to Calc A1 before calling OpenURL().
if (pDoc->GetAddressConvention() == formula::FormulaGrammar::CONV_OOO)
- ScGlobal::OpenURL(pViewData->GetDocument()->GetDrawLayer(), aUrl, aTarget);
+ ScGlobal::OpenURL(aUrl, aTarget, pViewData->GetDocument()->GetDrawLayer());
else
{
ScAddress aTempAddr;