diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2011-08-18 15:09:21 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@frugalware.org> | 2011-08-18 15:09:59 +0200 |
commit | 10de8cf0e3749ef377d68458d5a27e952cfd58c5 (patch) | |
tree | edd2c0170137770471eaf671961addbd37688bb1 /writerfilter | |
parent | use namespace for ItemHolder2 in svtools (diff) | |
download | core-10de8cf0e3749ef377d68458d5a27e952cfd58c5.tar.gz core-10de8cf0e3749ef377d68458d5a27e952cfd58c5.zip |
warnings fixes for RTFPicture and RTFFrame
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.cxx | 32 | ||||
-rw-r--r-- | writerfilter/source/rtftok/rtfdocumentimpl.hxx | 2 |
2 files changed, 34 insertions, 0 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx index 6f2a6a41ee88..f0743ddf40ad 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 e5e25a5030f5..e10c727e374d 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; |