diff options
author | Daniel Rentz <dr@openoffice.org> | 2010-07-27 18:05:46 +0200 |
---|---|---|
committer | Daniel Rentz <dr@openoffice.org> | 2010-07-27 18:05:46 +0200 |
commit | e24d76dd8dead151c7192bb66f24ea6c89e4c7bf (patch) | |
tree | 875ee1b0dc975112b9663263ec802af87bc4f809 /sc/source/ui/undo | |
parent | eba961a2cc1b857d1fb6d7b3a2210253ae8a4feb (diff) | |
parent | b16e44f08c9819d398955b3699bd30e4a48ab30c (diff) |
mib17: rebase to OOO330_m2
Diffstat (limited to 'sc/source/ui/undo')
-rw-r--r-- | sc/source/ui/undo/undostyl.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/source/ui/undo/undostyl.cxx b/sc/source/ui/undo/undostyl.cxx index 67a91baa38ee..b4ea7f35448c 100644 --- a/sc/source/ui/undo/undostyl.cxx +++ b/sc/source/ui/undo/undostyl.cxx @@ -37,6 +37,7 @@ #include "undostyl.hxx" #include "docsh.hxx" +#include "docpool.hxx" #include "stlpool.hxx" #include "printfun.hxx" #include "scmod.hxx" @@ -166,6 +167,9 @@ void ScUndoModifyStyle::DoChange( ScDocShell* pDocSh, const String& rName, { // create style (with new name) pStyle = &pStlPool->Make( aNewName, eStyleFamily, SFXSTYLEBIT_USERDEF ); + + if ( eStyleFamily == SFX_STYLE_FAMILY_PARA ) + pDoc->GetPool()->CellStyleCreated( aNewName ); } if ( pStyle ) |