summaryrefslogtreecommitdiff
path: root/xmloff/source/style/EnumPropertyHdl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/source/style/EnumPropertyHdl.cxx')
-rw-r--r--xmloff/source/style/EnumPropertyHdl.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/xmloff/source/style/EnumPropertyHdl.cxx b/xmloff/source/style/EnumPropertyHdl.cxx
index 0c01ba9e6db9..55c3a60491ad 100644
--- a/xmloff/source/style/EnumPropertyHdl.cxx
+++ b/xmloff/source/style/EnumPropertyHdl.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -71,7 +72,7 @@ sal_Bool XMLEnumPropertyHdl::importXML( const OUString& rStrImpValue, Any& rValu
rValue <<= (sal_Int8) nValue;
break;
default:
- DBG_ERROR( "Wrong type for enum property handler!" );
+ OSL_FAIL( "Wrong type for enum property handler!" );
return sal_False;
}
return sal_True;
@@ -96,3 +97,4 @@ sal_Bool XMLEnumPropertyHdl::exportXML( OUString& rStrExpValue, const Any& rValu
return sal_True;
}
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */