summaryrefslogtreecommitdiff
path: root/configmgr
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 22:19:07 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 22:19:07 +0000
commit69ead7bd8f6247486df87bc0024f575a7b084074 (patch)
treecf5224579fb9f929fdb70b8d44b59c564e60671c /configmgr
parent1233ed6a5c308216b050fbf8717c85abadc6a0c5 (diff)
INTEGRATION: CWS warnings01 (1.6.4); FILE MERGED
2005/11/01 12:47:11 cd 1.6.4.1: #i53898# Warning free code for sun solaris compiler
Diffstat (limited to 'configmgr')
-rw-r--r--configmgr/source/backend/binaryreadhandler.cxx7
-rw-r--r--configmgr/source/backend/emptylayer.cxx22
2 files changed, 14 insertions, 15 deletions
diff --git a/configmgr/source/backend/binaryreadhandler.cxx b/configmgr/source/backend/binaryreadhandler.cxx
index b6b2013577..636215f2c9 100644
--- a/configmgr/source/backend/binaryreadhandler.cxx
+++ b/configmgr/source/backend/binaryreadhandler.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: binaryreadhandler.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 03:26:38 $
+ * last change: $Author: hr $ $Date: 2006-06-19 23:18:33 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -430,8 +430,7 @@ namespace configmgr
case ValueFlags::val_any:
{
OSL_ENSURE(false,"Node of type Any cannot have value");
- throw io::WrongFormatException();
- break;
+ throw io::WrongFormatException();
}
case ValueFlags::val_string:
{
diff --git a/configmgr/source/backend/emptylayer.cxx b/configmgr/source/backend/emptylayer.cxx
index 13f998c854..bf22db44a4 100644
--- a/configmgr/source/backend/emptylayer.cxx
+++ b/configmgr/source/backend/emptylayer.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: emptylayer.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: rt $ $Date: 2005-09-08 03:28:31 $
+ * last change: $Author: hr $ $Date: 2006-06-19 23:19:07 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -130,21 +130,21 @@ namespace configmgr
}
// -----------------------------------------------------------------------------
- void SAL_CALL RequireEmptyLayer::overrideNode( const OUString& aName, sal_Int16 aAttributes, sal_Bool bClear )
+ void SAL_CALL RequireEmptyLayer::overrideNode( const OUString& /*aName*/, sal_Int16 /*aAttributes*/, sal_Bool /*bClear*/ )
throw (backenduno::MalformedDataException, uno::RuntimeException)
{
failNotEmpty();
}
// -----------------------------------------------------------------------------
- void SAL_CALL RequireEmptyLayer::addOrReplaceNode( const OUString& aName, sal_Int16 aAttributes )
+ void SAL_CALL RequireEmptyLayer::addOrReplaceNode( const OUString& /*aName*/, sal_Int16 /*aAttributes*/ )
throw (backenduno::MalformedDataException, uno::RuntimeException)
{
failNotEmpty();
}
// -----------------------------------------------------------------------------
- void SAL_CALL RequireEmptyLayer::addOrReplaceNodeFromTemplate( const OUString& aName, const backenduno::TemplateIdentifier& aTemplate, sal_Int16 aAttributes )
+ void SAL_CALL RequireEmptyLayer::addOrReplaceNodeFromTemplate( const OUString& /*aName*/, const backenduno::TemplateIdentifier& /*aTemplate*/, sal_Int16 /*aAttributes*/)
throw (backenduno::MalformedDataException, uno::RuntimeException)
{
failNotEmpty();
@@ -158,28 +158,28 @@ namespace configmgr
}
// -----------------------------------------------------------------------------
- void SAL_CALL RequireEmptyLayer::dropNode( const OUString& aName )
+ void SAL_CALL RequireEmptyLayer::dropNode( const OUString& /*aName*/ )
throw (backenduno::MalformedDataException, uno::RuntimeException)
{
failNotEmpty();
}
// -----------------------------------------------------------------------------
- void SAL_CALL RequireEmptyLayer::addProperty( const OUString& aName, sal_Int16 aAttributes, const uno::Type& aType )
+ void SAL_CALL RequireEmptyLayer::addProperty( const OUString& /*aName*/, sal_Int16 /*aAttributes*/, const uno::Type& /*aType*/ )
throw (backenduno::MalformedDataException, uno::RuntimeException)
{
failNotEmpty();
}
// -----------------------------------------------------------------------------
- void SAL_CALL RequireEmptyLayer::addPropertyWithValue( const OUString& aName, sal_Int16 aAttributes, const uno::Any& aValue )
+ void SAL_CALL RequireEmptyLayer::addPropertyWithValue( const OUString& /*aName*/, sal_Int16 /*aAttributes*/, const uno::Any& /*aValue*/ )
throw (backenduno::MalformedDataException, uno::RuntimeException)
{
failNotEmpty();
}
// -----------------------------------------------------------------------------
- void SAL_CALL RequireEmptyLayer::overrideProperty( const OUString& aName, sal_Int16 aAttributes, const uno::Type& aType, sal_Bool bClear )
+ void SAL_CALL RequireEmptyLayer::overrideProperty( const OUString& /*aName*/, sal_Int16 /*aAttributes*/, const uno::Type& /*aType*/, sal_Bool /*bClear*/ )
throw (backenduno::MalformedDataException, uno::RuntimeException)
{
failNotEmpty();
@@ -193,14 +193,14 @@ namespace configmgr
}
// -----------------------------------------------------------------------------
- void SAL_CALL RequireEmptyLayer::setPropertyValue( const uno::Any& aValue )
+ void SAL_CALL RequireEmptyLayer::setPropertyValue( const uno::Any& /*aValue*/ )
throw (backenduno::MalformedDataException, uno::RuntimeException)
{
failNotEmpty();
}
// -----------------------------------------------------------------------------
- void SAL_CALL RequireEmptyLayer::setPropertyValueForLocale( const uno::Any& aValue, const OUString& aLocale )
+ void SAL_CALL RequireEmptyLayer::setPropertyValueForLocale( const uno::Any& /*aValue*/, const OUString& /*aLocale*/ )
throw (backenduno::MalformedDataException, uno::RuntimeException)
{
failNotEmpty();