diff -Nru libreoffice-3.4.4/debian/patches/lp734428-autocolor.patch libreoffice-3.4.4/debian/patches/lp734428-autocolor.patch --- libreoffice-3.4.4/debian/patches/lp734428-autocolor.patch 1970-01-01 05:30:00.000000000 +0530 +++ libreoffice-3.4.4/debian/patches/lp734428-autocolor.patch 2013-01-23 16:16:48.000000000 +0530 @@ -0,0 +1,64 @@ +--- /dev/null 2013-01-23 09:26:46.973095000 +0530 ++++ libreoffice-build/patches/hotfixes/lp734428-autocolor.patch 2013-01-23 16:14:37.163376269 +0530 +@@ -0,0 +1,61 @@ ++From 456ec746d130d736caa526dfddc8d138fff6c797 Mon Sep 17 00:00:00 2001 ++From: Benjamin Drung ++Date: Fri, 8 Jun 2012 00:19:25 +0200 ++Subject: [PATCH] fdo#35365 Set the default font color to black and the ++ document color to white. ++ ++The font and document color of a Writer document or an Impress presentation ++should not be derived from a desktop theme. A Writer documents needs to look ++good on paper. An Impress presentation may have it's own theme. The appearance ++of a document should not change by changing the desktop theme. ++ ++With this change a document looks the same on any computer if the user do not ++change the default colors. ++ ++Change-Id: Ia42ca7882f0d2dd1f2a304db5e4b5aaba23244fc ++--- ++ svtools/source/config/colorcfg.cxx | 12 ++---------- ++ 1 file changed, 2 insertions(+), 10 deletions(-) ++ ++diff --git a/svtools/source/config/colorcfg.cxx b/svtools/source/config/colorcfg.cxx ++index abdb852..4f899af 100644 ++--- a/svtools/source/config/colorcfg.cxx +++++ b/svtools/source/config/colorcfg.cxx ++@@ -412,12 +412,12 @@ Color ColorConfig::GetDefaultColor(ColorConfigEntry eEntry) ++ { ++ static const sal_Int32 aAutoColors[] = ++ { ++- 0, // DOCCOLOR +++ COL_WHITE, // DOCCOLOR ++ 0xc0c0c0, // DOCBOUNDARIES ++ 0x808080, // APPBACKGROUND ++ 0xc0c0c0, // OBJECTBOUNDARIES ++ 0xc0c0c0, // TABLEBOUNDARIES ++- 0, // FONTCOLOR +++ COL_BLACK, // FONTCOLOR ++ 0xcc, // LINKS ++ 0x80, // LINKSVISITED ++ 0xff0000, // SPELL ++@@ -462,18 +462,10 @@ Color ColorConfig::GetDefaultColor(ColorConfigEntry eEntry) ++ Color aRet; ++ switch(eEntry) ++ { ++- case DOCCOLOR : ++- aRet = Application::GetSettings().GetStyleSettings().GetWindowColor(); ++- break; ++- ++ case APPBACKGROUND : ++ aRet = Application::GetSettings().GetStyleSettings().GetWorkspaceColor(); ++ break; ++ ++- case FONTCOLOR : ++- aRet = Application::GetSettings().GetStyleSettings().GetWindowTextColor(); ++- break; ++- ++ case LINKS : ++ aRet = Application::GetSettings().GetStyleSettings().GetLinkColor(); ++ break; ++-- ++1.7.9.5 ++ ++ diff -Nru libreoffice-3.4.4/debian/patches/series libreoffice-3.4.4/debian/patches/series --- libreoffice-3.4.4/debian/patches/series 2012-08-09 18:16:49.000000000 +0530 +++ libreoffice-3.4.4/debian/patches/series 2013-01-31 11:54:42.000000000 +0530 @@ -35,3 +35,4 @@ fdo42749.diff CVE-2012-1149.patch CVE-2012-2334.patch CVE-2012-2665.patch +lp734428-autocolor.patch --- libreoffice-3.4.4/debian/changelog 2013-01-31 11:51:06.413470980 +0530 +++ libreoffice-3.4.4/debian/changelog 2013-01-31 11:49:29.817470060 +0530 @@ -1,3 +1,11 @@ +libreoffice (1:3.4.4-0ubuntu1.5) oneiric; urgency=low + + * debian/patches/lp734428-autocolor.patch: + - Wrong automatic text color "dark grey" with black background + (LP: #734428) + + -- Ritesh Khadgaray Thu, 24 Jan 2013 00:03:59 +0530 + libreoffice (1:3.4.4-0ubuntu1.4) oneiric-security; urgency=low * SECURITY UPDATE: arbitrary code execution via XML manifest encryption