[libreoffice] fix patch, yikes

Caolán McNamara caolanm at fedoraproject.org
Thu Sep 18 16:06:38 UTC 2014


commit 2168af3ce1b2479c0617c950d297a4952e77d11f
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Sep 18 17:06:10 2014 +0100

    fix patch, yikes

 ...o-80911-don-t-swap-notes-page-width-heigh.patch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/0001-Resolves-fdo-80911-don-t-swap-notes-page-width-heigh.patch b/0001-Resolves-fdo-80911-don-t-swap-notes-page-width-heigh.patch
index e7301d7..b8b8e38 100644
--- a/0001-Resolves-fdo-80911-don-t-swap-notes-page-width-heigh.patch
+++ b/0001-Resolves-fdo-80911-don-t-swap-notes-page-width-heigh.patch
@@ -46,7 +46,7 @@ index 7080e9d..8e1739c 100644
          SdDrawDocument* pDocument = mrBase.GetMainViewShell()->GetDoc();
 +        bool bIsDraw = pDocument->GetDocumentType() == DOCUMENT_TYPE_DRAW;
          rInfo.meOrientation = ORIENTATION_PORTRAIT;
-+        bool bDoDodgyHeightWidthFit = bIsDraw && !mpOptions->IsNotes();
++        bool bDoDodgyHeightWidthFit = !bIsDraw && !mpOptions->IsNotes();
  
          if( ! mpOptions->IsBooklet())
          {


More information about the scm-commits mailing list