diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2008-04-22 14:42:39 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2008-04-22 14:42:39 +0000 |
commit | d76d7a13ee3fffd199e98c75229bcb83f7bfec88 (patch) | |
tree | 5e176b81e8de221d4bf307ed14030821d99adab0 /sfx2 | |
parent | 77b4fb598e2e6551ff1f6caa08a33bdb4349273e (diff) |
INTEGRATION: CWS hr50 (1.34.88); FILE MERGED
2008/04/10 16:58:47 hr 1.34.88.1: #i86574#: fix warning (gcc-4.2.3)
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/notify/eventsupplier.cxx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sfx2/source/notify/eventsupplier.cxx b/sfx2/source/notify/eventsupplier.cxx index e89097d909c9..9df9a37edb7d 100644 --- a/sfx2/source/notify/eventsupplier.cxx +++ b/sfx2/source/notify/eventsupplier.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: eventsupplier.cxx,v $ - * $Revision: 1.35 $ + * $Revision: 1.36 $ * * This file is part of OpenOffice.org. * @@ -224,8 +224,9 @@ static void Execute( ANY& aEventData, SfxObjectShell* pDoc ) aProperties[ nIndex ].Value >>= aLibrary; else if ( aProperties[ nIndex ].Name.compareToAscii( PROP_MACRO_NAME ) == 0 ) aProperties[ nIndex ].Value >>= aMacroName; - else + else { DBG_ERROR("Unknown property value!"); + } nIndex += 1; } @@ -402,8 +403,9 @@ SvxMacro* SfxEvents_Impl::ConvertToMacro( const ANY& rElement, SfxObjectShell* p aProperties[ nIndex ].Value >>= aLibrary; else if ( aProperties[ nIndex ].Name.compareToAscii( PROP_MACRO_NAME ) == 0 ) aProperties[ nIndex ].Value >>= aMacroName; - else + else { DBG_ERROR("Unknown propery value!"); + } nIndex += 1; } @@ -415,8 +417,9 @@ SvxMacro* SfxEvents_Impl::ConvertToMacro( const ANY& rElement, SfxObjectShell* p eType = EXTENDED_STYPE; else if ( aType.compareToAscii( SVX_MACRO_LANGUAGE_JAVASCRIPT ) == COMPARE_EQUAL ) eType = JAVASCRIPT; - else + else { DBG_ERRORFILE( "ConvertToMacro: Unknown macro type" ); + } if ( aMacroName.getLength() ) { |