diff options
Diffstat (limited to 'forms/source/component/Columns.cxx')
-rw-r--r-- | forms/source/component/Columns.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/component/Columns.cxx b/forms/source/component/Columns.cxx index 944374e1ed2d..94c7e5f43841 100644 --- a/forms/source/component/Columns.cxx +++ b/forms/source/component/Columns.cxx @@ -97,9 +97,9 @@ sal_Int32 getColumnTypeByModelName(const OUString& aModelName) sal_Int32 nPrefixPos = aModelName.indexOf(aModelPrefix); #ifdef DBG_UTIL sal_Int32 nCompatiblePrefixPos = aModelName.indexOf(aCompatibleModelPrefix); -#endif DBG_ASSERT( (nPrefixPos != -1) || (nCompatiblePrefixPos != -1), "::getColumnTypeByModelName() : wrong servivce !"); +#endif OUString aColumnType = (nPrefixPos != -1) ? aModelName.copy(aModelPrefix.getLength()) |