summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-11-10 08:17:51 +0100
committerMarkus Mohrhard <markus.mohrhard@collabora.co.uk>2014-11-10 08:18:17 +0100
commit027041a003fd3821e9b530c1f6a2b42d18a8752c (patch)
treecb8af9efa4bbc27284bb838c26582437f3c70b1b /vcl
parente90a6f154e94b91d4a1bdd832a98dc263bd29d6b (diff)
put these classes into an anonymous namespace
Change-Id: I29a30fcc8adab34fbe05a927d438c4e34d5c517b
Diffstat (limited to 'vcl')
-rw-r--r--vcl/opengl/salbmp.cxx4
-rw-r--r--vcl/quartz/salbmp.cxx4
2 files changed, 8 insertions, 0 deletions
diff --git a/vcl/opengl/salbmp.cxx b/vcl/opengl/salbmp.cxx
index abe62e3cdbc0..d54ace76021f 100644
--- a/vcl/opengl/salbmp.cxx
+++ b/vcl/opengl/salbmp.cxx
@@ -215,6 +215,8 @@ bool OpenGLSalBitmap::AllocateUserData()
return maUserBuffer.get() != 0;
}
+namespace {
+
class ImplPixelFormat
{
protected:
@@ -306,6 +308,8 @@ ImplPixelFormat* ImplPixelFormat::GetFormat( sal_uInt16 nBits, const BitmapPalet
return 0;
}
+}
+
Size OpenGLSalBitmap::GetSize() const
{
std::deque< OpenGLSalBitmapOp* >::const_iterator it = maPendingOps.begin();
diff --git a/vcl/quartz/salbmp.cxx b/vcl/quartz/salbmp.cxx
index c4cf2b00a011..0e64aa7c5260 100644
--- a/vcl/quartz/salbmp.cxx
+++ b/vcl/quartz/salbmp.cxx
@@ -330,6 +330,8 @@ bool QuartzSalBitmap::AllocateUserData()
return maUserBuffer.get() != 0;
}
+namespace {
+
class ImplPixelFormat
{
protected:
@@ -536,6 +538,8 @@ ImplPixelFormat* ImplPixelFormat::GetFormat( sal_uInt16 nBits, const BitmapPalet
return 0;
}
+}
+
void QuartzSalBitmap::ConvertBitmapData( sal_uInt32 nWidth, sal_uInt32 nHeight,
sal_uInt16 nDestBits, sal_uInt32 nDestBytesPerRow, const BitmapPalette& rDestPalette, sal_uInt8* pDestData,
sal_uInt16 nSrcBits, sal_uInt32 nSrcBytesPerRow, const BitmapPalette& rSrcPalette, sal_uInt8* pSrcData )