summaryrefslogtreecommitdiff
path: root/cui
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-29 14:51:21 +0100
committerAndras Timar <andras.timar@collabora.com>2014-05-09 14:48:12 +0200
commit27b0b6ade0ddbbabba52ef0080aac07ca6cbd9aa (patch)
tree400eb6bd104bf514ee8fb243cd4989a9c5637adb /cui
parentc3d841818c6ddd40ec4ba462c8e2d426ba675a25 (diff)
coverity#1210177 Uninitialized pointer field
Change-Id: If4e8ddfa0a4dcb9875ce82fc82d196ff3dbd9657 (cherry picked from commit f670aaaabf23f13ae5ebf61ba61824794137c597) Reviewed-on: https://gerrit.libreoffice.org/9201 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Diffstat (limited to 'cui')
-rw-r--r--cui/source/options/optgdlg.cxx1
-rw-r--r--cui/uiconfig/ui/optgeneralpage.ui2
2 files changed, 2 insertions, 1 deletions
diff --git a/cui/source/options/optgdlg.cxx b/cui/source/options/optgdlg.cxx
index 6b3a1a14d438..5e826bd30d17 100644
--- a/cui/source/options/optgdlg.cxx
+++ b/cui/source/options/optgdlg.cxx
@@ -197,6 +197,7 @@ OfaMiscTabPage::OfaMiscTabPage(Window* pParent, const SfxItemSet& rSet)
}
#endif
get(m_pFileDlgCB, "filedlg");
+ get(m_pFileDlgROImage, "lockimage");
get(m_pPrintDlgCB, "printdlg");
get(m_pDocStatusCB, "docstatus");
get(m_pSaveAlwaysCB, "savealways");
diff --git a/cui/uiconfig/ui/optgeneralpage.ui b/cui/uiconfig/ui/optgeneralpage.ui
index 4888d952e65d..bbe08e29cbd0 100644
--- a/cui/uiconfig/ui/optgeneralpage.ui
+++ b/cui/uiconfig/ui/optgeneralpage.ui
@@ -116,7 +116,7 @@
</packing>
</child>
<child>
- <object class="GtkImage" id="image1">
+ <object class="GtkImage" id="lockimage">
<property name="can_focus">False</property>
<property name="no_show_all">True</property>
<property name="halign">center</property>