diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-12-04 17:41:24 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-12-04 17:41:32 +0100 |
commit | 190c2fa39e18fd129e0efe7371f9ed35ad696a91 (patch) | |
tree | f9dc3fea6f610df3148fc80970391696614a3e2c /sw | |
parent | bfe74d2254de4e8b7dc488a701d75e5a6169e74d (diff) |
use OUString::startsWith
Change-Id: I248e2e5802ef2404c49fc7bc4c9f4baa794ccdef
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/rtfexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/rtfexport.cxx b/sw/source/filter/ww8/rtfexport.cxx index b70b9bee4c8b..89539ea47c40 100644 --- a/sw/source/filter/ww8/rtfexport.cxx +++ b/sw/source/filter/ww8/rtfexport.cxx @@ -1178,7 +1178,7 @@ SwRTFWriter::SwRTFWriter( const OUString& rFltName, const OUString & rBaseURL ) SAL_INFO("sw.rtf", OSL_THIS_FUNC); SetBaseURL( rBaseURL ); // export outline nodes, only (send outline to clipboard/presentation) - m_bOutOutlineOnly = (!rFltName.isEmpty() && 'O' == rFltName[0]); + m_bOutOutlineOnly = rFltName.startsWith("O"); } SwRTFWriter::~SwRTFWriter() |