summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--basic/source/classes/sbunoobj.cxx22
-rw-r--r--sfx2/source/dialog/partwnd.cxx5
-rw-r--r--svx/source/form/fmtools.cxx19
3 files changed, 0 insertions, 46 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index cadaa0c43131..e655050e3606 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -434,28 +434,6 @@ template< class EXCEPTION >
return implGetExceptionMsg( e, ::getCppuType( &e ).getTypeName() );
}
-// Error-Message fuer WrappedTargetExceptions
-::rtl::OUString implGetWrappedMsg( const WrappedTargetException& e )
-{
- ::rtl::OUString aMsg;
- Any aWrappedAny = e.TargetException;
- Type aExceptionType = aWrappedAny.getValueType();
-
- // Really an Exception?
- if( aExceptionType.getTypeClass() == TypeClass_EXCEPTION )
- {
- Exception& e_ = *( (Exception*)aWrappedAny.getValue() );
- aMsg = implGetExceptionMsg( e_, ::rtl::OUString( aExceptionType.getTypeName() ) );
- }
- // Otherwise use WrappedTargetException itself
- else
- {
- aMsg = implGetExceptionMsg( e );
- }
-
- return aMsg;
-}
-
void implHandleBasicErrorException( BasicErrorException& e )
{
SbError nError = StarBASIC::GetSfxFromVBError( (sal_uInt16)e.ErrorCode );
diff --git a/sfx2/source/dialog/partwnd.cxx b/sfx2/source/dialog/partwnd.cxx
index 0b40f7c69b67..8146fb4763c1 100644
--- a/sfx2/source/dialog/partwnd.cxx
+++ b/sfx2/source/dialog/partwnd.cxx
@@ -166,11 +166,6 @@ SfxPartDockWnd_Impl::~SfxPartDockWnd_Impl()
//****************************************************************************
-Rectangle impl_Rectangle_Struct2Object( const ::com::sun::star::awt::Rectangle& aRectangleStruct )
-{
- return Rectangle(aRectangleStruct.X,aRectangleStruct.Y,aRectangleStruct.Width,aRectangleStruct.Height);
-}
-
void SfxPartDockWnd_Impl::Resize()
/* [Description]
diff --git a/svx/source/form/fmtools.cxx b/svx/source/form/fmtools.cxx
index ba335ba09209..5ab40f1880da 100644
--- a/svx/source/form/fmtools.cxx
+++ b/svx/source/form/fmtools.cxx
@@ -462,25 +462,6 @@ sal_Int16 getControlTypeByObject(const Reference< ::com::sun::star::lang::XServi
}
//------------------------------------------------------------------------------
-void setConnection(const Reference< ::com::sun::star::sdbc::XRowSet>& _rxRowSet, const Reference< ::com::sun::star::sdbc::XConnection>& _rxConn)
-{
- RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "svx", "Ocke.Janssen@sun.com", "fmtools::setConnection" );
- Reference< ::com::sun::star::beans::XPropertySet> xRowSetProps(_rxRowSet, UNO_QUERY);
- if (xRowSetProps.is())
- {
- try
- {
- Any aConn(makeAny(_rxConn));
- xRowSetProps->setPropertyValue(FM_PROP_ACTIVE_CONNECTION, aConn);
- }
- catch(Exception&)
- {
- OSL_FAIL("::setConnection : could not set the connection !");
- }
-
- }
-}
-//------------------------------------------------------------------------------
sal_Bool isRowSetAlive(const Reference< XInterface >& _rxRowSet)
{
RTL_LOGFILE_CONTEXT_AUTHOR( aLogger, "svx", "Ocke.Janssen@sun.com", "fmtools::isRowSetAlive" );