[Libreoffice-commits] core.git: Branch 'libreoffice-4-0' - sfx2/source
Julien Nabet
serval2412 at yahoo.fr
Sat Apr 13 09:23:03 PDT 2013
sfx2/source/doc/templatedlg.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 7fcfe8817c0cc896cb29de2613d9f43381d7b6ad
Author: Julien Nabet <serval2412 at 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 <erack at 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;
More information about the Libreoffice-commits
mailing list