diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2008-04-22 14:42:27 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2008-04-22 14:42:27 +0000 |
commit | 120a68cc3714059b8131a72d6f611b3b0ef7814d (patch) | |
tree | 26c1fcfe93c8954913eda4f7b9c4550f57af579a /sfx2/source/doc/guisaveas.cxx | |
parent | 1008d048f3e1f6270e5272bd5a3555cb1b78f152 (diff) |
INTEGRATION: CWS hr50 (1.31.18); FILE MERGED
2008/04/10 16:58:47 hr 1.31.18.1: #i86574#: fix warning (gcc-4.2.3)
Diffstat (limited to 'sfx2/source/doc/guisaveas.cxx')
-rw-r--r-- | sfx2/source/doc/guisaveas.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sfx2/source/doc/guisaveas.cxx b/sfx2/source/doc/guisaveas.cxx index a17887c4f2..aad1d3f625 100644 --- a/sfx2/source/doc/guisaveas.cxx +++ b/sfx2/source/doc/guisaveas.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: guisaveas.cxx,v $ - * $Revision: 1.35 $ + * $Revision: 1.36 $ * * This file is part of OpenOffice.org. * @@ -124,8 +124,9 @@ static sal_uInt16 getSlotIDFromMode( sal_Int8 nStoreMode ) nResult = SID_DIRECTEXPORTDOCASPDF; else if ( nStoreMode == SAVEAS_REQUESTED || nStoreMode == ( EXPORT_REQUESTED | WIDEEXPORT_REQUESTED ) ) nResult = SID_SAVEASDOC; - else + else { DBG_ASSERT( sal_False, "Unacceptable slot name is provided!\n" ); + } return nResult; } |