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

Julien Nabet serval2412 at yahoo.fr
Thu Mar 28 23:20:20 PDT 2013


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

New commits:
commit 9f27436b84a1ae0ce2689ef27f81698ab9f3642e
Author: Julien Nabet <serval2412 at yahoo.fr>
Date:   Fri Mar 29 07:18:05 2013 +0100

    Initialize nFilter
    
    Change-Id: I9a8606a0d6ca36fd6f51267ea385f7fbe874d6d5

diff --git a/sfx2/source/doc/templatedlg.cxx b/sfx2/source/doc/templatedlg.cxx
index cfe5b6c..7ff9159 100644
--- a/sfx2/source/doc/templatedlg.cxx
+++ b/sfx2/source/doc/templatedlg.cxx
@@ -356,7 +356,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;
 


More information about the Libreoffice-commits mailing list