[PATCH libreoffice-4-0] don't hide cell content behind pivot table buttons, fdo#6087...

Markus Mohrhard (via Code Review) gerrit at gerrit.libreoffice.org
Thu Jun 6 20:36:37 PDT 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/4184

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/84/4184/1

don't hide cell content behind pivot table buttons, fdo#60877

Change-Id: I1508aafcc7046c576a4d6de87900dc66f32b2f97
---
M sc/source/ui/view/output2.cxx
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx
index 5461fec..6fa83c3 100644
--- a/sc/source/ui/view/output2.cxx
+++ b/sc/source/ui/view/output2.cxx
@@ -1353,7 +1353,7 @@
         // (for automatic line break: only if not formatting for printer, as in ScColumn::GetNeededSize)
 
         if ( eType==OUTTYPE_WINDOW &&
-             ( static_cast<const ScMergeFlagAttr&>(rPattern.GetItem(ATTR_MERGE_FLAG)).GetValue() & SC_MF_AUTO ) &&
+             ( static_cast<const ScMergeFlagAttr&>(rPattern.GetItem(ATTR_MERGE_FLAG)).GetValue() & (SC_MF_AUTO|SC_MF_BUTTON|SC_MF_BUTTON_POPUP) ) &&
              ( !bBreak || mpRefDevice == pFmtDevice ) )
         {
             // filter drop-down width is now independent from row height

-- 
To view, visit https://gerrit.libreoffice.org/4184
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1508aafcc7046c576a4d6de87900dc66f32b2f97
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Markus Mohrhard <markus.mohrhard at googlemail.com>



More information about the LibreOffice mailing list