summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-09-28 08:43:10 (GMT)
committerJason McDonald <jason.mcdonald@nokia.com>2009-09-28 13:36:23 (GMT)
commit1e0c7f3eed78bd1394e7d5ab19ce9d88e006d064 (patch)
tree5ce066b72ce27f68f24937b5f1546fa77bb04abb /src
parent971f9291c7dee8399ff89c63ef1bda7c51e1b20a (diff)
downloadQt-1e0c7f3eed78bd1394e7d5ab19ce9d88e006d064.zip
Qt-1e0c7f3eed78bd1394e7d5ab19ce9d88e006d064.tar.gz
Qt-1e0c7f3eed78bd1394e7d5ab19ce9d88e006d064.tar.bz2
Cocoa: Fix build cocoa port with namespace
This fix just fixes up coding bugs here and there Reviewed-by: Brad (cherry picked from commit ce94e9575a9f623f599a16d69051480a94300b7e)
Diffstat (limited to 'src')
-rw-r--r--src/gui/painting/qdrawhelper_mmx.cpp2
-rw-r--r--src/gui/painting/qdrawhelper_mmx3dnow.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/painting/qdrawhelper_mmx.cpp b/src/gui/painting/qdrawhelper_mmx.cpp
index 6bc397a..3b7658a 100644
--- a/src/gui/painting/qdrawhelper_mmx.cpp
+++ b/src/gui/painting/qdrawhelper_mmx.cpp
@@ -128,7 +128,7 @@ void qt_blend_rgb32_on_rgb32_mmx(uchar *destPixels, int dbpl,
}
}
+QT_END_NAMESPACE
#endif // QT_HAVE_MMX
-QT_END_NAMESPACE
diff --git a/src/gui/painting/qdrawhelper_mmx3dnow.cpp b/src/gui/painting/qdrawhelper_mmx3dnow.cpp
index 20a851c..2d3f748 100644
--- a/src/gui/painting/qdrawhelper_mmx3dnow.cpp
+++ b/src/gui/painting/qdrawhelper_mmx3dnow.cpp
@@ -101,6 +101,7 @@ void qt_blend_color_argb_mmx3dnow(int count, const QSpan *spans, void *userData)
(CompositionFunctionSolid*)qt_functionForModeSolid_MMX3DNOW);
}
+QT_END_NAMESPACE
+
#endif // QT_HAVE_3DNOW
-QT_END_NAMESPACE