diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-07-24 10:44:12 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-07-24 12:46:56 +0100 |
commit | fb743559fb993d2d8d8b61354e734c27d9d13e1c (patch) | |
tree | 7396b25b7e1fe2eb3aeebdec7b7d468d18699b2d /sw/source/core/doc/docfmt.cxx | |
parent | 183bde5bf5aa048792880292ac77777577fcd13b (diff) |
Families in SwDoc::RenameFmt the wrong way around
busted since initial
commit 9dc46dcbe9e89298022e8e5ea853ffd379ae271e
Author: Jens-Heiner Rechtien <hr@openoffice.org>
Date: Wed Sep 8 14:17:22 2004 +0000
INTEGRATION: CWS swundo03 (1.28.10); FILE MERGED
2004/07/15 07:28:43 hbrinkm 1.28.10.3: RESYNC: (1.28-1.29); FILE MERGED
2004/07/13 08:44:59 hbrinkm 1.28.10.2: #115575#
2004/07/07 16:50:38 hbrinkm 1.28.10.1: #115575# SwDoc::RenameFmt
Change-Id: I5e817d7bf36870edfe4d8623808c0747c2899f45
Diffstat (limited to 'sw/source/core/doc/docfmt.cxx')
-rw-r--r-- | sw/source/core/doc/docfmt.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx index d70b4602026f..ec74bc682e14 100644 --- a/sw/source/core/doc/docfmt.cxx +++ b/sw/source/core/doc/docfmt.cxx @@ -1858,11 +1858,11 @@ void SwDoc::RenameFmt(SwFmt & rFmt, const OUString & sNewName, { case RES_CHRFMT: pUndo = new SwUndoRenameCharFmt(rFmt.GetName(), sNewName, this); - eFamily = SFX_STYLE_FAMILY_PARA; + eFamily = SFX_STYLE_FAMILY_CHAR; break; case RES_TXTFMTCOLL: pUndo = new SwUndoRenameFmtColl(rFmt.GetName(), sNewName, this); - eFamily = SFX_STYLE_FAMILY_CHAR; + eFamily = SFX_STYLE_FAMILY_PARA; break; case RES_FRMFMT: pUndo = new SwUndoRenameFrmFmt(rFmt.GetName(), sNewName, this); |