[Libreoffice-commits] core.git: 52 commits - cppuhelper/source cui/source dbaccess/source desktop/source dtrans/source filter/source forms/source framework/inc framework/source lotuswordpro/source sc/source sd/inc sd/source toolkit/source writerfilter/source xmlhelp/source xmloff/inc xmloff/source
Caolán McNamara
caolanm at redhat.com
Fri Feb 21 04:41:07 PST 2014
cppuhelper/source/propshlp.cxx | 6 +-
cui/source/dialogs/cuicharmap.cxx | 5 +
cui/source/options/cfgchart.cxx | 13 +++--
dbaccess/source/core/api/querycontainer.cxx | 1
dbaccess/source/core/api/resultset.cxx | 4 +
dbaccess/source/ui/control/RelationControl.cxx | 9 +--
dbaccess/source/ui/misc/WCPage.cxx | 2
dbaccess/source/ui/misc/WNameMatch.cxx | 1
dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx | 2
dbaccess/source/ui/tabledesign/TableFieldDescWin.cxx | 3 -
desktop/source/app/app.cxx | 7 +-
dtrans/source/win32/ftransl/ftransl.cxx | 4 -
filter/source/graphicfilter/itga/itga.cxx | 1
filter/source/msfilter/mstoolbar.cxx | 30 +++++++----
filter/source/svg/gfxtypes.hxx | 1
filter/source/svg/svgexport.cxx | 5 +
forms/source/component/Date.cxx | 13 +++--
forms/source/component/ListBox.cxx | 2
forms/source/component/Time.cxx | 17 +++---
framework/inc/services/layoutmanager.hxx | 2
framework/source/dispatch/closedispatcher.cxx | 1
lotuswordpro/source/filter/xfilter/xfrubystyle.hxx | 6 +-
lotuswordpro/source/filter/xfilter/xfstyle.cxx | 2
sc/source/filter/oox/workbooksettings.cxx | 1
sc/source/filter/xcl97/xcl97rec.cxx | 1
sc/source/ui/formdlg/privsplt.cxx | 8 +--
sc/source/ui/unoobj/fielduno.cxx | 15 +++--
sd/inc/customshowlist.hxx | 5 +
sd/source/filter/eppt/eppt.cxx | 11 +++-
sd/source/filter/eppt/pptx-epptbase.cxx | 46 ++++++++++--------
toolkit/source/awt/vclxgraphics.cxx | 5 +
writerfilter/source/dmapper/WrapPolygonHandler.cxx | 6 +-
writerfilter/source/ooxml/OOXMLFastContextHandler.cxx | 7 +-
xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx | 12 ++--
xmloff/inc/XMLChartPropertySetMapper.hxx | 1
xmloff/source/chart/SchXMLTableContext.cxx | 13 ++---
xmloff/source/draw/XMLImageMapContext.cxx | 13 ++---
xmloff/source/draw/eventimp.cxx | 9 +--
xmloff/source/draw/sdxmlexp.cxx | 6 +-
xmloff/source/draw/ximpshap.cxx | 31 ++++++------
xmloff/source/draw/ximpstyl.cxx | 9 +--
xmloff/source/text/XMLIndexTOCContext.cxx | 17 +++---
xmloff/source/text/XMLIndexTOCStylesContext.cxx | 13 ++---
xmloff/source/text/XMLIndexTableSourceContext.cxx | 23 ++++-----
xmloff/source/text/XMLPropertyBackpatcher.hxx | 3 -
xmloff/source/text/txtfldi.cxx | 30 ++++++-----
xmloff/source/transform/IgnoreTContext.cxx | 1
xmloff/source/transform/StyleOASISTContext.cxx | 24 ++++-----
48 files changed, 261 insertions(+), 186 deletions(-)
New commits:
commit 194198098d6a6d5b1ce580a35d83ba5e831c0c97
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:56:20 2014 +0000
coverity#707716 Uninitialized pointer field
Change-Id: Ifea113d6fc0d6dd764a25cb6e70b9df41b7279c7
diff --git a/cppuhelper/source/propshlp.cxx b/cppuhelper/source/propshlp.cxx
index 5992c4b..8953767 100644
--- a/cppuhelper/source/propshlp.cxx
+++ b/cppuhelper/source/propshlp.cxx
@@ -1078,7 +1078,8 @@ OPropertyArrayHelper::OPropertyArrayHelper(
sal_Int32 nEle,
sal_Bool bSorted )
SAL_THROW(())
- : aInfos(pProps, nEle)
+ : m_pReserved(NULL)
+ , aInfos(pProps, nEle)
, bRightOrdered( sal_False )
{
init( bSorted );
@@ -1088,7 +1089,8 @@ OPropertyArrayHelper::OPropertyArrayHelper(
const Sequence< Property > & aProps,
sal_Bool bSorted )
SAL_THROW(())
- : aInfos(aProps)
+ : m_pReserved(NULL)
+ , aInfos(aProps)
, bRightOrdered( sal_False )
{
init( bSorted );
commit b6662967ab434f36504068687727ea6fdee66e79
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:53:16 2014 +0000
coverity#708532 Uninitialized scalar field
Change-Id: I9de7a5b3f42f1810639663c25965b196a8959f3e
diff --git a/toolkit/source/awt/vclxgraphics.cxx b/toolkit/source/awt/vclxgraphics.cxx
index 3e7461f..21cc15d 100644
--- a/toolkit/source/awt/vclxgraphics.cxx
+++ b/toolkit/source/awt/vclxgraphics.cxx
@@ -57,9 +57,10 @@ IMPL_XTYPEPROVIDER_START( VCLXGraphics )
IMPL_XTYPEPROVIDER_END
VCLXGraphics::VCLXGraphics()
+ : mpOutputDevice(NULL)
+ , meRasterOp(ROP_OVERPAINT)
+ , mpClipRegion(NULL)
{
- mpOutputDevice = NULL;
- mpClipRegion = NULL;
}
VCLXGraphics::~VCLXGraphics()
commit 470b21a2bcfb262df7337380815a127df00f5479
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:50:15 2014 +0000
coverity#708680 Uninitialized scalar field
Change-Id: Ic96a03a987d668756b9bfb4cfaf2a7fd9eebfa46
diff --git a/writerfilter/source/dmapper/WrapPolygonHandler.cxx b/writerfilter/source/dmapper/WrapPolygonHandler.cxx
index d87868c..df992d1 100644
--- a/writerfilter/source/dmapper/WrapPolygonHandler.cxx
+++ b/writerfilter/source/dmapper/WrapPolygonHandler.cxx
@@ -147,8 +147,10 @@ drawing::PointSequenceSequence WrapPolygon::getPointSequenceSequence() const
}
WrapPolygonHandler::WrapPolygonHandler()
-: LoggedProperties(dmapper_logger, "WrapPolygonHandler")
-, mpPolygon(new WrapPolygon)
+ : LoggedProperties(dmapper_logger, "WrapPolygonHandler")
+ , mpPolygon(new WrapPolygon)
+ , mnX(0)
+ , mnY(0)
{
}
commit 2fe8563664e1cb29716f1924e652e4192d2973d7
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:49:02 2014 +0000
coverity#708687 Uninitialized scalar field
Change-Id: I51c0ef414fff82b8cf932d7c99b18f561c113196
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
index 6cfb6d7..1fbacec 100644
--- a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
+++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx
@@ -1790,8 +1790,11 @@ void OOXMLFastContextHandlerTable::newPropertySet
*/
OOXMLFastContextHandlerXNote::OOXMLFastContextHandlerXNote
-(OOXMLFastContextHandler * pContext)
-: OOXMLFastContextHandlerProperties(pContext), mbForwardEventsSaved(false), mnMyXNoteType(0)
+ (OOXMLFastContextHandler * pContext)
+ : OOXMLFastContextHandlerProperties(pContext)
+ , mbForwardEventsSaved(false)
+ , mnMyXNoteId(0)
+ , mnMyXNoteType(0)
{
}
commit 5c946483546784623fc74ea3a51517118a6d9ef2
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:47:45 2014 +0000
coverity#708696 Uninitialized scalar field
Change-Id: If22c709ebab80d626d3d409fd6ba718781cff07d
diff --git a/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx b/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx
index 567fe58..1a19fc1 100644
--- a/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx
+++ b/xmlhelp/source/cxxhelp/provider/resultsetforquery.cxx
@@ -66,12 +66,14 @@ using namespace com::sun::star::lang;
struct HitItem
{
OUString m_aURL;
- float m_fScore;
+ float m_fScore;
- HitItem( void ) {}
- HitItem( const OUString& aURL, float fScore )
- : m_aURL( aURL )
- , m_fScore( fScore )
+ HitItem()
+ : m_fScore(0.0)
+ {}
+ HitItem(const OUString& aURL, float fScore)
+ : m_aURL(aURL)
+ , m_fScore(fScore)
{}
bool operator < ( const HitItem& rHitItem ) const
{
commit 3a3bdb2f6eccc8b806baada2ff201465ba453f55
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:46:18 2014 +0000
coverity#708698 unused mbAdaptPercentage member
Change-Id: Ie94623b31b7874dc05a3ea5a7a6709b9487a5aa6
diff --git a/xmloff/inc/XMLChartPropertySetMapper.hxx b/xmloff/inc/XMLChartPropertySetMapper.hxx
index 212557d..c84aabc 100644
--- a/xmloff/inc/XMLChartPropertySetMapper.hxx
+++ b/xmloff/inc/XMLChartPropertySetMapper.hxx
@@ -51,7 +51,6 @@ class XMLChartExportPropertyMapper : public SvXMLExportPropertyMapper
private:
const OUString msTrue;
const OUString msFalse;
- bool mbAdaptPercentage;
SvXMLExport& mrExport;
com::sun::star::uno::Reference< com::sun::star::chart2::XChartDocument > mxChartDoc;
commit ee9729265c9836935898b3a89d899d4dceb16bc9
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:45:21 2014 +0000
coverity#708700 Uninitialized scalar field
Change-Id: I294e455eb2b8853f2fbe43527a960e30d32c88c8
diff --git a/xmloff/source/chart/SchXMLTableContext.cxx b/xmloff/source/chart/SchXMLTableContext.cxx
index a3ccd4f..60f6a60 100644
--- a/xmloff/source/chart/SchXMLTableContext.cxx
+++ b/xmloff/source/chart/SchXMLTableContext.cxx
@@ -608,13 +608,12 @@ public:
// classes for cells and their content
// class SchXMLTableCellContext
SchXMLTableCellContext::SchXMLTableCellContext(
- SchXMLImportHelper& rImpHelper,
- SvXMLImport& rImport,
- const OUString& rLocalName,
- SchXMLTable& aTable ) :
- SvXMLImportContext( rImport, XML_NAMESPACE_TABLE, rLocalName ),
- mrImportHelper( rImpHelper ),
- mrTable( aTable )
+ SchXMLImportHelper& rImpHelper, SvXMLImport& rImport,
+ const OUString& rLocalName, SchXMLTable& aTable)
+ : SvXMLImportContext(rImport, XML_NAMESPACE_TABLE, rLocalName)
+ , mrImportHelper(rImpHelper)
+ , mrTable(aTable)
+ , mbReadText(false)
{
}
commit f65b691d9833d4836883b384465f929cebb97482
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:44:13 2014 +0000
coverity#708702 Uninitialized scalar field
Change-Id: I89bab63349a5d89df0683eb36c3e69b6370e2ed1
diff --git a/xmloff/source/draw/XMLImageMapContext.cxx b/xmloff/source/draw/XMLImageMapContext.cxx
index c895efd..ea6f80a 100644
--- a/xmloff/source/draw/XMLImageMapContext.cxx
+++ b/xmloff/source/draw/XMLImageMapContext.cxx
@@ -554,12 +554,13 @@ XMLImageMapCircleContext::XMLImageMapCircleContext(
SvXMLImport& rImport,
sal_uInt16 nPrefix,
const OUString& rLocalName,
- Reference<XIndexContainer> xMap) :
- XMLImageMapObjectContext(rImport, nPrefix, rLocalName, xMap,
- "com.sun.star.image.ImageMapCircleObject"),
- bXOK(sal_False),
- bYOK(sal_False),
- bRadiusOK(sal_False)
+ Reference<XIndexContainer> xMap)
+ : XMLImageMapObjectContext(rImport, nPrefix, rLocalName, xMap,
+ "com.sun.star.image.ImageMapCircleObject")
+ , nRadius(0)
+ , bXOK(false)
+ , bYOK(false)
+ , bRadiusOK(false)
{
}
commit 94c87ec911ebcc1ed90b6aabe8854ff77f8a4ed0
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:42:53 2014 +0000
coverity#708704 Uninitialized scalar field
Change-Id: I135988584eb00e891bbc6410f3cf80f955f046ec
diff --git a/xmloff/source/draw/eventimp.cxx b/xmloff/source/draw/eventimp.cxx
index 9e82d81..3de70c9 100644
--- a/xmloff/source/draw/eventimp.cxx
+++ b/xmloff/source/draw/eventimp.cxx
@@ -150,10 +150,11 @@ XMLEventSoundContext::~XMLEventSoundContext()
TYPEINIT1( SdXMLEventContext, SvXMLImportContext );
SdXMLEventContext::SdXMLEventContext( SvXMLImport& rImp, sal_uInt16 nPrfx, const OUString& rLocalName, const Reference< XAttributeList >& xAttrList, const Reference< XShape >& rxShape )
-: SvXMLImportContext(rImp, nPrfx, rLocalName),
- mxShape( rxShape ), mbScript( sal_False ), meClickAction( ClickAction_NONE ),
- meEffect( EK_none ), meDirection( ED_none ), mnStartScale( 100 ),
- meSpeed( AnimationSpeed_MEDIUM ), mnVerb(0), mbPlayFull( sal_False )
+ : SvXMLImportContext(rImp, nPrfx, rLocalName)
+ , mxShape(rxShape), mbValid(false), mbScript(sal_False)
+ , meClickAction(ClickAction_NONE), meEffect(EK_none)
+ , meDirection(ED_none), mnStartScale(100), meSpeed(AnimationSpeed_MEDIUM)
+ , mnVerb(0), mbPlayFull(sal_False)
{
static const OUString sXMLClickName( "click" );
commit 25f5b28f2748405b39238da8cbc19a043c79e09f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:41:25 2014 +0000
coverity#708705 Uninitialized scalar field
Change-Id: If48058d1f5cfb1c91c996f2921381b9c74aca04e
diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx
index 5a93924..00b4740 100644
--- a/xmloff/source/draw/sdxmlexp.cxx
+++ b/xmloff/source/draw/sdxmlexp.cxx
@@ -234,8 +234,10 @@ sal_Bool ImpXMLAutoLayoutInfo::operator==(const ImpXMLAutoLayoutInfo& rInfo) con
}
ImpXMLAutoLayoutInfo::ImpXMLAutoLayoutInfo(sal_uInt16 nTyp, ImpXMLEXPPageMasterInfo* pInf)
-: mnType(nTyp),
- mpPageMasterInfo(pInf)
+ : mnType(nTyp)
+ , mpPageMasterInfo(pInf)
+ , mnGapX(0)
+ , mnGapY(0)
{
// create full info (initialze with typical values)
Point aPagePos(0,0);
commit 04a8c9eef44eedb4ec8ae73df558e80aa118df13
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:40:16 2014 +0000
coverity#708707 Uninitialized scalar field
Change-Id: I36432d090334440b596dfcc56339f10cb0b96426
diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx
index 30a73d1..49fe17c 100644
--- a/xmloff/source/draw/ximpshap.cxx
+++ b/xmloff/source/draw/ximpshap.cxx
@@ -141,21 +141,22 @@ SdXMLShapeContext::SdXMLShapeContext(
const com::sun::star::uno::Reference< com::sun::star::xml::sax::XAttributeList>& xAttrList,
uno::Reference< drawing::XShapes >& rShapes,
sal_Bool bTemporaryShape)
-: SvXMLShapeContext( rImport, nPrfx, rLocalName, bTemporaryShape )
-, mxShapes( rShapes )
-, mxAttrList(xAttrList)
-, mbListContextPushed( false )
-, mnStyleFamily(XML_STYLE_FAMILY_SD_GRAPHICS_ID)
-, mbIsPlaceholder(sal_False)
-, mbClearDefaultAttributes( true )
-, mbIsUserTransformed(sal_False)
-, mnZOrder(-1)
-, maSize(1, 1)
-, maPosition(0, 0)
-, maUsedTransformation()
-, mbVisible(true)
-, mbPrintable(true)
-, mbHaveXmlId(false)
+ : SvXMLShapeContext( rImport, nPrfx, rLocalName, bTemporaryShape )
+ , mxShapes( rShapes )
+ , mxAttrList(xAttrList)
+ , mbListContextPushed( false )
+ , mnStyleFamily(XML_STYLE_FAMILY_SD_GRAPHICS_ID)
+ , mnClass(0)
+ , mbIsPlaceholder(sal_False)
+ , mbClearDefaultAttributes( true )
+ , mbIsUserTransformed(sal_False)
+ , mnZOrder(-1)
+ , maSize(1, 1)
+ , maPosition(0, 0)
+ , maUsedTransformation()
+ , mbVisible(true)
+ , mbPrintable(true)
+ , mbHaveXmlId(false)
{
}
commit b81e528803e495f8482c66f4d016c115a1547d83
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:39:08 2014 +0000
coverity#708708 Uninitialized scalar field
Change-Id: I1b0f4ed24dd6c1281f2170e5b1199435ce1409f5
diff --git a/xmloff/source/draw/ximpstyl.cxx b/xmloff/source/draw/ximpstyl.cxx
index e148ba1..dfb7e97 100644
--- a/xmloff/source/draw/ximpstyl.cxx
+++ b/xmloff/source/draw/ximpstyl.cxx
@@ -1567,10 +1567,11 @@ SvXMLImportContext* SdXMLMasterStylesContext::CreateChildContext(
return pContext;
}
-SdXMLHeaderFooterDeclContext::SdXMLHeaderFooterDeclContext( SvXMLImport& rImport, sal_uInt16 nPrfx,
- const OUString& rLName,
- const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList )
-: SvXMLStyleContext( rImport, nPrfx, rLName, xAttrList )
+SdXMLHeaderFooterDeclContext::SdXMLHeaderFooterDeclContext(SvXMLImport& rImport,
+ sal_uInt16 nPrfx, const OUString& rLName,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& xAttrList)
+ : SvXMLStyleContext( rImport, nPrfx, rLName, xAttrList)
+ , mbFixed(false)
{
const sal_Int16 nAttrCount = xAttrList.is() ? xAttrList->getLength() : 0;
for(sal_Int16 i=0; i < nAttrCount; i++)
commit e28cbd90842a1f9575a15837533917e28bb4e8e7
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:38:00 2014 +0000
coverity#708711 Uninitialized scalar field
Change-Id: I3f67e5609d0c25837b56d65ade364fc29c87d057
diff --git a/xmloff/source/text/XMLIndexTOCContext.cxx b/xmloff/source/text/XMLIndexTOCContext.cxx
index 8d633f5..9d6c969 100644
--- a/xmloff/source/text/XMLIndexTOCContext.cxx
+++ b/xmloff/source/text/XMLIndexTOCContext.cxx
@@ -94,15 +94,14 @@ SvXMLEnumMapEntry const aIndexTypeMap[] =
};
-XMLIndexTOCContext::XMLIndexTOCContext(
- SvXMLImport& rImport,
- sal_uInt16 nPrfx,
- const OUString& rLocalName )
-: SvXMLImportContext(rImport, nPrfx, rLocalName)
-, sTitle("Title")
-, sIsProtected("IsProtected")
-, sName("Name")
-, bValid(sal_False)
+XMLIndexTOCContext::XMLIndexTOCContext(SvXMLImport& rImport,
+ sal_uInt16 nPrfx, const OUString& rLocalName)
+ : SvXMLImportContext(rImport, nPrfx, rLocalName)
+ , sTitle("Title")
+ , sIsProtected("IsProtected")
+ , sName("Name")
+ , eIndexType(TEXT_INDEX_UNKNOWN)
+ , bValid(sal_False)
{
if (XML_NAMESPACE_TEXT == nPrfx)
{
commit 861c92c7c004ac0b06db05d6d570656679e6ba18
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:36:36 2014 +0000
coverity#708712 Uninitialized scalar field
Change-Id: I11ac81246cba518763a9af759fa4b08880c90ae8
diff --git a/xmloff/source/text/XMLIndexTOCStylesContext.cxx b/xmloff/source/text/XMLIndexTOCStylesContext.cxx
index 93180c4..25d0239 100644
--- a/xmloff/source/text/XMLIndexTOCStylesContext.cxx
+++ b/xmloff/source/text/XMLIndexTOCStylesContext.cxx
@@ -47,13 +47,12 @@ TYPEINIT1( XMLIndexTOCStylesContext, SvXMLImportContext );
XMLIndexTOCStylesContext::XMLIndexTOCStylesContext(
- SvXMLImport& rImport,
- Reference<XPropertySet> & rPropSet,
- sal_uInt16 nPrfx,
- const OUString& rLocalName )
-: SvXMLImportContext(rImport, nPrfx, rLocalName)
-, sLevelParagraphStyles(sAPI_LevelParagraphStyles)
-, rTOCPropertySet(rPropSet)
+ SvXMLImport& rImport, Reference<XPropertySet> & rPropSet,
+ sal_uInt16 nPrfx, const OUString& rLocalName)
+ : SvXMLImportContext(rImport, nPrfx, rLocalName)
+ , sLevelParagraphStyles(sAPI_LevelParagraphStyles)
+ , rTOCPropertySet(rPropSet)
+ , nOutlineLevel(0)
{
}
commit d44b788e7a036a51601865319836263b2fbd242f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:34:55 2014 +0000
coverity#708713 Uninitialized scalar field
Change-Id: Ia7a75985df0ad80e7cf0006b63a3f2a25c93bab1
diff --git a/xmloff/source/text/XMLIndexTableSourceContext.cxx b/xmloff/source/text/XMLIndexTableSourceContext.cxx
index 44a7504..ee4d198 100644
--- a/xmloff/source/text/XMLIndexTableSourceContext.cxx
+++ b/xmloff/source/text/XMLIndexTableSourceContext.cxx
@@ -56,18 +56,17 @@ TYPEINIT1(XMLIndexTableSourceContext, XMLIndexSourceBaseContext);
XMLIndexTableSourceContext::XMLIndexTableSourceContext(
- SvXMLImport& rImport,
- sal_uInt16 nPrfx,
- const OUString& rLocalName,
- Reference<XPropertySet> & rPropSet) :
- XMLIndexSourceBaseContext(rImport, nPrfx, rLocalName,
- rPropSet, sal_False),
- sCreateFromLabels(sAPI_CreateFromLabels),
- sLabelCategory(sAPI_LabelCategory),
- sLabelDisplayType(sAPI_LabelDisplayType),
- bSequenceOK(sal_False),
- bDisplayFormatOK(sal_False),
- bUseCaption(sal_True)
+ SvXMLImport& rImport, sal_uInt16 nPrfx,
+ const OUString& rLocalName, Reference<XPropertySet> & rPropSet)
+ : XMLIndexSourceBaseContext(rImport, nPrfx, rLocalName,
+ rPropSet, sal_False)
+ , sCreateFromLabels(sAPI_CreateFromLabels)
+ , sLabelCategory(sAPI_LabelCategory)
+ , sLabelDisplayType(sAPI_LabelDisplayType)
+ , nDisplayFormat(0)
+ , bSequenceOK(sal_False)
+ , bDisplayFormatOK(sal_False)
+ , bUseCaption(sal_True)
{
}
commit fec7d941d06b651013a8c08fa5128beacbad637d
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:33:24 2014 +0000
coverity#708715 unused member variable
Change-Id: Idc7c58ec1f2646276e16177dcb748daea8f85849
diff --git a/xmloff/source/text/XMLPropertyBackpatcher.hxx b/xmloff/source/text/XMLPropertyBackpatcher.hxx
index fc506a5..cd31bb7 100644
--- a/xmloff/source/text/XMLPropertyBackpatcher.hxx
+++ b/xmloff/source/text/XMLPropertyBackpatcher.hxx
@@ -70,9 +70,6 @@ class XMLPropertyBackpatcher
/// name of the property to preserve
OUString sPreservePropertyName;
- /// default value for unresolved properties (if bDefaultHandling)
- A aDefault;
-
/// backpatch list type
typedef ::std::vector<
::com::sun::star::uno::Reference<
commit b3e31cb9a65ca231fd9185c92096a52883191d0b
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:32:05 2014 +0000
coverity#708718 Uninitialized scalar field
Change-Id: I77c96d2b070f5c4735de000d7513d0867626bd5c
diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx
index e51037d..fe4b84a 100644
--- a/xmloff/source/text/txtfldi.cxx
+++ b/xmloff/source/text/txtfldi.cxx
@@ -619,12 +619,13 @@ XMLSenderFieldImportContext::XMLSenderFieldImportContext(
SvXMLImport& rImport, XMLTextImportHelper& rHlp,
sal_uInt16 nPrfx, const OUString& sLocalName,
sal_uInt16 nToken)
-: XMLTextFieldImportContext(rImport, rHlp, sAPI_extended_user,nPrfx, sLocalName)
-, sPropertyFixed(sAPI_is_fixed)
-, sPropertyFieldSubType(sAPI_user_data_type)
-, sPropertyContent(sAPI_content)
-, bFixed(sal_True)
-, nElementToken(nToken)
+ : XMLTextFieldImportContext(rImport, rHlp, sAPI_extended_user,nPrfx, sLocalName)
+ , nSubType(0)
+ , sPropertyFixed(sAPI_is_fixed)
+ , sPropertyFieldSubType(sAPI_user_data_type)
+ , sPropertyContent(sAPI_content)
+ , bFixed(sal_True)
+ , nElementToken(nToken)
{
}
commit 79941154fed8a9567e91ceb092865e58be6acd94
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:31:11 2014 +0000
coverity#708719 Uninitialized scalar field
Change-Id: I8188b0c1ac443938e645c41b9e3cd6eb340732aa
diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx
index 9f5c10f..e51037d 100644
--- a/xmloff/source/text/txtfldi.cxx
+++ b/xmloff/source/text/txtfldi.cxx
@@ -2833,6 +2833,7 @@ XMLReferenceFieldImportContext::XMLReferenceFieldImportContext(
, sPropertySourceName(sAPI_source_name)
, sPropertyCurrentPresentation(sAPI_current_presentation)
, nElementToken(nToken)
+, nSource(0)
, nType(ReferenceFieldPart::PAGE_DESC)
, bNameOK(sal_False)
, bTypeOK(sal_False)
commit 537a6be2a81255ec4f1f90c6f5fa699f00356a88
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:29:52 2014 +0000
coverity#708720 Uninitialized scalar field
Change-Id: I62a103fb6c194f7e5cf88495be39759e349366f7
diff --git a/xmloff/source/text/txtfldi.cxx b/xmloff/source/text/txtfldi.cxx
index 56c9488..9f5c10f 100644
--- a/xmloff/source/text/txtfldi.cxx
+++ b/xmloff/source/text/txtfldi.cxx
@@ -1814,13 +1814,15 @@ TYPEINIT1( XMLDateTimeDocInfoImportContext, XMLSimpleDocInfoImportContext );
XMLDateTimeDocInfoImportContext::XMLDateTimeDocInfoImportContext(
SvXMLImport& rImport, XMLTextImportHelper& rHlp, sal_uInt16 nPrfx,
const OUString& sLocalName, sal_uInt16 nToken)
-: XMLSimpleDocInfoImportContext(rImport, rHlp, nPrfx, sLocalName,nToken, sal_False, sal_False)
-, sPropertyNumberFormat(sAPI_number_format)
-, sPropertyIsDate(sAPI_is_date)
-, sPropertyIsFixedLanguage(sAPI_is_fixed_language)
-, nFormat(0)
-, bFormatOK(sal_False)
-, bIsDefaultLanguage(sal_True)
+ : XMLSimpleDocInfoImportContext(rImport, rHlp, nPrfx, sLocalName,nToken, sal_False, sal_False)
+ , sPropertyNumberFormat(sAPI_number_format)
+ , sPropertyIsDate(sAPI_is_date)
+ , sPropertyIsFixedLanguage(sAPI_is_fixed_language)
+ , nFormat(0)
+ , bFormatOK(sal_False)
+ , bIsDate(false)
+ , bHasDateTime(false)
+ , bIsDefaultLanguage(sal_True)
{
// we allow processing of EDIT_DURATION here, because import of actual
// is not supported anyway. If it was, we'd need an extra import class
commit 105cd45a98574c0b90c6cc36c9db184c6b499758
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:28:23 2014 +0000
coverity#708724 Uninitialized scalar field
Change-Id: I797a2e31550642be937c4641c12bd6c71dd6cba2
diff --git a/xmloff/source/transform/IgnoreTContext.cxx b/xmloff/source/transform/IgnoreTContext.cxx
index 75eae9c..654624c 100644
--- a/xmloff/source/transform/IgnoreTContext.cxx
+++ b/xmloff/source/transform/IgnoreTContext.cxx
@@ -34,6 +34,7 @@ XMLIgnoreTransformerContext::XMLIgnoreTransformerContext(
XMLTransformerContext( rImp, rQName ),
m_bIgnoreCharacters( bIgnoreChars ),
m_bIgnoreElements( bIgnoreElems ),
+ m_bAllowCharactersRecursive( false ),
m_bRecursiveUse( sal_False )
{
}
commit 43403d14c2c0f89845fa5a6816bc1b67f54d1830
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:27:22 2014 +0000
coverity#708725 Uninitialized scalar field
Change-Id: I65f2b71422cdb62e2bc29c4825c0cede590720f4
diff --git a/xmloff/source/transform/StyleOASISTContext.cxx b/xmloff/source/transform/StyleOASISTContext.cxx
index 5069ec0..3d2ed2f 100644
--- a/xmloff/source/transform/StyleOASISTContext.cxx
+++ b/xmloff/source/transform/StyleOASISTContext.cxx
@@ -743,23 +743,21 @@ OUString XMLPropertiesTContext_Impl::MergeLineThrough(
TYPEINIT1( XMLStyleOASISTContext, XMLPersElemContentTContext );
-XMLStyleOASISTContext::XMLStyleOASISTContext( XMLTransformerBase& rImp,
- const OUString& rQName,
- sal_Bool bPersistent ) :
- XMLPersElemContentTContext ( rImp, rQName ),
- m_bPersistent( bPersistent ),
- m_bControlStyle( false )
+XMLStyleOASISTContext::XMLStyleOASISTContext(XMLTransformerBase& rImp,
+ const OUString& rQName, sal_Bool bPersistent)
+ : XMLPersElemContentTContext(rImp, rQName)
+ , m_bPersistent(bPersistent)
+ , m_bControlStyle(false)
{
}
XMLStyleOASISTContext::XMLStyleOASISTContext(
- XMLTransformerBase& rImp,
- const OUString& rQName,
- sal_uInt16 nPrefix,
- ::xmloff::token::XMLTokenEnum eToken,
- sal_Bool bPersistent ) :
- XMLPersElemContentTContext( rImp, rQName, nPrefix, eToken ),
- m_bPersistent( bPersistent )
+ XMLTransformerBase& rImp, const OUString& rQName,
+ sal_uInt16 nPrefix, ::xmloff::token::XMLTokenEnum eToken,
+ sal_Bool bPersistent)
+ : XMLPersElemContentTContext(rImp, rQName, nPrefix, eToken)
+ , m_bPersistent(bPersistent)
+ , m_bControlStyle(false)
{
}
commit cb232b41cd4a3c1872c3b3dffcad556810b9c441
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:24:46 2014 +0000
coverity#738579 Uninitialized scalar field
Change-Id: If5494435c5aa536a78a6b923d30c63861d0a0dd2
diff --git a/cui/source/dialogs/cuicharmap.cxx b/cui/source/dialogs/cuicharmap.cxx
index 7c647f3..4159a31 100644
--- a/cui/source/dialogs/cuicharmap.cxx
+++ b/cui/source/dialogs/cuicharmap.cxx
@@ -172,8 +172,9 @@ short SvxCharacterMap::Execute()
// class SvxShowText =====================================================
SvxShowText::SvxShowText(Window* pParent, sal_Bool bCenter)
-: Control( pParent ),
- mbCenter( bCenter)
+ : Control(pParent)
+ , mnY(0)
+ , mbCenter(bCenter)
{}
extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeSvxShowText(Window *pParent, VclBuilder::stringmap &)
commit 7dd4c9212862a79389a9dce1caf0c6e26479daff
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:23:25 2014 +0000
coverity#738587 Uninitialized scalar field
Change-Id: Icf9146eb541272e7219ce3bf00c296b930538835
diff --git a/cui/source/options/cfgchart.cxx b/cui/source/options/cfgchart.cxx
index 71e2893..b128312 100644
--- a/cui/source/options/cfgchart.cxx
+++ b/cui/source/options/cfgchart.cxx
@@ -30,12 +30,15 @@ using namespace com::sun::star;
TYPEINIT1( SvxChartColorTableItem, SfxPoolItem );
SvxChartColorTable::SvxChartColorTable()
-{}
+ : nNextElementNumber(0)
+{
+}
-SvxChartColorTable::SvxChartColorTable( const SvxChartColorTable & _rSource ) :
- m_aColorEntries( _rSource.m_aColorEntries ),
- nNextElementNumber( m_aColorEntries.size() + 1 )
-{}
+SvxChartColorTable::SvxChartColorTable(const SvxChartColorTable & _rSource)
+ : m_aColorEntries(_rSource.m_aColorEntries)
+ , nNextElementNumber(m_aColorEntries.size() + 1)
+{
+}
// accessors
size_t SvxChartColorTable::size() const
commit 2ff57a77d858c685b78e8206f144ae9977208e21
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:22:28 2014 +0000
coverity#738611 Uninitialized scalar field
Change-Id: Ib80c34fa3f6e6cbfc14cc4fa97afec24228c382d
diff --git a/dbaccess/source/core/api/querycontainer.cxx b/dbaccess/source/core/api/querycontainer.cxx
index f969d4f..707dcd6 100644
--- a/dbaccess/source/core/api/querycontainer.cxx
+++ b/dbaccess/source/core/api/querycontainer.cxx
@@ -68,6 +68,7 @@ OQueryContainer::OQueryContainer(
,m_pWarnings( _pWarnings )
,m_xCommandDefinitions(_rxCommandDefinitions)
,m_xConnection(_rxConn)
+ ,m_eDoingCurrently(NONE)
{
}
commit b9179d8798aedea2f7dc5d93d966028fb3dbde14
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:21:13 2014 +0000
coverity#738612 Uninitialized scalar field
Change-Id: I6d2ffdfe3a4e70c6588988be9026e28411ee273a
diff --git a/dbaccess/source/core/api/resultset.cxx b/dbaccess/source/core/api/resultset.cxx
index 9e9cb59..b7195ab 100644
--- a/dbaccess/source/core/api/resultset.cxx
+++ b/dbaccess/source/core/api/resultset.cxx
@@ -56,6 +56,8 @@ OResultSet::OResultSet(const ::com::sun::star::uno::Reference< ::com::sun::star:
,OPropertySetHelper(OResultSetBase::rBHelper)
,m_xDelegatorResultSet(_xResultSet)
,m_aWarnings( Reference< XWarningsSupplier >( _xResultSet, UNO_QUERY ) )
+ ,m_nResultSetType(0)
+ ,m_nResultSetConcurrency(0)
,m_bIsBookmarkable(sal_False)
{
SAL_INFO("dbaccess", "OResultSet::OResultSet" );
@@ -86,7 +88,7 @@ OResultSet::OResultSet(const ::com::sun::star::uno::Reference< ::com::sun::star:
}
}
}
- catch(Exception&)
+ catch (const Exception&)
{
}
}
commit 649bb48e2a55ce51cfcb51687da3136d5b130043
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:19:30 2014 +0000
coverity#738613 Uninitialized scalar field
Change-Id: If6166e4b22afcc0afc5f552652ab76f5e21c52de
diff --git a/dbaccess/source/ui/control/RelationControl.cxx b/dbaccess/source/ui/control/RelationControl.cxx
index 35687a2..510d381 100644
--- a/dbaccess/source/ui/control/RelationControl.cxx
+++ b/dbaccess/source/ui/control/RelationControl.cxx
@@ -124,10 +124,11 @@ namespace dbaui
// class ORelationControl
ORelationControl::ORelationControl( OTableListBoxControl* pParent )
- :EditBrowseBox( pParent, EBBF_SMART_TAB_TRAVEL | EBBF_NOROWPICTURE, WB_TABSTOP | WB_BORDER | BROWSER_AUTOSIZE_LASTCOL)
- ,m_pBoxControl(pParent)
- ,m_xSourceDef( NULL )
- ,m_xDestDef( NULL )
+ : EditBrowseBox(pParent, EBBF_SMART_TAB_TRAVEL | EBBF_NOROWPICTURE, WB_TABSTOP | WB_BORDER | BROWSER_AUTOSIZE_LASTCOL)
+ , m_pBoxControl(pParent)
+ , m_nDataPos(0)
+ , m_xSourceDef(NULL)
+ , m_xDestDef(NULL)
{
}
commit 86ff16b9c9af1da67656142233ec528a5bfdc6c2
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:17:46 2014 +0000
coverity#738616 Uninitialized scalar field
Change-Id: I8dd9daa06c86f14430ea0a8d1485daad93f63eee
diff --git a/dbaccess/source/ui/misc/WCPage.cxx b/dbaccess/source/ui/misc/WCPage.cxx
index da553db..4a00470 100644
--- a/dbaccess/source/ui/misc/WCPage.cxx
+++ b/dbaccess/source/ui/misc/WCPage.cxx
@@ -64,8 +64,10 @@ OCopyTable::OCopyTable( Window * pParent )
,m_aCB_PrimaryColumn( this, ModuleRes( CB_PRIMARY_COLUMN ) )
,m_aFT_KeyName( this, ModuleRes( FT_KEYNAME ) )
,m_edKeyName( this, ModuleRes( ET_KEYNAME ) )
+ ,m_nOldOperation(0)
,m_pPage2(NULL)
,m_pPage3(NULL)
+ ,m_bPKeyAllowed(false)
,m_bUseHeaderAllowed(sal_True)
{
commit ead9f07bd23fcbb59937998c77ebc9c1a771fc3b
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:16:08 2014 +0000
coverity#738617 Uninitialized scalar field
Change-Id: I4e90e3c0d583925bebfa2468e4c6b87afbe5b993
diff --git a/dbaccess/source/ui/misc/WNameMatch.cxx b/dbaccess/source/ui/misc/WNameMatch.cxx
index 685da8d..687f67b 100644
--- a/dbaccess/source/ui/misc/WNameMatch.cxx
+++ b/dbaccess/source/ui/misc/WNameMatch.cxx
@@ -344,6 +344,7 @@ void OColumnString::Paint(const Point& rPos, SvTreeListBox& rDev, const SvViewDa
OColumnTreeBox::OColumnTreeBox( Window* pParent, const ResId& rResId )
: OMarkableTreeListBox(pParent, rResId)
+ , m_bReadOnly(false)
{
SetDragDropMode( 0 );
EnableInplaceEditing( false );
commit 75cb13c406e8f715e846562cb07a8ed5c580357c
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:15:15 2014 +0000
coverity#738618 Uninitialized scalar field
Change-Id: Ib54d8f080a8590a3deb75ec26383ef3f44636375
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
index 4ce398c..616be7a 100644
--- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
+++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
@@ -100,6 +100,8 @@ namespace
OSelectionBrowseBox::OSelectionBrowseBox( Window* pParent )
:EditBrowseBox( pParent,EBBF_NOROWPICTURE, WB_3DLOOK, BROWSER_COLUMNSELECTION | BROWSER_KEEPSELECTION | BROWSER_HIDESELECT |
BROWSER_HIDECURSOR | BROWSER_HLINESFULL | BROWSER_VLINESFULL )
+ ,m_nSeekRow(0)
+ ,m_nMaxColumns(0)
,m_aFunctionStrings(ModuleRes(STR_QUERY_FUNCTIONS))
,m_nVisibleCount(0)
,m_nLastSortColumn(SORT_COLUMN_NONE)
commit 9121492f552565d6fca2d9223b37418c7c062b21
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:12:55 2014 +0000
coverity#738619 Uninitialized scalar field
Change-Id: Ibf3519d6ce6851aac5f31f9a793202ae8a7d2f97
diff --git a/dbaccess/source/ui/tabledesign/TableFieldDescWin.cxx b/dbaccess/source/ui/tabledesign/TableFieldDescWin.cxx
index a59c6f1..2f28b09 100644
--- a/dbaccess/source/ui/tabledesign/TableFieldDescWin.cxx
+++ b/dbaccess/source/ui/tabledesign/TableFieldDescWin.cxx
@@ -46,7 +46,8 @@
using namespace dbaui;
// class OTableFieldDescWin
OTableFieldDescWin::OTableFieldDescWin( Window* pParent)
- :TabPage(pParent, WB_3DLOOK)
+ : TabPage(pParent, WB_3DLOOK)
+ , m_eChildFocus(NONE)
{
// Header
m_pHeader = new FixedText( this, WB_CENTER | WB_INFO ); // | WB_3DLOOK
commit 0dcc0a52951b2adbb046b43ed0ab40d7fe013bd9
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:11:33 2014 +0000
coverity#738620 Uninitialized scalar field
Change-Id: I1359d9dcdeecb744025b048a998d5c8e08bb9265
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index eb93893..9ffe764 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -565,9 +565,10 @@ OUString ReplaceStringHookProc( const OUString& rStr )
}
Desktop::Desktop()
-: m_bCleanedExtensionCache( false )
-, m_bServicesRegistered( false )
-, m_aBootstrapError( BE_OK )
+ : m_bCleanedExtensionCache(false)
+ , m_bServicesRegistered(false)
+ , m_aBootstrapError(BE_OK)
+ , m_aBootstrapStatus(BS_OK)
{
SAL_INFO( "desktop.app", "desktop (cd100003) ::Desktop::Desktop" );
}
commit f52edff02d40b710ae32c5e4925d7afb57691e72
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:09:12 2014 +0000
coverity#738640 Uninitialized scalar field
Change-Id: I82b91df0c26f2e4a741c3713e7ea91f29194b39d
diff --git a/filter/source/graphicfilter/itga/itga.cxx b/filter/source/graphicfilter/itga/itga.cxx
index 5f9c434..f9b3381 100644
--- a/filter/source/graphicfilter/itga/itga.cxx
+++ b/filter/source/graphicfilter/itga/itga.cxx
@@ -116,6 +116,7 @@ TGAReader::TGAReader(SvStream &rTGA)
, mpColorMap(NULL)
, mbStatus(sal_True)
, mnTGAVersion(1)
+ , mnDestBitDepth(8)
, mbIndexing(sal_False)
, mbEncoding(sal_False)
{
commit c94f566aa40a8fbb8ca6bda714b42024d2767bfa
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 11:07:38 2014 +0000
coverity#738644 Uninitialized scalar field
Change-Id: Ic1c910cf2187405e966576bdba1ff606b23d993b
diff --git a/filter/source/msfilter/mstoolbar.cxx b/filter/source/msfilter/mstoolbar.cxx
index 73b8dde..0d63c51 100644
--- a/filter/source/msfilter/mstoolbar.cxx
+++ b/filter/source/msfilter/mstoolbar.cxx
@@ -384,7 +384,10 @@ WString::Read( SvStream &rS )
return true;
}
-TBCExtraInfo::TBCExtraInfo() : idHelpContext( 0 )
+TBCExtraInfo::TBCExtraInfo()
+ : idHelpContext(0)
+ , tbcu(0)
+ , tbmg(0)
{
}
commit 2484bf5804f5114c7afd0bf1516cbcf7a78eabaa
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 10:52:24 2014 +0000
coverity#738645 Uninitialized scalar field
Change-Id: I85496d643cfadbf7b6daa5d0c5e2b6d9382dcb5b
diff --git a/filter/source/msfilter/mstoolbar.cxx b/filter/source/msfilter/mstoolbar.cxx
index 010494b..73b8dde 100644
--- a/filter/source/msfilter/mstoolbar.cxx
+++ b/filter/source/msfilter/mstoolbar.cxx
@@ -646,10 +646,12 @@ void TBCComboDropdownSpecific::Print( FILE* fp)
indent_printf(fp," no data " );
}
-TBCCDData::TBCCDData() : cwstrItems( 0 )
-,iSel( 0 )
-,cLines( 0 )
-,dxWidth( 0 )
+TBCCDData::TBCCDData()
+ : cwstrItems(0)
+ , cwstrMRU(0)
+ , iSel(0)
+ , cLines(0)
+ , dxWidth(0)
{
}
commit 4e89ae1f4678fc214f1fa26d6a5a90bc747b0794
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 10:51:04 2014 +0000
coverity#738646 Uninitialized scalar field
Change-Id: I111f970932451a4557920b6988f6e1d508c462ed
diff --git a/filter/source/msfilter/mstoolbar.cxx b/filter/source/msfilter/mstoolbar.cxx
index 4fcb039..010494b 100644
--- a/filter/source/msfilter/mstoolbar.cxx
+++ b/filter/source/msfilter/mstoolbar.cxx
@@ -180,16 +180,17 @@ TBBase::indent_printf( FILE* fp, const char* format, ... )
va_end( ap );
}
-TBCHeader::TBCHeader() : bSignature( 0x3 )
-,bVersion( 0x01 )
-,bFlagsTCR( 0 )
-,tct(0x1) // default to Button
-,tcid(0)
-,tbct(0)
+TBCHeader::TBCHeader()
+ : bSignature(0x3)
+ , bVersion(0x01)
+ , bFlagsTCR(0)
+ , tct(0x1) // default to Button
+ , tcid(0)
+ , tbct(0)
+ , bPriority(0)
{
}
-
TBCHeader::~TBCHeader()
{
}
commit 2fdde893a762792815b2a2a2d269c154ce8226a4
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 10:49:02 2014 +0000
coverity#738648 unused mbLinearBoundingBoxUnits
Change-Id: I25f6d4a4ed5e6d7c295c0a63b50de6540e960257
diff --git a/filter/source/svg/gfxtypes.hxx b/filter/source/svg/gfxtypes.hxx
index 33cbe7f..01aa9e1 100644
--- a/filter/source/svg/gfxtypes.hxx
+++ b/filter/source/svg/gfxtypes.hxx
@@ -93,7 +93,6 @@ struct Gradient
} maCoords;
sal_Int32 mnId;
bool mbBoundingBoxUnits;
- bool mbLinearBoundingBoxUnits;
// explicit Gradient(GradientType eType) : maStops(), maTransform(), meType(eType), maCoords.mfCX(0.0), maCoords.mfCY(0.0), maCoords.mfFX(0.0), maCoords.mfFY(0.0), maCoords.mfR(0.0), mnId(0), mbBoundingBoxUnits(false)
explicit Gradient(GradientType eType) : maStops(), maTransform(), meType(eType), mnId(0), mbBoundingBoxUnits(false)
commit c240312721bedc4ddcc496605f251c3e1670f234
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 10:47:16 2014 +0000
coverity#738649 Uninitialized scalar field
Change-Id: I2725db20159c92b7cc1b06cd3f2902803bf8d376
diff --git a/filter/source/svg/svgexport.cxx b/filter/source/svg/svgexport.cxx
index 9bad77e..121e3aa 100644
--- a/filter/source/svg/svgexport.cxx
+++ b/filter/source/svg/svgexport.cxx
@@ -214,7 +214,10 @@ class VariableDateTimeField : public VariableTextField
public:
sal_Int32 format;
- VariableDateTimeField() {}
+ VariableDateTimeField()
+ : format(0)
+ {
+ }
TEXT_FIELD_GET_CLASS_NAME_METHOD( VariableDateTimeField )
virtual sal_Bool equalTo( const TextField & aTextField ) const
{
commit ca7c3debbd38d6ac9661cf0ef3abfc073ebaef23
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 10:46:14 2014 +0000
coverity#738652 Uninitialized scalar field
Change-Id: Ie191910d49ee9f622bc407a768e79671698d2ac3
diff --git a/forms/source/component/Date.cxx b/forms/source/component/Date.cxx
index bc71c5d..8ff8a53 100644
--- a/forms/source/component/Date.cxx
+++ b/forms/source/component/Date.cxx
@@ -88,9 +88,11 @@ Sequence<Type> ODateModel::_getTypes()
//------------------------------------------------------------------
ODateModel::ODateModel(const Reference<XComponentContext>& _rxFactory)
- :OEditBaseModel( _rxFactory, VCL_CONTROLMODEL_DATEFIELD, FRM_SUN_CONTROL_DATEFIELD, sal_True, sal_True )
- // use the old control name for compytibility reasons
- ,OLimitedFormats( _rxFactory, FormComponentType::DATEFIELD )
+ : OEditBaseModel(_rxFactory, VCL_CONTROLMODEL_DATEFIELD,
+ FRM_SUN_CONTROL_DATEFIELD, sal_True, sal_True)
+ // use the old control name for compytibility reasons
+ , OLimitedFormats(_rxFactory, FormComponentType::DATEFIELD)
+ , m_bDateTimeField(false)
{
m_nClassId = FormComponentType::DATEFIELD;
initValueProperty( PROPERTY_DATE, PROPERTY_ID_DATE );
@@ -112,8 +114,9 @@ ODateModel::ODateModel(const Reference<XComponentContext>& _rxFactory)
//------------------------------------------------------------------------------
ODateModel::ODateModel( const ODateModel* _pOriginal, const Reference<XComponentContext>& _rxFactory )
- :OEditBaseModel( _pOriginal, _rxFactory )
- ,OLimitedFormats( _rxFactory, FormComponentType::DATEFIELD )
+ : OEditBaseModel(_pOriginal, _rxFactory)
+ , OLimitedFormats(_rxFactory, FormComponentType::DATEFIELD)
+ , m_bDateTimeField(false)
{
setAggregateSet( m_xAggregateFastSet, getOriginalHandle( PROPERTY_ID_DATEFORMAT ) );
}
commit 466e8bd416bfa1e64c36e12c44907bef1118f44d
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 10:44:26 2014 +0000
coverity#738654 Uninitialized scalar field
Change-Id: I92909b606e06f3d86fc3b66aef1ac52e5d706967
diff --git a/forms/source/component/ListBox.cxx b/forms/source/component/ListBox.cxx
index a09406c..01b253e 100644
--- a/forms/source/component/ListBox.cxx
+++ b/forms/source/component/ListBox.cxx
@@ -160,6 +160,7 @@ namespace frm
,OEntryListHelper( (OControlModel&)*this )
,OErrorBroadcaster( OComponentHelper::rBHelper )
,m_aListRowSet()
+ ,m_nConvertedBoundValuesType(0)
,m_nNULLPos(-1)
,m_nBoundColumnType( DataType::SQLNULL )
{
@@ -182,6 +183,7 @@ namespace frm
,m_aBoundColumn( _pOriginal->m_aBoundColumn )
,m_aListSourceValues( _pOriginal->m_aListSourceValues )
,m_aBoundValues( _pOriginal->m_aBoundValues )
+ ,m_nConvertedBoundValuesType(0)
,m_aDefaultSelectSeq( _pOriginal->m_aDefaultSelectSeq )
,m_nNULLPos(-1)
,m_nBoundColumnType( DataType::SQLNULL )
commit 09f93567e92c9485bc802d02a3d20cd16fcebf60
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 10:41:44 2014 +0000
coverity#738656 Uninitialized scalar field
Change-Id: I49e3f47e318ae342738dd1de90673e2aee2bb62b
diff --git a/forms/source/component/Time.cxx b/forms/source/component/Time.cxx
index b768fde..f984773 100644
--- a/forms/source/component/Time.cxx
+++ b/forms/source/component/Time.cxx
@@ -122,11 +122,12 @@ Sequence<Type> OTimeModel::_getTypes()
//------------------------------------------------------------------
//------------------------------------------------------------------
OTimeModel::OTimeModel(const Reference<XComponentContext>& _rxFactory)
- :OEditBaseModel( _rxFactory, VCL_CONTROLMODEL_TIMEFIELD, FRM_SUN_CONTROL_TIMEFIELD, sal_True, sal_True )
- // use the old control name for compytibility reasons
- ,OLimitedFormats( _rxFactory, FormComponentType::TIMEFIELD)
+ : OEditBaseModel(_rxFactory, VCL_CONTROLMODEL_TIMEFIELD,
+ FRM_SUN_CONTROL_TIMEFIELD, sal_True, sal_True)
+ // use the old control name for compatibility reasons
+ , OLimitedFormats(_rxFactory, FormComponentType::TIMEFIELD)
+ , m_bDateTimeField(false)
{
-
m_nClassId = FormComponentType::TIMEFIELD;
initValueProperty( PROPERTY_TIME, PROPERTY_ID_TIME );
@@ -134,11 +135,11 @@ OTimeModel::OTimeModel(const Reference<XComponentContext>& _rxFactory)
}
//------------------------------------------------------------------------------
-OTimeModel::OTimeModel( const OTimeModel* _pOriginal, const Reference<XComponentContext>& _rxFactory )
- :OEditBaseModel( _pOriginal, _rxFactory )
- ,OLimitedFormats( _rxFactory, FormComponentType::TIMEFIELD )
+OTimeModel::OTimeModel(const OTimeModel* _pOriginal, const Reference<XComponentContext>& _rxFactory)
+ : OEditBaseModel(_pOriginal, _rxFactory)
+ , OLimitedFormats(_rxFactory, FormComponentType::TIMEFIELD)
+ , m_bDateTimeField(false)
{
-
setAggregateSet( m_xAggregateFastSet, getOriginalHandle( PROPERTY_ID_TIMEFORMAT ) );
}
commit ea7d4d24ae2012e9e1f798179593861c5de309cf
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 10:39:15 2014 +0000
coverity#738658 Uninitialized scalar field
Change-Id: Ia8881da44745b771fea69b74e58875658aafb15e
diff --git a/framework/source/dispatch/closedispatcher.cxx b/framework/source/dispatch/closedispatcher.cxx
index b5f6807..5f6ab50 100644
--- a/framework/source/dispatch/closedispatcher.cxx
+++ b/framework/source/dispatch/closedispatcher.cxx
@@ -64,6 +64,7 @@ CloseDispatcher::CloseDispatcher(const css::uno::Reference< css::uno::XComponent
: ThreadHelpBase (&Application::GetSolarMutex() )
, m_xContext (rxContext )
, m_aAsyncCallback (LINK( this, CloseDispatcher, impl_asyncCallback))
+ , m_eOperation(E_CLOSE_DOC)
, m_lStatusListener (m_aLock.getShareableOslMutex() )
, m_pSysWindow(NULL)
{
commit e681a45baf57e45bdae520137951019afd6f078a
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 10:37:56 2014 +0000
coverity#738660 unused members
Change-Id: I59cc7a044b54643e00132d51c932f0e703e3ff4f
diff --git a/framework/inc/services/layoutmanager.hxx b/framework/inc/services/layoutmanager.hxx
index 569a1a8..04deff3 100644
--- a/framework/inc/services/layoutmanager.hxx
+++ b/framework/inc/services/layoutmanager.hxx
@@ -334,8 +334,6 @@ namespace framework
css::uno::Reference< ::com::sun::star::container::XNameAccess > m_xPersistentWindowStateSupplier;
GlobalSettings* m_pGlobalSettings;
OUString m_aModuleIdentifier;
- sal_Int16 m_eSymbolsSize;
- sal_Int16 m_eSymbolsStyle;
Timer m_aAsyncLayoutTimer;
::cppu::OMultiTypeInterfaceContainerHelper m_aListenerContainer; // container for ALL Listener
ToolbarLayoutManager* m_pToolbarManager;
commit addc8962d19101eb852ffa0a7b2bc0cef416ecfb
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 10:36:25 2014 +0000
coverity#738773 Uninitialized scalar field
Change-Id: I24374fa86e61b2c43415ca3e0dfb116ee56b0c18
diff --git a/lotuswordpro/source/filter/xfilter/xfrubystyle.hxx b/lotuswordpro/source/filter/xfilter/xfrubystyle.hxx
index 14f2b03..5302ed3 100644
--- a/lotuswordpro/source/filter/xfilter/xfrubystyle.hxx
+++ b/lotuswordpro/source/filter/xfilter/xfrubystyle.hxx
@@ -67,7 +67,11 @@
class XFRubyStyle : public XFStyle
{
public:
- XFRubyStyle(){}
+ XFRubyStyle()
+ : m_ePos(enumXFRubyLeft)
+ , m_eAlign(enumXFRubyLeft)
+ {
+ }
virtual ~XFRubyStyle(){}
virtual void ToXml(IXFStream *strm);
void SetPosition(enumXFRubyPosition ePosition);
commit 8ceafd984f2177bf50c25d3952df239dc16389eb
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 10:34:53 2014 +0000
coverity#738774 Uninitialized scalar field
Change-Id: I610f12dead8f70507cc6c6068edaa1c3b1c1e18c
diff --git a/lotuswordpro/source/filter/xfilter/xfstyle.cxx b/lotuswordpro/source/filter/xfilter/xfstyle.cxx
index 3614956..92476f8 100644
--- a/lotuswordpro/source/filter/xfilter/xfstyle.cxx
+++ b/lotuswordpro/source/filter/xfilter/xfstyle.cxx
@@ -60,8 +60,8 @@
#include "xfstyle.hxx"
XFStyle::XFStyle()
+ : m_enumFamily(enumXFStyleUnknown)
{
-
}
XFStyle::~XFStyle()
commit 1772d7c8784ce24f898b105d1b4a2c38c4bcafce
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 10:32:44 2014 +0000
coverity#738798 Uninitialized scalar field
Change-Id: Ia3ce1ead1a6a607d59a12b900db051146d781c18
diff --git a/sc/source/filter/oox/workbooksettings.cxx b/sc/source/filter/oox/workbooksettings.cxx
index da2595c..ba05761 100644
--- a/sc/source/filter/oox/workbooksettings.cxx
+++ b/sc/source/filter/oox/workbooksettings.cxx
@@ -80,6 +80,7 @@ WorkbookSettingsModel::WorkbookSettingsModel() :
mnUpdateLinksMode( XML_userSet ),
mnDefaultThemeVer( -1 ),
mbDateMode1904( false ),
+ mbDateCompatibility ( false ),
mbSaveExtLinkValues( true )
{
}
commit 39c173501a7888ed9765cce65782523a858e9fdf
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 10:31:32 2014 +0000
coverity#738799 Uninitialized scalar field
Change-Id: I9cf880ec159be6404f0919b282e8214d681f2967
diff --git a/sc/source/filter/xcl97/xcl97rec.cxx b/sc/source/filter/xcl97/xcl97rec.cxx
index 221bbc5..c9143cb 100644
--- a/sc/source/filter/xcl97/xcl97rec.cxx
+++ b/sc/source/filter/xcl97/xcl97rec.cxx
@@ -299,6 +299,7 @@ XclObj::XclObj( XclExpObjectManager& rObjMgr, sal_uInt16 nObjType, bool bOwnEsch
mnObjType( nObjType ),
nObjId(0),
nGrbit( 0x6011 ), // AutoLine, AutoFill, Printable, Locked
+ mnScTab(0),
bFirstOnSheet( !rObjMgr.HasObj() ),
mbOwnEscher( bOwnEscher )
{
commit 348c14dfe5e03f01d951f027e420e5fa15ee725f
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 10:29:26 2014 +0000
coverity#738806 Uninitialized scalar field
Change-Id: I8a1bbb0c2d99a3b6db1e75250e2ebb39df016aae
diff --git a/sc/source/ui/formdlg/privsplt.cxx b/sc/source/ui/formdlg/privsplt.cxx
index 5c7c9c2..e43741f 100644
--- a/sc/source/ui/formdlg/privsplt.cxx
+++ b/sc/source/ui/formdlg/privsplt.cxx
@@ -34,9 +34,11 @@
#*
#************************************************************************/
-ScPrivatSplit::ScPrivatSplit( Window* pParent, const ResId& rResId,
- SC_SPLIT_DIRECTION eSplit):
- Control( pParent, rResId )
+ScPrivatSplit::ScPrivatSplit(Window* pParent, const ResId& rResId,
+ SC_SPLIT_DIRECTION eSplit)
+ : Control(pParent, rResId)
+ , nDeltaX(0)
+ , nDeltaY(0)
{
Point aPos=GetPosPixel();
nOldX=(short)aPos.X();
commit 066a53e9d6c561712193eba022bbab280164af3a
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 10:28:03 2014 +0000
coverity#738808 Uninitialized scalar field
Change-Id: I2fc972b9d4118b31444a9b5236199ca445e642d2
diff --git a/sc/source/ui/unoobj/fielduno.cxx b/sc/source/ui/unoobj/fielduno.cxx
index c10cc72..125520e 100644
--- a/sc/source/ui/unoobj/fielduno.cxx
+++ b/sc/source/ui/unoobj/fielduno.cxx
@@ -191,12 +191,15 @@ public:
sal_Int32 GetFieldPos() const { return nFieldPos; }
};
-ScUnoEditEngine::ScUnoEditEngine(ScEditEngineDefaulter* pSource) :
- ScEditEngineDefaulter( *pSource ),
- eMode( SC_UNO_COLLECT_NONE ),
- nFieldCount( 0 ),
- mnFieldType(text::textfield::Type::UNSPECIFIED),
- pFound( NULL )
+ScUnoEditEngine::ScUnoEditEngine(ScEditEngineDefaulter* pSource)
+ : ScEditEngineDefaulter(*pSource)
+ , eMode(SC_UNO_COLLECT_NONE)
+ , nFieldCount(0)
+ , mnFieldType(text::textfield::Type::UNSPECIFIED)
+ , pFound(NULL)
+ , nFieldPar(0)
+ , nFieldPos(0)
+ , nFieldIndex(0)
{
if (pSource)
{
commit eb7e473e795e86bb155290f9db4182365c81186a
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 10:25:45 2014 +0000
coverity#738812 Uninitialized scalar field
Change-Id: Ia3c46e5c2f443cd7fb196f651e2ae0b22816c769
diff --git a/sd/inc/customshowlist.hxx b/sd/inc/customshowlist.hxx
index e84d633..aa20a69 100644
--- a/sd/inc/customshowlist.hxx
+++ b/sd/inc/customshowlist.hxx
@@ -37,6 +37,11 @@ public:
using std::vector<SdCustomShow*>::begin;
using std::vector<SdCustomShow*>::iterator;
+ SdCustomShowList()
+ : mnCurPos(0)
+ {
+ }
+
sal_uInt16 GetCurPos() const { return mnCurPos; }
void Seek(sal_uInt16 nNewPos) { mnCurPos = nNewPos; }
commit 7be107378b4eaa4aaeaf5199229d175c952d8655
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 10:24:09 2014 +0000
coverity#738813 Uninitialized scalar field
Change-Id: Ibd63cdba123a1171b40780bb8a9ab6ef1af6e8a0
diff --git a/sd/source/filter/eppt/eppt.cxx b/sd/source/filter/eppt/eppt.cxx
index b2760c6..be8b0e9 100644
--- a/sd/source/filter/eppt/eppt.cxx
+++ b/sd/source/filter/eppt/eppt.cxx
@@ -71,7 +71,11 @@ PPTWriter::PPTWriter( SvStorageRef& rSvStorage,
mnCnvrtFlags ( nCnvrtFlags ),
mbStatus ( sal_False ),
mbUseNewAnimations ( sal_True ),
+ mnStatMaxValue ( 0 ),
mnLatestStatValue ( 0 ),
+ mnTextStyle( 0 ),
+ mbFontIndependentLineSpacing( false ),
+ mnTextSize( 0 ),
mrStg ( rSvStorage ),
mpCurUserStrm ( NULL ),
mpStrm ( NULL ),
@@ -81,8 +85,13 @@ PPTWriter::PPTWriter( SvStorageRef& rSvStorage,
mpVBA ( pVBA ),
mnExEmbed ( 0 ),
mpExEmbed ( new SvMemoryStream ),
+ mnDrawings ( 0 ),
mnPagesWritten ( 0 ),
- mnTxId ( 0x7a2f64 )
+ mnUniqueSlideIdentifier ( 0 ),
+ mnTxId ( 0x7a2f64 ),
+ mnDiaMode ( 0 ),
+ mnShapeMasterTitle ( 0 ),
+ mnShapeMasterBody ( 0 )
{
}
commit 11a671ac5b176c40a2b5a32d2bb8201e95f4b8bb
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Feb 21 10:20:20 2014 +0000
coverity#738815 Uninitialized scalar field
Change-Id: I64379b438718ac1043fe7583a9eba966d8d83853
diff --git a/sd/source/filter/eppt/pptx-epptbase.cxx b/sd/source/filter/eppt/pptx-epptbase.cxx
index e89d00c..4ffe046 100644
--- a/sd/source/filter/eppt/pptx-epptbase.cxx
+++ b/sd/source/filter/eppt/pptx-epptbase.cxx
@@ -129,29 +129,39 @@ static PHLayout pPHLayout[] =
{ EPP_LAYOUT_2COLUMNSANDTITLE, { 0x0d, 0x16, 0x12, 0x00, 0x00, 0x00, 0x00, 0x00 }, 0x16, 0x0d, 0x12, sal_True, sal_True, sal_False }
};
-PPTWriterBase::PPTWriterBase() :
- mXModel (0),
- mXStatusIndicator (0),
- mbStatusIndicator (false),
- maFraction (1, 576),
- maMapModeSrc (MAP_100TH_MM),
- maMapModeDest (MAP_INCH, Point(), maFraction, maFraction),
- meLatestPageType (NORMAL),
- mpStyleSheet (0)
+PPTWriterBase::PPTWriterBase()
+ : mXModel(0)
+ , mXStatusIndicator(0)
+ , mbStatusIndicator(false)
+ , mbPresObj(false)
+ , mbEmptyPresObj(false)
+ , mnAngle(0)
+ , mnPages(0)
+ , mnMasterPages(0)
+ , maFraction(1, 576)
+ , maMapModeSrc(MAP_100TH_MM)
+ , maMapModeDest(MAP_INCH, Point(), maFraction, maFraction)
+ , meLatestPageType(NORMAL)
+ , mpStyleSheet(0)
{
DBG(printf ("PPTWriterBase::PPTWriterBase()\n"));
}
PPTWriterBase::PPTWriterBase( const Reference< XModel > & rXModel,
- const Reference< XStatusIndicator > & rXStatInd ) :
- mXModel (rXModel),
- mXStatusIndicator (rXStatInd),
- mbStatusIndicator (false),
- maFraction (1, 576),
- maMapModeSrc (MAP_100TH_MM),
- maMapModeDest (MAP_INCH, Point(), maFraction, maFraction),
- meLatestPageType (NORMAL),
- mpStyleSheet (0)
+ const Reference< XStatusIndicator > & rXStatInd )
+ : mXModel(rXModel)
+ , mXStatusIndicator(rXStatInd)
+ , mbStatusIndicator(false)
+ , mbPresObj(false)
+ , mbEmptyPresObj(false)
+ , mnAngle(0)
+ , mnPages(0)
+ , mnMasterPages(0)
+ , maFraction(1, 576)
+ , maMapModeSrc(MAP_100TH_MM)
+ , maMapModeDest(MAP_INCH, Point(), maFraction, maFraction)
+ , meLatestPageType (NORMAL)
+ , mpStyleSheet(0)
{
}
commit 6e3dee395baaf333f0b5b7eae18200bbe5e4c555
Author: Armin Le Grand <alg at apache.org>
Date: Thu Feb 20 15:49:56 2014 +0000
Resolves: #i124085# improved support for PNG clipboard format on windows
(cherry picked from commit 3bd259ce52b15e968302ecca39f72d06af66e301)
Change-Id: Ie9b677d8948912b372a13353cd82a2f5e2f1cf49
diff --git a/dtrans/source/win32/ftransl/ftransl.cxx b/dtrans/source/win32/ftransl/ftransl.cxx
index 4d25690..f0f5daf 100644
--- a/dtrans/source/win32/ftransl/ftransl.cxx
+++ b/dtrans/source/win32/ftransl/ftransl.cxx
@@ -483,9 +483,9 @@ void SAL_CALL CDataFormatTranslator::initTranslationTable()
//SOT_FORMATSTR_ID_DIALOG_60
m_TranslTable.push_back(FormatEntry("application/vnd.sun.xml.dialog", "Dialog 6.0", NULL, CF_INVALID, CPPUTYPE_DEFAULT));
//SOT_FORMATSTR_ID_BMP
- m_TranslTable.push_back(FormatEntry("image/bmp", "Windows Bitmap", NULL, 49657 /* ID for "image/bmp" CF_INVALID*/, CPPUTYPE_DEFAULT));
+ m_TranslTable.push_back(FormatEntry("image/bmp", "Windows Bitmap", NULL, CF_INVALID, CPPUTYPE_DEFAULT));
//SOT_FORMATSTR_ID_PNG
- m_TranslTable.push_back(FormatEntry("image/png", "PNG", NULL, 49656 /* ID for "image/png" CF_INVALID*/, CPPUTYPE_DEFAULT));
+ m_TranslTable.push_back(FormatEntry("image/png", "PNG", NULL, CF_INVALID, CPPUTYPE_DEFAULT));
//SOT_FORMATSTR_ID_DUMMY3
m_TranslTable.push_back(FormatEntry("application/x-openoffice-dummy3;windows_formatname=\"SO_DUMMYFORMAT_3\"", "SO_DUMMYFORMAT_3", NULL, CF_INVALID, CPPUTYPE_DEFAULT));
//SOT_FORMATSTR_ID_DUMMY4
More information about the Libreoffice-commits
mailing list