ooo-build r12990 - in trunk: . patches/dev300



Author: kyoshida
Date: Sun Jun 29 03:47:31 2008
New Revision: 12990
URL: http://svn.gnome.org/viewvc/ooo-build?rev=12990&view=rev

Log:
2008-06-28  Kohei Yoshida  <kyoshida novell com>

	* patches/dev300/sc-fit-to-width-height-skip-breaks.diff: a minor fix -
	you can leave one of width and height page numbers to be blank.


Modified:
   trunk/ChangeLog
   trunk/patches/dev300/sc-fit-to-width-height-skip-breaks.diff

Modified: trunk/patches/dev300/sc-fit-to-width-height-skip-breaks.diff
==============================================================================
--- trunk/patches/dev300/sc-fit-to-width-height-skip-breaks.diff	(original)
+++ trunk/patches/dev300/sc-fit-to-width-height-skip-breaks.diff	Sun Jun 29 03:47:31 2008
@@ -11,7 +11,7 @@
 +    {
 +        const ScPageScaleToItem& rScaleToItem = static_cast<const ScPageScaleToItem&>(
 +            pStyleSet->Get(ATTR_PAGE_SCALETO));
-+        if (rScaleToItem.GetWidth() > 0 && rScaleToItem.GetHeight() > 0)
++        if (rScaleToItem.GetWidth() > 0 || rScaleToItem.GetHeight() > 0)
 +            // when fitting to a fixed width x height, ignore manual breaks.
 +            bSkipBreaks = true;
 +    }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]