[Libreoffice-commits] .: sfx2/inc

Ivan Timofeev ivantimofeev at kemper.freedesktop.org
Wed Aug 15 02:51:19 PDT 2012


 sfx2/inc/sfx2/sfxsids.hrc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0093e6b6a0c03a5f9e693359fcd798b0113b009a
Author: Ivan Timofeev <timofeev.i.s at gmail.com>
Date:   Wed Aug 15 13:41:05 2012 +0400

    restore the old value for SID_ATTR_ZOOM
    
    regression from 6484ccb4edad34d03d1300929fe20788f41b255e,
    can be seen for example in Writer's page preview mode, changing zoom
    by a mouse wheel does not update the zoom slider.
    
    these slot ids are sometimes collected into an array to pass to
    SfxBindings::Invalidate(sal_uInt16*), which requires a _sorted_ array,
    so let's not modify the values and break the sort order.
    
    Change-Id: I9cb59a6eed2f19dfb3a308d7654d8b0b1779ae6b

diff --git a/sfx2/inc/sfx2/sfxsids.hrc b/sfx2/inc/sfx2/sfxsids.hrc
index c2eadf7..0b53930 100644
--- a/sfx2/inc/sfx2/sfxsids.hrc
+++ b/sfx2/inc/sfx2/sfxsids.hrc
@@ -173,7 +173,7 @@
 #define ID_FILETP_READONLY                      (ID_FILETP_START + 0)
 #define ID_FILETP_TITLE                     (ID_FILETP_START + 1)
 
-#define SID_ATTR_ZOOM                      (SID_SVX_START + 1419)
+#define SID_ATTR_ZOOM                      (SID_SVX_START + 0)
 
 #define SID_EXPLORER_PROPS_START            (SID_SFX_START + 1410)
 //      SID_EXPLORER_PROPS_END              (SID_SFX_START + 1499)


More information about the Libreoffice-commits mailing list