summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/graphhelp.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-01-21 15:53:55 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-01-21 15:54:52 +0100
commita3f32769fc4bb23c64168b412dd10ec769a3854d (patch)
tree92bb435946dcfc422c9816bc05c150069a2da3c3 /sfx2/source/doc/graphhelp.cxx
parent35539318cecddc9ccb2904573a894ea05adc432c (diff)
Fix bogus mass-conversion equalsAsciiL -> startsWith
3af99e4d59d89c343965a928681a30f36b1007d2 "convert equalsAsciiL calls to startsWith calls" should rather have converted to oprator ==. Change-Id: Id4a8836c5d6d570e54661c40be7214632e202b21
Diffstat (limited to 'sfx2/source/doc/graphhelp.cxx')
-rw-r--r--sfx2/source/doc/graphhelp.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/graphhelp.cxx b/sfx2/source/doc/graphhelp.cxx
index 8e3e8a692bb1..c74042d487d8 100644
--- a/sfx2/source/doc/graphhelp.cxx
+++ b/sfx2/source/doc/graphhelp.cxx
@@ -498,7 +498,7 @@ sal_uInt16 GraphicHelper::getThumbnailReplacementIDByFactoryName_Impl( const OUS
{
nResult = BMP_128X128_MATH_DOC;
}
- else if ( aFactoryShortName.startsWith( "swriter" ) )
+ else if ( aFactoryShortName == "swriter" || aFactoryShortName.startsWith("swriter/") )
{
nResult = BMP_128X128_WRITER_DOC;
}