Silence -Werror,-Wunreachable-code
Change-Id: I87faa8501b14a770194979cd1c575ed05b162e48
This commit is contained in:
@@ -607,13 +607,13 @@ void SdDialogsTest::openAnyDialog()
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// example how to dump all known dialogs
|
/// example how to dump all known dialogs
|
||||||
if (false)
|
if ((false))
|
||||||
{
|
{
|
||||||
processAllKnownDialogs();
|
processAllKnownDialogs();
|
||||||
}
|
}
|
||||||
|
|
||||||
/// example how to dump exactly one known dialog
|
/// example how to dump exactly one known dialog
|
||||||
if (false)
|
if ((false))
|
||||||
{
|
{
|
||||||
// example for SfxTabDialog: 5 -> "modules/sdraw/ui/drawpagedialog.ui"
|
// example for SfxTabDialog: 5 -> "modules/sdraw/ui/drawpagedialog.ui"
|
||||||
// example for TabDialog: 22 -> "modules/simpress/ui/headerfooterdialog.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
|
/// example how to dump a dialog using fallback functionality
|
||||||
if (false)
|
if ((false))
|
||||||
{
|
{
|
||||||
// unknown dialog, try fallback to generic created
|
// unknown dialog, try fallback to generic created
|
||||||
// VclBuilder-generated instance. Keep in mind that Dialogs
|
// VclBuilder-generated instance. Keep in mind that Dialogs
|
||||||
|
Reference in New Issue
Block a user