summaryrefslogtreecommitdiff
path: root/svx/source/gallery2/galexpl.cxx
diff options
context:
space:
mode:
authorKai Ahrens <ka@openoffice.org>2000-11-10 14:04:21 +0000
committerKai Ahrens <ka@openoffice.org>2000-11-10 14:04:21 +0000
commita0eda4ec0b78fc0df75e147c945950f3c7be7347 (patch)
tree59941a272abe691eb5e5fec898552290bc7e82e3 /svx/source/gallery2/galexpl.cxx
parent9cfe0e89415de0492f423ef65652c0654ea211d6 (diff)
must changes (file access)
Diffstat (limited to 'svx/source/gallery2/galexpl.cxx')
-rw-r--r--svx/source/gallery2/galexpl.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/gallery2/galexpl.cxx b/svx/source/gallery2/galexpl.cxx
index f5e11a1d3ac8..9180ecc0903d 100644
--- a/svx/source/gallery2/galexpl.cxx
+++ b/svx/source/gallery2/galexpl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: galexpl.cxx,v $
*
- * $Revision: 1.1.1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hr $ $Date: 2000-09-18 17:01:18 $
+ * last change: $Author: ka $ $Date: 2000-11-10 14:55:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -59,7 +59,7 @@
*
************************************************************************/
-#include <sfx2/inimgr.hxx>
+#include <svtools/pathoptions.hxx>
#include <sfx2/viewfrm.hxx>
#include "gallery1.hxx"
#include "galtheme.hxx"
@@ -81,7 +81,7 @@ Gallery* GalleryExplorer::ImplGetGallery()
static Gallery* pGallery = NULL;
if( !pGallery )
- pGallery = Gallery::AcquireGallery( SFX_INIMANAGER()->Get( SFX_KEY_GALLERY_DIR ) );
+ pGallery = Gallery::AcquireGallery( SvtPathOptions().GetGalleryPath() );
return pGallery;
}