summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Budea <aron.budea@collabora.com>2023-12-10 00:19:43 +1030
committerAron Budea <aron.budea@collabora.com>2023-12-10 00:19:43 +1030
commitc971d1b920ef0cc7b25e0ec71c8d3824e220e3e0 (patch)
treed4913a49cdc19b2eff2e1295add1188bdcad8e9b
parenta94c68a214691edf9b81bbf4edc096d3af133c13 (diff)
Change-Id: I68d53a45cf59dac25c4b92ef4c232751f14f6684
-rw-r--r--sw/source/uibase/wrtsh/wrtsh2.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/wrtsh/wrtsh2.cxx b/sw/source/uibase/wrtsh/wrtsh2.cxx
index 040830a27107..4c856efab95e 100644
--- a/sw/source/uibase/wrtsh/wrtsh2.cxx
+++ b/sw/source/uibase/wrtsh/wrtsh2.cxx
@@ -495,7 +495,7 @@ static void LoadURL(SwView& rView, const OUString& rURL, LoadUrlFlags nFilter,
{
// May be the relative link -> try to convert to absolute path
OUString sParentPath =
- rVSh.GetDoc()->GetDocShell()->GetMedium()->GetURLObject().GetPath();
+ rView.GetDocShell()->GetMedium()->GetURLObject().GetPath();
bool bCorrectURL = true;
aURL = INetURLObject();