summaryrefslogtreecommitdiff
path: root/starmath
diff options
context:
space:
mode:
Diffstat (limited to 'starmath')
-rw-r--r--starmath/qa/cppunit/test_starmath.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/qa/cppunit/test_starmath.cxx b/starmath/qa/cppunit/test_starmath.cxx
index 03622eb940d4..9ad318a9d3bc 100644
--- a/starmath/qa/cppunit/test_starmath.cxx
+++ b/starmath/qa/cppunit/test_starmath.cxx
@@ -66,7 +66,7 @@ public:
void replacePlaceholder();
void viewZoom();
-#ifdef HAVE_MORE_FONTS
+#if HAVE_MORE_FONTS
void testSmTmpDeviceRestoreFont();
#endif
@@ -89,7 +89,7 @@ public:
CPPUNIT_TEST(ParseErrorDoubleSubsupscript);
CPPUNIT_TEST(replacePlaceholder);
CPPUNIT_TEST(viewZoom);
-#ifdef HAVE_MORE_FONTS
+#if HAVE_MORE_FONTS
CPPUNIT_TEST(testSmTmpDeviceRestoreFont);
#endif
CPPUNIT_TEST_SUITE_END();
@@ -145,7 +145,7 @@ void Test::tearDown()
BootstrapFixture::tearDown();
}
-#ifdef HAVE_MORE_FONTS
+#if HAVE_MORE_FONTS
void Test::testSmTmpDeviceRestoreFont()
{
ScopedVclPtrInstance<Printer> pPrinter;