From 3e13089402a6f41afd5f7b85127dc7916dd83c5a Mon Sep 17 00:00:00 2001 From: Martin Vermeer Date: Sun, 19 Aug 2007 15:42:14 +0000 Subject: [PATCH] Forgot this git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19647 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/CutAndPaste.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) { -- 2.39.2