[Libreoffice-commits] core.git: sfx2/source
Samuel Mehrbrodt
Samuel.Mehrbrodt at cib.de
Tue Jan 31 12:43:47 UTC 2017
sfx2/source/view/viewfrm.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit f921476a3a943db5a67884ff77b1ffd22622ca60
Author: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Date: Tue Jan 31 12:42:47 2017 +0100
Use white font for colored InfoBars
Change-Id: I35ac32fc213afe7dc8f3ed29caaa982117ec7737
Reviewed-on: https://gerrit.libreoffice.org/33748
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt at cib.de>
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index dd6e317..3249078 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -1181,6 +1181,7 @@ void SfxViewFrame::Notify( SfxBroadcaster& /*rBC*/, const SfxHint& rHint )
SignatureState nSignatureState = GetObjectShell()->GetDocumentSignatureState();
basegfx::BColor aBackgroundColor;
+ basegfx::BColor aForegroundColor(1.0, 1.0, 1.0);
OUString sMessage("");
switch (nSignatureState)
@@ -1203,7 +1204,7 @@ void SfxViewFrame::Notify( SfxBroadcaster& /*rBC*/, const SfxHint& rHint )
if (!sMessage.isEmpty())
{
- auto pInfoBar = AppendInfoBar("signature", sMessage, &aBackgroundColor);
+ auto pInfoBar = AppendInfoBar("signature", sMessage, &aBackgroundColor, &aForegroundColor);
VclPtrInstance<PushButton> xBtn(&GetWindow());
xBtn->SetText(SfxResId(STR_SIGNATURE_SHOW));
xBtn->SetSizePixel(xBtn->GetOptimalSize());
More information about the Libreoffice-commits
mailing list