[Libreoffice-commits] core.git: sd/source

Samuel Mehrbrodt Samuel.Mehrbrodt at cib.de
Thu Jun 30 11:43:36 UTC 2016


 sd/source/ui/dlg/PhotoAlbumDialog.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit d12ed381be17a6bb2dac33ac82c46d85dcd41771
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Date:   Thu Jun 30 11:21:03 2016 +0200

    tdf#65356 Photo Album: Disable "Insert Link" in the add dialog
    
    since we have that option in the dialog directly
    
    Change-Id: Id8f0e39df7c468759cb4dc4d94f0042f09c8296b
    Reviewed-on: https://gerrit.libreoffice.org/26797
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>

diff --git a/sd/source/ui/dlg/PhotoAlbumDialog.cxx b/sd/source/ui/dlg/PhotoAlbumDialog.cxx
index 304ff9e..9622b8c 100644
--- a/sd/source/ui/dlg/PhotoAlbumDialog.cxx
+++ b/sd/source/ui/dlg/PhotoAlbumDialog.cxx
@@ -501,7 +501,7 @@ IMPL_LINK_NOARG_TYPED(SdPhotoAlbumDialog, CreateHdl, Button*, void)
 IMPL_LINK_NOARG_TYPED(SdPhotoAlbumDialog, FileHdl, Button*, void)
 {
     ::sfx2::FileDialogHelper aDlg(
-        css::ui::dialogs::TemplateDescription::FILEOPEN_LINK_PREVIEW,
+        css::ui::dialogs::TemplateDescription::FILEOPEN_PREVIEW,
         FileDialogFlags::Graphic | FileDialogFlags::MultiSelection
     );
     // Read configuration


More information about the Libreoffice-commits mailing list