diff options
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/misc/TokenWriter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/ui/misc/TokenWriter.cxx b/dbaccess/source/ui/misc/TokenWriter.cxx index 58d3acded30e..110278752e5b 100644 --- a/dbaccess/source/ui/misc/TokenWriter.cxx +++ b/dbaccess/source/ui/misc/TokenWriter.cxx @@ -412,8 +412,8 @@ sal_Bool ORTFImportExport::Write() m_xObject->getPropertyValue(PROPERTY_TEXTCOLOR) >>= nColor; ::Color aColor(nColor); - ByteString aFonts(rtl::OUStringToOString(m_aFont.Name, eDestEnc)); - if(!aFonts.Len()) + rtl::OString aFonts(rtl::OUStringToOString(m_aFont.Name, eDestEnc)); + if (aFonts.isEmpty()) { rtl::OUString aName = Application::GetSettings().GetStyleSettings().GetAppFont().GetName(); aFonts = rtl::OUStringToOString(aName, eDestEnc); |