sc/source/core/data/stlpool.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 341900458578cb7d875efeee1ffdc9a0429e92b7 Author: Maxim Monastirsky <momonas...@gmail.com> AuthorDate: Sun Apr 2 00:06:41 2023 +0300 Commit: Maxim Monastirsky <momonas...@gmail.com> CommitDate: Sun Apr 2 10:10:28 2023 +0200 Explicitly check for cell styles Now that this method is used also for drawing styles. Overlooked this in 685a864cfc40227559ed55f6273fd118174e8e6e ("sc drawstyles: Clipboard support"). Change-Id: I7218b735d743841106606739fbd72e45a1d4bf1d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149923 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky <momonas...@gmail.com> diff --git a/sc/source/core/data/stlpool.cxx b/sc/source/core/data/stlpool.cxx index 6a450483d15e..6fa08b8112de 100644 --- a/sc/source/core/data/stlpool.cxx +++ b/sc/source/core/data/stlpool.cxx @@ -162,7 +162,7 @@ void ScStyleSheetPool::CopyStyleFrom( SfxStyleSheetBasePool* pSrcPool, rDestSet.Put( SvxSetItem( ATTR_PAGE_FOOTERSET, aDestSub ) ); } } - else // cell styles + else if ( eFamily == SfxStyleFamily::Para ) { // number format exchange list has to be handled here, too