void SXSIStorageInterface::newText(string text)
{
- if (text.empty()) {
- _new_empty_text++;
- tb->NewEmptyText();
- }
- else {
- _new_text++;
- _length_text += text.size();
- tb->NewText((unsigned char*) text.c_str());
- }
+ _new_text++;
+ _length_text += text.size();
+ tb->NewText((unsigned char*) text.c_str());
}