Kaydet (Commit) 28fa0800 authored tarafından Ivo Hinkelmann's avatar Ivo Hinkelmann

INTEGRATION: CWS warningfixes03_SRC680 (1.33.32); FILE MERGED

2006/08/18 14:16:26 mhu 1.33.32.1: #i68745# Fixed GCC 4.0.x warning(s).
üst 72b6f7b3
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: txtprhdl.cxx,v $ * $RCSfile: txtprhdl.cxx,v $
* *
* $Revision: 1.33 $ * $Revision: 1.34 $
* *
* last change: $Author: hr $ $Date: 2006-06-19 18:51:19 $ * last change: $Author: ihi $ $Date: 2006-08-29 11:03:40 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -1032,7 +1032,7 @@ sal_Bool XMLTextEmphasizePropHdl_Impl::exportXML( ...@@ -1032,7 +1032,7 @@ sal_Bool XMLTextEmphasizePropHdl_Impl::exportXML(
{ {
OUStringBuffer aOut( 15 ); OUStringBuffer aOut( 15 );
sal_Bool bRet = sal_True; sal_Bool bRet = sal_True;
sal_Int16 nType; sal_Int16 nType = sal_Int16();
if( rValue >>= nType ) if( rValue >>= nType )
{ {
sal_Bool bBelow = sal_False; sal_Bool bBelow = sal_False;
...@@ -1147,7 +1147,7 @@ sal_Bool XMLTextRelWidthHeightPropHdl_Impl::exportXML( ...@@ -1147,7 +1147,7 @@ sal_Bool XMLTextRelWidthHeightPropHdl_Impl::exportXML(
const SvXMLUnitConverter& rUnitConverter ) const const SvXMLUnitConverter& rUnitConverter ) const
{ {
sal_Bool bRet = sal_False; sal_Bool bRet = sal_False;
sal_Int16 nValue; sal_Int16 nValue = sal_Int16();
if( (rValue >>= nValue) && nValue > 0 ) if( (rValue >>= nValue) && nValue > 0 )
{ {
OUStringBuffer aOut; OUStringBuffer aOut;
...@@ -1264,7 +1264,7 @@ sal_Bool XMLTextRotationAnglePropHdl_Impl::exportXML( ...@@ -1264,7 +1264,7 @@ sal_Bool XMLTextRotationAnglePropHdl_Impl::exportXML(
const Any& rValue, const Any& rValue,
const SvXMLUnitConverter& rUnitConverter ) const const SvXMLUnitConverter& rUnitConverter ) const
{ {
sal_Int16 nAngle; sal_Int16 nAngle = sal_Int16();
sal_Bool bRet = ( rValue >>= nAngle ); sal_Bool bRet = ( rValue >>= nAngle );
if( bRet ) if( bRet )
{ {
...@@ -1315,7 +1315,7 @@ sal_Bool XMLNumber8OneBasedHdl::exportXML( ...@@ -1315,7 +1315,7 @@ sal_Bool XMLNumber8OneBasedHdl::exportXML(
const Any& rValue, const Any& rValue,
const SvXMLUnitConverter& rUnitConverter ) const const SvXMLUnitConverter& rUnitConverter ) const
{ {
sal_Int8 nValue; sal_Int8 nValue = sal_Int8();
sal_Bool bRet = ( rValue >>= nValue ); sal_Bool bRet = ( rValue >>= nValue );
if( bRet ) if( bRet )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment