summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--l10ntools/source/export.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/l10ntools/source/export.cxx b/l10ntools/source/export.cxx
index d3d4cfb4b895..6f8c8b828f60 100644
--- a/l10ntools/source/export.cxx
+++ b/l10ntools/source/export.cxx
@@ -637,7 +637,7 @@ int Export::Execute( int nToken, const char * pToken )
case RSCDEFINELEND:
break;
case CONDITION: {
- if ( nLevel ) {
+ if ( nLevel && pResData ) {
WriteData( pResData, true );
}
}