[Libreoffice-commits] core.git: Branch 'private/kendy/condformat-fdo82014' - sc/source
Jan Holesovsky
kendy at collabora.com
Fri Apr 10 06:53:14 PDT 2015
sc/source/ui/unoobj/cellsuno.cxx | 5 +++++
1 file changed, 5 insertions(+)
New commits:
commit a04448dd7aaadc97542ad67ec19d5cb35fe532e0
Author: Jan Holesovsky <kendy at collabora.com>
Date: Fri Apr 10 15:48:31 2015 +0200
fdo#82014: Repaint & set the document to modified after condformat change.
Change-Id: Ife3e805b95bede7be5d436abab925b35e717ee5e
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index 88a8a43..7b5df4e 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -2417,6 +2417,11 @@ void ScCellRangesBase::SetOnePropertyValue( const SfxItemPropertySimpleEntry* pE
pNew->AddRange( aRanges );
pDocShell->GetDocFunc().ReplaceConditionalFormat( 0, pNew, nTab, aRanges );
}
+
+ // and repaint
+ for (size_t i = 0; i < aRanges.size(); ++i)
+ pDocShell->PostPaint(*aRanges[i], PAINT_GRID);
+ pDocShell->SetDocumentModified();
}
}
}
More information about the Libreoffice-commits
mailing list