sw/source/uibase/wrtsh/wrtsh2.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit c971d1b920ef0cc7b25e0ec71c8d3824e220e3e0
Author:     Aron Budea <aron.bu...@collabora.com>
AuthorDate: Sun Dec 10 00:19:43 2023 +1030
Commit:     Aron Budea <aron.bu...@collabora.com>
CommitDate: Sun Dec 10 00:19:43 2023 +1030

    build fix
    
    Change-Id: I68d53a45cf59dac25c4b92ef4c232751f14f6684

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();

Reply via email to