summaryrefslogtreecommitdiff
path: root/svx/source/dialog/hldoctp.cxx
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-10-12 11:14:28 +0000
committerOliver Bolte <obo@openoffice.org>2006-10-12 11:14:28 +0000
commit45a54ec3fa4360ee3750fed19be25bb0d1bfc5b7 (patch)
tree88c1f758af572f97c8ae7ab0535a9d93512f2c16 /svx/source/dialog/hldoctp.cxx
parentb5d0d593d94789b2226e749a4e78335a0bb2b63a (diff)
INTEGRATION: CWS sb59 (1.23.62); FILE MERGED
2006/08/18 12:02:47 sb 1.23.62.2: #i67487# Made code warning-free (wntmsci10). 2006/08/03 13:51:30 cl 1.23.62.1: removed compiler warnings
Diffstat (limited to 'svx/source/dialog/hldoctp.cxx')
-rw-r--r--svx/source/dialog/hldoctp.cxx11
1 files changed, 6 insertions, 5 deletions
diff --git a/svx/source/dialog/hldoctp.cxx b/svx/source/dialog/hldoctp.cxx
index 9dfa487b64e7..217aa898f67f 100644
--- a/svx/source/dialog/hldoctp.cxx
+++ b/svx/source/dialog/hldoctp.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: hldoctp.cxx,v $
*
- * $Revision: 1.24 $
+ * $Revision: 1.25 $
*
- * last change: $Author: obo $ $Date: 2006-09-17 04:23:04 $
+ * last change: $Author: obo $ $Date: 2006-10-12 12:14:28 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -48,6 +48,7 @@
#ifndef _FILEDLGHELPER_HXX
#include <sfx2/filedlghelper.hxx>
#endif
+#include "com/sun/star/ui/dialogs/TemplateDescription.hpp"
#include "hldoctp.hxx"
#include "hyperdlg.hrc"
@@ -224,7 +225,9 @@ void SvxHyperlinkDocTp::SetInitFocus()
IMPL_LINK ( SvxHyperlinkDocTp, ClickFileopenHdl_Impl, void *, EMPTYARG )
{
// Open Fileopen-Dialog
- ::sfx2::FileDialogHelper aDlg( ::sfx2::FILEOPEN_SIMPLE, 0, GetParent() );
+ ::sfx2::FileDialogHelper aDlg(
+ com::sun::star::ui::dialogs::TemplateDescription::FILEOPEN_SIMPLE, 0,
+ GetParent() );
String aOldURL( GetCurrentURL() );
if( aOldURL.EqualsIgnoreCaseAscii( sFileScheme, 0, sizeof( sFileScheme ) - 1 ) ||
aOldURL.EqualsIgnoreCaseAscii( sPortalFileScheme, 0, sizeof( sFileScheme ) - 1 ) )
@@ -387,6 +390,4 @@ SvxHyperlinkDocTp::EPathType SvxHyperlinkDocTp::GetPathType ( String& aStrPath )
return Type_Invalid;
else
return Type_ExistsFile;
-
- return Type_Unknown;
}