summaryrefslogtreecommitdiff
path: root/forms
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2001-06-15 09:29:10 +0000
committerFrank Schönheit <fs@openoffice.org>2001-06-15 09:29:10 +0000
commit4902a2d121be16068ccc9802247d21ce658595f9 (patch)
treeda8f5628cfffcaae6733d4428b5658288eeebd17 /forms
parentafa724cb03202ea4aae7e4c824a6cb137f61043f (diff)
#86986# moved css/ui/* to css/ui/dialogs/*
Diffstat (limited to 'forms')
-rw-r--r--forms/source/component/ImageControl.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/forms/source/component/ImageControl.cxx b/forms/source/component/ImageControl.cxx
index ac51583bd5de..ffd861921df7 100644
--- a/forms/source/component/ImageControl.cxx
+++ b/forms/source/component/ImageControl.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ImageControl.cxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: fs $ $Date: 2001-06-15 09:48:11 $
+ * last change: $Author: fs $ $Date: 2001-06-15 10:29:10 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -80,8 +80,8 @@
#include <unotools/ucblockbytes.hxx>
#endif
-#ifndef _COM_SUN_STAR_UI_DIALOGS_FILEPICKERELEMENTID_HPP_
-#include <com/sun/star/ui/dialogs/FilePickerElementID.hpp>
+#ifndef _COM_SUN_STAR_UI_DIALOGS_EXTENDEDFILEPICKERELEMENTIDS_HPP_
+#include <com/sun/star/ui/dialogs/ExtendedFilePickerElementIds.hpp>
#endif
#ifndef _COM_SUN_STAR_UI_DIALOGS_XFILEPICKERCONTROLACCESS_HPP_
#include <com/sun/star/ui/dialogs/XFilePickerControlAccess.hpp>
@@ -652,12 +652,12 @@ void OImageControlControl::mousePressed(const ::com::sun::star::awt::MouseEvent&
aInitArguments[0] <<= sInitializer;
xInit->initialize(aInitArguments);
xDialog->setTitle(sTitle);
- xController->setValue(FilePickerElementID::CBX_PREVIEW, ::cppu::bool2any(sal_True));
- xController->enableControl(FilePickerElementID::CBX_INSERT_AS_LINK, sal_False);
+ xController->setValue(0, ExtendedFilePickerElementIds::CHECKBOX_PREVIEW, ::cppu::bool2any(sal_True));
+ xController->enableControl(ExtendedFilePickerElementIds::CHECKBOX_LINK, sal_False);
if (xDialog->execute())
{
- Sequence< ::rtl::OUString > aPaths = xDialog->getPath();
+ Sequence< ::rtl::OUString > aPaths = xDialog->getFiles();
::rtl::OUString sSelectedPath;
if (aPaths.getLength() > 0)
{