From: Martin Vermeer Date: Sun, 19 Aug 2007 15:42:14 +0000 (+0000) Subject: Forgot this X-Git-Tag: 1.6.10~8802 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=3e13089402a6f41afd5f7b85127dc7916dd83c5a;p=features.git Forgot this git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19647 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/CutAndPaste.cpp b/src/CutAndPaste.cpp index 491d4a0e76..a6339581ec 100644 --- a/src/CutAndPaste.cpp +++ b/src/CutAndPaste.cpp @@ -453,7 +453,7 @@ void switchBetweenClasses(textclass_type c1, textclass_type c2, if (it->lyxCode() == Inset::CHARSTYLE_CODE) { InsetCharStyle & inset = static_cast(*it); - string const name = inset.params().type; + string const name = inset.params().name; CharStyles::iterator const found_cs = tclass2.charstyle(name); if (found_cs == tclass2.charstyles().end()) {