summaryrefslogtreecommitdiff
path: root/dtrans/source/win32
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-13 09:00:05 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-13 09:06:00 +0000
commitd271080853675dbc0e16b0788410dc5caed21a01 (patch)
treeb50b0496413e3f6b70e0c611ebbd4d7a63f0aa06 /dtrans/source/win32
parent5678e845cc58933964729b908d649e10a11c220a (diff)
WaE: clipformat may be used uninitialized
Diffstat (limited to 'dtrans/source/win32')
-rw-r--r--dtrans/source/win32/ftransl/ftransl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dtrans/source/win32/ftransl/ftransl.cxx b/dtrans/source/win32/ftransl/ftransl.cxx
index aa67ce33cf6e..7bd6966f3477 100644
--- a/dtrans/source/win32/ftransl/ftransl.cxx
+++ b/dtrans/source/win32/ftransl/ftransl.cxx
@@ -206,7 +206,7 @@ DataFlavor SAL_CALL CDataFormatTranslator::getDataFlavorFromSystemDataType( cons
if ( aSysDataType.getValueType( ) == CPPUTYPE_SALINT32 )
{
- sal_Int32 clipformat;
+ sal_Int32 clipformat = CF_INVALID;
aSysDataType >>= clipformat;
if ( CF_INVALID != clipformat )
findDataFlavorForStandardFormatId( clipformat, aFlavor );