diff options
author | Eike Rathke <erack@erack.de> | 2011-09-08 01:23:08 +0200 |
---|---|---|
committer | Eike Rathke <erack@erack.de> | 2011-09-08 01:23:08 +0200 |
commit | 7e1bafb2f1f324167e9b438fbf06e0ec346e55ca (patch) | |
tree | 2c76222aa7013872a74d91c9113d920ec33e2ff9 | |
parent | da06488e3188d9de43dc287d3a84a4aa4bd42c10 (diff) |
make ScViewFunc::SetStyleSheetToMarked() work again
-rw-r--r-- | sc/source/ui/view/viewfunc.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/view/viewfunc.cxx b/sc/source/ui/view/viewfunc.cxx index 2186e58499be..6324fb2c3188 100644 --- a/sc/source/ui/view/viewfunc.cxx +++ b/sc/source/ui/view/viewfunc.cxx @@ -1547,8 +1547,7 @@ void ScViewFunc::SetStyleSheetToMarked( SfxStyleSheet* pStyleSheet, sal_Bool bRe ScMarkData::iterator itr = aFuncMark.begin(), itrEnd = aFuncMark.end(); for (; itr != itrEnd; ++itr) - if (*itr != nTab) - pDoc->ApplyStyle( nCol, nRow, *itr, (ScStyleSheet&)*pStyleSheet ); + pDoc->ApplyStyle( nCol, nRow, *itr, (ScStyleSheet&)*pStyleSheet ); if (!AdjustBlockHeight()) pViewData->GetDocShell()->PostPaintCell( nCol, nRow, nTab ); |