[Libreoffice-commits] core.git: sfx2/source

Michael Stahl mstahl at redhat.com
Thu Sep 1 08:11:11 UTC 2016


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

New commits:
commit 813a8944bdb337a0018208381aa30118151872ff
Author: Michael Stahl <mstahl at redhat.com>
Date:   Thu Sep 1 09:26:49 2016 +0200

    sfx2: SfxCommonTemplateDialog_Impl can't even decide if...
    
    ...no family selection should be represented as "0" or "0xffff".
    
    Change-Id: I08ef69bf35d130898cb995463dc29e72a372562c

diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 4aca5b7..15859ef 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -653,7 +653,7 @@ namespace SfxTemplate
             case SfxStyleFamily::Page:   return 4;
             case SfxStyleFamily::Pseudo: return 5;
             case SfxStyleFamily::Table:  return 6;
-            default:                      return 0;
+            default:                     return 0xffff;
         }
     }
 


More information about the Libreoffice-commits mailing list