summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-09-13 17:53:09 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-09-13 17:53:38 +0200
commit23332fd6505cfa4784d131f7b45e68e4dab236f1 (patch)
treebe1a1de576f533b396006246c2d01ff69b736c1c /sd
parent14164f75a5e8d4c803c6c9aeda1d0dd4c8930f0f (diff)
Silence -Werror,-Wunreachable-code
Change-Id: I87faa8501b14a770194979cd1c575ed05b162e48
Diffstat (limited to 'sd')
-rw-r--r--sd/qa/unit/dialogs-test.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sd/qa/unit/dialogs-test.cxx b/sd/qa/unit/dialogs-test.cxx
index 685ccf556e30..b77c7755a6bf 100644
--- a/sd/qa/unit/dialogs-test.cxx
+++ b/sd/qa/unit/dialogs-test.cxx
@@ -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