Silence -Werror,-Wunreachable-code

Change-Id: I87faa8501b14a770194979cd1c575ed05b162e48
This commit is contained in:
Stephan Bergmann
2017-09-13 17:53:09 +02:00
parent 14164f75a5
commit 23332fd650

View File

@@ -607,13 +607,13 @@ void SdDialogsTest::openAnyDialog()
}
/// example how to dump all known dialogs
if (false)
if ((false))
{
processAllKnownDialogs();
}
/// example how to dump exactly one known dialog
if (false)
if ((false))
{
// example for SfxTabDialog: 5 -> "modules/sdraw/ui/drawpagedialog.ui"
// example for TabDialog: 22 -> "modules/simpress/ui/headerfooterdialog.ui"
@@ -634,7 +634,7 @@ void SdDialogsTest::openAnyDialog()
}
/// example how to dump a dialog using fallback functionality
if (false)
if ((false))
{
// unknown dialog, try fallback to generic created
// VclBuilder-generated instance. Keep in mind that Dialogs