[Libreoffice-commits] .: 2 commits - forms/source lotuswordpro/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Sat Jan 26 12:29:21 PST 2013
forms/source/richtext/richtextviewport.cxx | 1 +
lotuswordpro/source/filter/xfilter/xflinenumberconfig.hxx | 1 +
lotuswordpro/source/filter/xfilter/xfstylemanager.hxx | 2 +-
3 files changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 70c88fc75f6aced47a791ce53b761d6aaf773eaf
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Jan 26 21:27:07 2013 +0100
Some cppcheck cleaning
Change-Id: Iab4ff990f71321b75f69bc61a5cda728956ca85c
diff --git a/lotuswordpro/source/filter/xfilter/xflinenumberconfig.hxx b/lotuswordpro/source/filter/xfilter/xflinenumberconfig.hxx
index cdc052d..decd260 100644
--- a/lotuswordpro/source/filter/xfilter/xflinenumberconfig.hxx
+++ b/lotuswordpro/source/filter/xfilter/xflinenumberconfig.hxx
@@ -103,6 +103,7 @@ private:
inline XFLineNumberConfig::XFLineNumberConfig()
{
+ m_ePosition = enumXFLineNumberLeft;
m_fOffset = 0;
m_nIncrement = 5;
m_nSepIncrement = 3;
diff --git a/lotuswordpro/source/filter/xfilter/xfstylemanager.hxx b/lotuswordpro/source/filter/xfilter/xfstylemanager.hxx
index 0a90560..c4bdeae 100644
--- a/lotuswordpro/source/filter/xfilter/xfstylemanager.hxx
+++ b/lotuswordpro/source/filter/xfilter/xfstylemanager.hxx
@@ -85,7 +85,7 @@ class XFStyleManager// : public IXFObject
public:
XFStyleManager();
~XFStyleManager();
- XFStyleManager(XFStyleManager&){}
+ XFStyleManager(XFStyleManager&);
public:
/**
commit bc3be8493e3e14f85cedf175edff6db9a786d4dc
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Sat Jan 26 21:15:10 2013 +0100
Fix Member variable m_pView is not initialized in the constructor
Change-Id: I0b18698f23f7c2c446e60069d0efcb6d89b1e5d3
diff --git a/forms/source/richtext/richtextviewport.cxx b/forms/source/richtext/richtextviewport.cxx
index 5e190a1..943628e 100644
--- a/forms/source/richtext/richtextviewport.cxx
+++ b/forms/source/richtext/richtextviewport.cxx
@@ -31,6 +31,7 @@ namespace frm
//--------------------------------------------------------------------
RichTextViewPort::RichTextViewPort( Window* _pParent )
:Control ( _pParent )
+ ,m_pView(NULL)
,m_bHideInactiveSelection( true )
{
}
More information about the Libreoffice-commits
mailing list