diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-04-09 12:22:06 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2013-04-09 13:01:27 -0400 |
commit | 0ce9083428d8181a30de1d11d511382ce101c543 (patch) | |
tree | c3122eb6ca62f24c0ddb6d4b6931568899beee09 /sfx2/source/doc/objcont.cxx | |
parent | 63724f0ab38390d2483f7ceb28d4baf29171f330 (diff) |
String cleanup inside SfxFilter.
Change-Id: I647b9e4de54fdcfadcf17ac7e161b245f3dea546
Diffstat (limited to 'sfx2/source/doc/objcont.cxx')
-rw-r--r-- | sfx2/source/doc/objcont.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/objcont.cxx b/sfx2/source/doc/objcont.cxx index e6722b7f9af1..a03879c4ddbe 100644 --- a/sfx2/source/doc/objcont.cxx +++ b/sfx2/source/doc/objcont.cxx @@ -807,7 +807,7 @@ void SfxObjectShell::UpdateFromTemplate_Impl( ) sal_Bool SfxObjectShell::IsHelpDocument() const { const SfxFilter* pFilter = GetMedium()->GetFilter(); - return ( pFilter && pFilter->GetFilterName().CompareToAscii("writer_web_HTML_help") == COMPARE_EQUAL ); + return (pFilter && pFilter->GetFilterName() == "writer_web_HTML_help"); } void SfxObjectShell::ResetFromTemplate( const String& rTemplateName, const String& rFileName ) |