summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/PhotoAlbumDialog.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/dlg/PhotoAlbumDialog.cxx')
-rw-r--r--sd/source/ui/dlg/PhotoAlbumDialog.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/PhotoAlbumDialog.cxx b/sd/source/ui/dlg/PhotoAlbumDialog.cxx
index 3f9b7cef8378..6381c22e663c 100644
--- a/sd/source/ui/dlg/PhotoAlbumDialog.cxx
+++ b/sd/source/ui/dlg/PhotoAlbumDialog.cxx
@@ -518,7 +518,7 @@ IMPL_LINK_NOARG(SdPhotoAlbumDialog, FileHdl, weld::Button&, void)
if ( aDlg.Execute() == ERRCODE_NONE )
{
Sequence< OUString > aFilesArr = aDlg.GetSelectedFiles();
- if( aFilesArr.getLength() )
+ if( aFilesArr.hasElements() )
{
sUrl = aDlg.GetDisplayDirectory();
// Write out configuration