summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sw/source/core/unocore/unostyle.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/source/core/unocore/unostyle.cxx b/sw/source/core/unocore/unostyle.cxx
index e46a2cc5f4e5..cdec84e6798f 100644
--- a/sw/source/core/unocore/unostyle.cxx
+++ b/sw/source/core/unocore/unostyle.cxx
@@ -75,6 +75,7 @@
#include "ccoll.hxx"
#include "unocore.hrc"
+#include <cassert>
#include <set>
#define STYLE_FAMILY_COUNT 5 // we have 5 style families
@@ -1638,6 +1639,7 @@ const SwPageDesc& SwStyleBase_Impl::GetOldPageDesc()
}
}
}
+ assert(pOldPageDesc != 0);
return *pOldPageDesc;
}