summaryrefslogtreecommitdiff
path: root/sw/source/ui/config/optload.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/config/optload.cxx')
-rw-r--r--sw/source/ui/config/optload.cxx4
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 );