diff options
Diffstat (limited to 'solenv')
-rw-r--r-- | solenv/gdb/libreoffice/util/string.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/solenv/gdb/libreoffice/util/string.py b/solenv/gdb/libreoffice/util/string.py index 5ad0e8d8fd30..34cabde3afad 100644 --- a/solenv/gdb/libreoffice/util/string.py +++ b/solenv/gdb/libreoffice/util/string.py @@ -41,9 +41,9 @@ class StringPrinterHelper(object): self.encoding = encoding def to_string(self): - data = self.data() - len = self.length() if self.valid(): + data = self.data() + len = self.length() return self.make_string(data, self.encoding, len) else: return "unintialized %s" % self.typename |