diff options
author | Michael Stahl <mstahl@redhat.com> | 2014-11-12 17:20:58 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2014-11-12 17:22:15 +0100 |
commit | 6e3c823f591365c94b22932f08f0884d372e083e (patch) | |
tree | 53984e48cdbf142e4d5e89ef19e025789bd4319d | |
parent | e1cbf05c9d43452eeaa19a5eb47512249ca05edd (diff) |
fdo#80328: sw: fix inverted conditional in AutoCaption dialog
(regression from af2d474ff9a91645043c1d4292891c313cceef5e)
Change-Id: Ib22be881c82024e545752715bb9eeb2851a64f88
-rw-r--r-- | sw/source/ui/config/optload.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/config/optload.cxx b/sw/source/ui/config/optload.cxx index bac7393fa6c9..f1305b91e3bd 100644 --- a/sw/source/ui/config/optload.cxx +++ b/sw/source/ui/config/optload.cxx @@ -588,9 +588,9 @@ void SwCaptionOptPage::Reset( const SfxItemSet* rSet) const SvGlobalName &rOleId = aObjS[i].GetClassName(); OUString sClass; if (rOleId == SvGlobalName(SO3_OUT_CLASSID)) - sClass = aObjS[i].GetHumanName(); - else sClass = m_sOLE; + else + sClass = aObjS[i].GetHumanName(); // don't show product version sClass = sClass.replaceFirst( sComplete, sWithoutVersion ); m_pCheckLB->InsertEntry( sClass ); |