diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-08 15:54:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2016-12-08 17:27:26 +0000 |
commit | e61521f6cf0a065d23b420c4007ea224c3070052 (patch) | |
tree | f506779d08e8ce04af91e8512c27f54c50197323 /toolkit/source/controls/controlmodelcontainerbase.cxx | |
parent | 8228227168a7eb3ebf14629bec87f01536c23970 (diff) |
OSL_TRACE -> SAL in sw..ucb
Change-Id: I18f5511f70232d91095ac8527a6c5883c36294f5
Reviewed-on: https://gerrit.libreoffice.org/31762
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'toolkit/source/controls/controlmodelcontainerbase.cxx')
-rw-r--r-- | toolkit/source/controls/controlmodelcontainerbase.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/toolkit/source/controls/controlmodelcontainerbase.cxx b/toolkit/source/controls/controlmodelcontainerbase.cxx index 32a80af35cc4..1294f41cef3f 100644 --- a/toolkit/source/controls/controlmodelcontainerbase.cxx +++ b/toolkit/source/controls/controlmodelcontainerbase.cxx @@ -113,7 +113,7 @@ struct DisposeControlModel : public ::std::unary_function< Reference< XControlMo } catch (const Exception&) { - OSL_TRACE( "DisposeControlModel::(): caught an exception while disposing a component!" ); + SAL_WARN("toolkit", "caught an exception while disposing a component!" ); } } }; @@ -667,7 +667,7 @@ sal_Bool SAL_CALL ControlModelContainerBase::getGroupControl( ) throw (RuntimeE void SAL_CALL ControlModelContainerBase::setGroupControl( sal_Bool ) throw (RuntimeException, std::exception) { - OSL_TRACE( "ControlModelContainerBase::setGroupControl: explicit grouping not supported" ); + SAL_WARN("toolkit", "explicit grouping not supported" ); } @@ -763,7 +763,7 @@ void SAL_CALL ControlModelContainerBase::setGroup( const Sequence< Reference< XC // We only have a sequence of control models, and we _know_ (yes, that's a HACK relying on // implementation details) that VCL does grouping according to the order of controls automatically // At least VCL does this for all we're interested in: Radio buttons. - OSL_TRACE( "ControlModelContainerBase::setGroup: grouping not supported" ); + SAL_WARN("toolkit", "grouping not supported" ); } ////----- XInitialization ------------------------------------------------------------------- @@ -842,7 +842,7 @@ namespace } catch (const Exception&) { - OSL_TRACE( "lcl_getDialogStep: caught an exception while determining the dialog page!" ); + SAL_WARN("toolkit", "caught an exception while determining the dialog page!" ); } return nStep; } @@ -867,7 +867,7 @@ void SAL_CALL ControlModelContainerBase::getGroup( sal_Int32 _nGroup, Sequence< if ( ( _nGroup < 0 ) || ( _nGroup >= (sal_Int32)maGroups.size() ) ) { - OSL_TRACE( "ControlModelContainerBase::getGroup: invalid argument and I am not allowed to throw an exception!" ); + SAL_WARN("toolkit", "invalid argument and I am not allowed to throw an exception!" ); _rGroup.realloc( 0 ); _rName.clear(); } |