diff options
author | Oliver Specht <os@openoffice.org> | 2001-02-21 11:27:37 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2001-02-21 11:27:37 +0000 |
commit | 199b49e0058268280baee5b56f739aefdc8c7b08 (patch) | |
tree | e64908bf05dcf219288b24f8be9272c5a1ccee9e /sw/source/ui/inc/dbinsdlg.hxx | |
parent | use database struct instead of a combined string (diff) | |
download | core-199b49e0058268280baee5b56f739aefdc8c7b08.tar.gz core-199b49e0058268280baee5b56f739aefdc8c7b08.zip |
use database struct instead of a combined string
Diffstat (limited to 'sw/source/ui/inc/dbinsdlg.hxx')
-rw-r--r-- | sw/source/ui/inc/dbinsdlg.hxx | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/sw/source/ui/inc/dbinsdlg.hxx b/sw/source/ui/inc/dbinsdlg.hxx index cc6d2404d6e7..4b0a6dd29705 100644 --- a/sw/source/ui/inc/dbinsdlg.hxx +++ b/sw/source/ui/inc/dbinsdlg.hxx @@ -2,9 +2,9 @@ * * $RCSfile: dbinsdlg.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: os $ $Date: 2000-12-08 10:19:55 $ + * last change: $Author: os $ $Date: 2001-02-21 12:27:36 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -93,6 +93,9 @@ #ifndef _SWNUMFMTLB_HXX //autogen #include <numfmtlb.hxx> #endif +#ifndef _SWDBDATA_HXX +#include <swdbdata.hxx> +#endif #ifndef _COM_SUN_STAR_UNO_REFERENCE_H_ #include <com/sun/star/uno/Reference.h> #endif @@ -136,12 +139,6 @@ struct SwInsDBColumn int operator<( const SwInsDBColumn& rCmp ) const; }; -struct SwInsDBData -{ - String sDataBaseName; - String sDataTableName; - String sStatement; -}; typedef SwInsDBColumn* SwInsDBColumnPtr; SV_DECL_PTRARR_SORT_DEL( SwInsDBColumns, SwInsDBColumnPtr, 32, 32 ) @@ -189,7 +186,7 @@ class SwInsertDBColAutoPilot : public SfxModalDialog, public utl::ConfigItem HelpButton aBtHelp; SwInsDBColumns aDBColumns; - const SwInsDBData aDBData; + const SwDBData aDBData; Link aOldNumFmtLnk; String sNoTmpl; @@ -223,7 +220,7 @@ public: SwInsertDBColAutoPilot( SwView& rView, ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDataSource> rxSource, com::sun::star::uno::Reference<com::sun::star::sdbcx::XColumnsSupplier>, - const SwInsDBData& rData ); + const SwDBData& rData ); virtual ~SwInsertDBColAutoPilot(); |