Kaydet (Commit) 39ca3b0a authored tarafından Oliver Specht's avatar Oliver Specht

catch ->Exception'&'

üst e015039e
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
* *
* $RCSfile: dbinsdlg.cxx,v $ * $RCSfile: dbinsdlg.cxx,v $
* *
* $Revision: 1.13 $ * $Revision: 1.14 $
* *
* last change: $Author: os $ $Date: 2001-01-26 13:22:20 $ * last change: $Author: os $ $Date: 2001-02-02 11:48:54 $
* *
* 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
...@@ -1176,6 +1176,7 @@ void SwInsertDBColAutoPilot::DataToDoc( const Sequence<sal_Int32>& rSelection, ...@@ -1176,6 +1176,7 @@ void SwInsertDBColAutoPilot::DataToDoc( const Sequence<sal_Int32>& rSelection,
SwWrtShell& rSh = pView->GetWrtShell(); SwWrtShell& rSh = pView->GetWrtShell();
Reference< sdbc::XRow > xRow(xResultSet, UNO_QUERY); Reference< sdbc::XRow > xRow(xResultSet, UNO_QUERY);
BOOL bScrollable; BOOL bScrollable;
//with the drag and drop interface no result set is initially available //with the drag and drop interface no result set is initially available
Reference< sdbc::XStatement > xStatement; Reference< sdbc::XStatement > xStatement;
...@@ -1197,7 +1198,7 @@ void SwInsertDBColAutoPilot::DataToDoc( const Sequence<sal_Int32>& rSelection, ...@@ -1197,7 +1198,7 @@ void SwInsertDBColAutoPilot::DataToDoc( const Sequence<sal_Int32>& rSelection,
xResultSet = xStatement->executeQuery(aDBData.sStatement); xResultSet = xStatement->executeQuery(aDBData.sStatement);
xRow = Reference< sdbc::XRow >(xResultSet, UNO_QUERY); xRow = Reference< sdbc::XRow >(xResultSet, UNO_QUERY);
} }
catch(Exception aExcept) catch(Exception& aExcept)
{ {
DBG_ERROR("exception caught") DBG_ERROR("exception caught")
} }
......
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