summaryrefslogtreecommitdiff
path: root/writerfilter/source/dmapper/PropertyMap.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter/source/dmapper/PropertyMap.hxx')
-rw-r--r--writerfilter/source/dmapper/PropertyMap.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/writerfilter/source/dmapper/PropertyMap.hxx b/writerfilter/source/dmapper/PropertyMap.hxx
index 9f995ae16cd2..17571222630f 100644
--- a/writerfilter/source/dmapper/PropertyMap.hxx
+++ b/writerfilter/source/dmapper/PropertyMap.hxx
@@ -496,7 +496,7 @@ public:
sal_Int16 GetOutlineLevel() const { return mnOutlineLevel; }
void SetOutlineLevel(sal_Int16 nLevel)
{
- if ( nLevel < WW_OUTLINE_MAX )
+ if ( nLevel <= WW_OUTLINE_MAX )
mnOutlineLevel = nLevel;
}