Related tdf#126665 Fix image select dialog

Use proper default (work dir, not internal gallery folder)

Change-Id: I3a7a3558274ea066219e2c9f362890d2ab12212e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118838
Tested-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
diff --git a/sfx2/source/appl/opengrf.cxx b/sfx2/source/appl/opengrf.cxx
index 71e46fd..59bf0e1 100644
--- a/sfx2/source/appl/opengrf.cxx
+++ b/sfx2/source/appl/opengrf.cxx
@@ -84,6 +84,7 @@
    : mpImpl(new SvxOpenGrf_Impl(pPreferredParent, ui::dialogs::TemplateDescription::FILEOPEN_LINK_PREVIEW))
{
    mpImpl->aFileDlg.SetTitle(rTitle);
    mpImpl->aFileDlg.SetContext(sfx2::FileDialogHelper::InsertImage);
}

SvxOpenGraphicDialog::SvxOpenGraphicDialog(const OUString& rTitle, weld::Window* pPreferredParent,
diff --git a/sfx2/source/dialog/filedlghelper.cxx b/sfx2/source/dialog/filedlghelper.cxx
index abbdc48..bdee757 100644
--- a/sfx2/source/dialog/filedlghelper.cxx
+++ b/sfx2/source/dialog/filedlghelper.cxx
@@ -2229,7 +2229,7 @@
        }

        if ( maPath.isEmpty() )
            displayFolder( SvtPathOptions().GetGraphicPath() );
            displayFolder( SvtPathOptions().GetWorkPath() );
    }
    else
    {