[Libreoffice-commits] core.git: sw/source

Michael Stahl mstahl at redhat.com
Wed Nov 12 08:27:59 PST 2014


 sw/source/ui/config/optload.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 6e3c823f591365c94b22932f08f0884d372e083e
Author: Michael Stahl <mstahl at redhat.com>
Date:   Wed Nov 12 17:20:58 2014 +0100

    fdo#80328: sw: fix inverted conditional in AutoCaption dialog
    
    (regression from af2d474ff9a91645043c1d4292891c313cceef5e)
    
    Change-Id: Ib22be881c82024e545752715bb9eeb2851a64f88

diff --git a/sw/source/ui/config/optload.cxx b/sw/source/ui/config/optload.cxx
index bac7393..f1305b9 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 );


More information about the Libreoffice-commits mailing list