diff options
Diffstat (limited to 'src/modules/spellchecker/libkvispellchecker.cpp')
| -rw-r--r-- | src/modules/spellchecker/libkvispellchecker.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/spellchecker/libkvispellchecker.cpp b/src/modules/spellchecker/libkvispellchecker.cpp index 55cb3f19c..d87e641ea 100644 --- a/src/modules/spellchecker/libkvispellchecker.cpp +++ b/src/modules/spellchecker/libkvispellchecker.cpp @@ -28,8 +28,8 @@ #include <enchant.h> #include <enchant-provider.h> -static EnchantBroker * g_pEnchantBroker = NULL; -static KviPointerList<EnchantDict> * g_pEnchantDicts = NULL; +static EnchantBroker * g_pEnchantBroker = nullptr; +static KviPointerList<EnchantDict> * g_pEnchantDicts = nullptr; /* @doc: spellchecker.available_dictionaries @@ -208,9 +208,9 @@ static bool spellchecker_module_cleanup(KviModule *) enchant_broker_free_dict(g_pEnchantBroker, g_pEnchantDicts->takeFirst()); delete g_pEnchantDicts; - g_pEnchantDicts = NULL; + g_pEnchantDicts = nullptr; enchant_broker_free(g_pEnchantBroker); - g_pEnchantBroker = NULL; + g_pEnchantBroker = nullptr; return true; } |
