diff options
Diffstat (limited to 'svl/source/misc/sharedstring.cxx')
-rw-r--r-- | svl/source/misc/sharedstring.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/svl/source/misc/sharedstring.cxx b/svl/source/misc/sharedstring.cxx index 5eb3af5cbbf4..9c0cad2f73af 100644 --- a/svl/source/misc/sharedstring.cxx +++ b/svl/source/misc/sharedstring.cxx @@ -113,6 +113,11 @@ bool SharedString::isValid() const return mpData != NULL; } +bool SharedString::isEmpty() const +{ + return mpData == NULL || mpData->length == 0; +} + } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |