]> git.lyx.org Git - features.git/commitdiff
Forgot this
authorMartin Vermeer <martin.vermeer@hut.fi>
Sun, 19 Aug 2007 15:42:14 +0000 (15:42 +0000)
committerMartin Vermeer <martin.vermeer@hut.fi>
Sun, 19 Aug 2007 15:42:14 +0000 (15:42 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@19647 a592a061-630c-0410-9148-cb99ea01b6c8

src/CutAndPaste.cpp

index 491d4a0e7612fe07190e2bc7e456e9ab2fa23ff2..a6339581ec0f80d0cf2e48c0e89cfd707942e84b 100644 (file)
@@ -453,7 +453,7 @@ void switchBetweenClasses(textclass_type c1, textclass_type c2,
                if (it->lyxCode() == Inset::CHARSTYLE_CODE) {
                        InsetCharStyle & inset =
                                static_cast<InsetCharStyle &>(*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()) {