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

New commits:
commit 7fcfe8817c0cc896cb29de2613d9f43381d7b6ad
Author: Julien Nabet <serval2...@yahoo.fr>
Date:   Fri Mar 29 07:18:05 2013 +0100

    Initialize nFilter
    
    Change-Id: I9a8606a0d6ca36fd6f51267ea385f7fbe874d6d5
    (cherry picked from commit 9f27436b84a1ae0ce2689ef27f81698ab9f3642e)
    
    Signed-off-by: Eike Rathke <er...@redhat.com>

diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index 3097f1f..a5edb7b 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -363,7 +363,7 @@ void SfxTemplateManagerDlg::readSettings ()
 
     if ( aViewSettings.Exists() )
     {
-        sal_uInt16 nFilter;
+        sal_uInt16 nFilter = 0;
         aViewSettings.GetUserItem(TM_SETTING_LASTFOLDER) >>= aLastFolder;
         aViewSettings.GetUserItem(TM_SETTING_FILTER) >>= nFilter;
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to