Kaydet (Commit) 94e8385d authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS swmailmerge (1.2.8); FILE MERGED

2004/08/18 14:54:24 os 1.2.8.1: i33130 textencoding now saved (OJ)
üst 572fa5bd
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: xmlEnums.hxx,v $ * $RCSfile: xmlEnums.hxx,v $
* *
* $Revision: 1.2 $ * $Revision: 1.3 $
* *
* last change: $Author: hr $ $Date: 2004-08-02 15:21:11 $ * last change: $Author: rt $ $Date: 2004-09-20 13:35:27 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -104,7 +104,8 @@ namespace dbaxml ...@@ -104,7 +104,8 @@ namespace dbaxml
XML_TOK_AUTO_INCREMENT, XML_TOK_AUTO_INCREMENT,
XML_TOK_DELIMITER, XML_TOK_DELIMITER,
XML_TOK_DATA_SOURCE_SETTINGS, XML_TOK_DATA_SOURCE_SETTINGS,
XML_TOK_FONT_CHARSET XML_TOK_FONT_CHARSET,
XML_TOK_ENCODING
}; };
enum XMLLogin enum XMLLogin
{ {
......
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: xmlfilter.cxx,v $ * $RCSfile: xmlfilter.cxx,v $
* *
* $Revision: 1.2 $ * $Revision: 1.3 $
* *
* last change: $Author: hr $ $Date: 2004-08-02 15:24:14 $ * last change: $Author: rt $ $Date: 2004-09-20 13:35:40 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
...@@ -351,12 +351,15 @@ sal_Bool ODBFilter::implImport( const Sequence< PropertyValue >& rDescriptor ) ...@@ -351,12 +351,15 @@ sal_Bool ODBFilter::implImport( const Sequence< PropertyValue >& rDescriptor )
SvStorage *pStorage = 0; SvStorage *pStorage = 0;
if( pMedium ) if( pMedium )
{ {
try
{
pStorage = pMedium->GetStorage(); pStorage = pMedium->GetStorage();
sal_uInt32 nError = pMedium->GetError(); // nError = pMedium->GetError();
}
nError = nError; catch(const Exception&)
{
}
} }
OSL_ENSURE(pStorage,"No Storage for read!"); OSL_ENSURE(pStorage,"No Storage for read!");
...@@ -586,6 +589,7 @@ const SvXMLTokenMap& ODBFilter::GetDataSourceInfoElemTokenMap() const ...@@ -586,6 +589,7 @@ const SvXMLTokenMap& ODBFilter::GetDataSourceInfoElemTokenMap() const
{ XML_NAMESPACE_DB, XML_DATA_SOURCE_SETTING_TYPE, XML_TOK_DATA_SOURCE_SETTING_TYPE}, { XML_NAMESPACE_DB, XML_DATA_SOURCE_SETTING_TYPE, XML_TOK_DATA_SOURCE_SETTING_TYPE},
{ XML_NAMESPACE_DB, XML_DATA_SOURCE_SETTING_NAME, XML_TOK_DATA_SOURCE_SETTING_NAME}, { XML_NAMESPACE_DB, XML_DATA_SOURCE_SETTING_NAME, XML_TOK_DATA_SOURCE_SETTING_NAME},
{ XML_NAMESPACE_DB, XML_FONT_CHARSET, XML_TOK_FONT_CHARSET}, { XML_NAMESPACE_DB, XML_FONT_CHARSET, XML_TOK_FONT_CHARSET},
{ XML_NAMESPACE_DB, XML_ENCODING, XML_TOK_ENCODING},
XML_TOKEN_MAP_END XML_TOKEN_MAP_END
}; };
m_pDataSourceInfoElemTokenMap.reset(new SvXMLTokenMap( aElemTokenMap )); m_pDataSourceInfoElemTokenMap.reset(new SvXMLTokenMap( aElemTokenMap ));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment