[Libreoffice-commits] .: sfx2/source

Julien Nabet serval2412 at kemper.freedesktop.org
Sat Sep 3 00:08:39 PDT 2011


 sfx2/source/doc/docvor.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 45e8a9dca7a3ab7158a498fdbb2d77ed86fe4ed9
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Sat Sep 3 09:04:29 2011 +0200

    operator fixing

diff --git a/sfx2/source/doc/docvor.cxx b/sfx2/source/doc/docvor.cxx
index 7f2268d..9ac8ba7 100644
--- a/sfx2/source/doc/docvor.cxx
+++ b/sfx2/source/doc/docvor.cxx
@@ -1950,7 +1950,7 @@ long SfxOrganizeDlg_Impl::Dispatch_Impl( sal_uInt16 nId, Menu* _pMenu )
             bHandled = sal_False;
     }
 
-    if ( !bHandled && ( nId > ID_RESET_DEFAULT_TEMPLATE || nId <= ID_RESET_DEFAULT_TEMPLATE_END ) )
+    if ( !bHandled && ( nId > ID_RESET_DEFAULT_TEMPLATE && nId <= ID_RESET_DEFAULT_TEMPLATE_END ) )
     {
         Menu* pSubMenu = _pMenu ? _pMenu : aEditBtn.GetPopupMenu()->GetPopupMenu( ID_RESET_DEFAULT_TEMPLATE );
         if ( pSubMenu )


More information about the Libreoffice-commits mailing list