[Libreoffice-commits] .: writerfilter/source

Miklos Vajna vmiklos at kemper.freedesktop.org
Thu Aug 18 06:09:57 PDT 2011


 writerfilter/source/rtftok/rtfdocumentimpl.cxx |   32 +++++++++++++++++++++++++
 writerfilter/source/rtftok/rtfdocumentimpl.hxx |    2 +
 2 files changed, 34 insertions(+)

New commits:
commit 10de8cf0e3749ef377d68458d5a27e952cfd58c5
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Thu Aug 18 15:09:21 2011 +0200

    warnings fixes for RTFPicture and RTFFrame

diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 6f2a6a4..f0743dd 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -3147,6 +3147,38 @@ RTFColorTableEntry::RTFColorTableEntry()
 {
 }
 
+RTFPicture::RTFPicture()
+    : nWidth(0),
+    nHeight(0),
+    nGoalWidth(0),
+    nGoalHeight(0),
+    nScaleX(0),
+    nScaleY(0),
+    nCropT(0),
+    nCropB(0),
+    nCropL(0),
+    nCropR(0)
+{
+}
+
+RTFFrame::RTFFrame()
+    : nX(0),
+    nY(0),
+    nW(0),
+    nH(0),
+    nLeftMargin(0),
+    nRightMargin(0),
+    nTopMargin(0),
+    nBottomMargin(0),
+    nHoriOrient(0),
+    nHoriOrientRelation(0),
+    nVertOrient(0),
+    nVertOrientRelation(0),
+    nAnchorType(0),
+    bPositionToggle(false)
+{
+}
+
 } // namespace rtftok
 } // namespace writerfilter
 
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.hxx b/writerfilter/source/rtftok/rtfdocumentimpl.hxx
index e5e25a5..e10c727 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.hxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.hxx
@@ -182,6 +182,7 @@ namespace writerfilter {
         class RTFPicture
         {
             public:
+                RTFPicture();
                 sal_uInt16 nWidth, nHeight;
                 sal_uInt16 nGoalWidth, nGoalHeight;
                 sal_uInt16 nScaleX, nScaleY;
@@ -192,6 +193,7 @@ namespace writerfilter {
         class RTFFrame
         {
             public:
+                RTFFrame();
                 sal_Int32 nX, nY, nW, nH;
                 sal_Int32 nLeftMargin, nRightMargin, nTopMargin, nBottomMargin;
                 sal_Int16 nHoriOrient, nHoriOrientRelation, nVertOrient, nVertOrientRelation;


More information about the Libreoffice-commits mailing list