[Libreoffice-commits] core.git: include/vcl vcl/source
Caolán McNamara
caolanm at redhat.com
Wed Feb 5 06:51:44 PST 2014
include/vcl/outdev.hxx | 2 +-
vcl/source/gdi/outdev.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit f1e96f263d3fddf028a8fd6e09c3a6781718aab7
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Feb 5 14:46:08 2014 +0000
OutputDevice::ImplHasMirroredGraphics can be const
Change-Id: I639c4821d9ef4da04ccbed6b93f7e6e3b51ae74d
diff --git a/include/vcl/outdev.hxx b/include/vcl/outdev.hxx
index 4223135..8bf356d 100644
--- a/include/vcl/outdev.hxx
+++ b/include/vcl/outdev.hxx
@@ -359,7 +359,7 @@ public:
SAL_DLLPRIVATE sal_Int32 ImplGetDPIY() const { return mnDPIY; }
SAL_DLLPRIVATE SalGraphics* ImplGetGraphics() const;
SAL_DLLPRIVATE void ImplReleaseGraphics( sal_Bool bRelease = sal_True );
- SAL_DLLPRIVATE sal_Bool ImplHasMirroredGraphics();
+ SAL_DLLPRIVATE bool ImplHasMirroredGraphics() const;
SAL_DLLPRIVATE void ImplReMirror( Point &rPoint ) const;
SAL_DLLPRIVATE void ImplReMirror( Rectangle &rRect ) const;
SAL_DLLPRIVATE void ImplReMirror( Region &rRegion ) const;
diff --git a/vcl/source/gdi/outdev.cxx b/vcl/source/gdi/outdev.cxx
index 0699ac7..f2aedd1 100644
--- a/vcl/source/gdi/outdev.cxx
+++ b/vcl/source/gdi/outdev.cxx
@@ -496,7 +496,7 @@ void OutputDevice::EnableRTL( sal_Bool bEnable )
mpAlphaVDev->EnableRTL( bEnable );
}
-sal_Bool OutputDevice::ImplHasMirroredGraphics()
+bool OutputDevice::ImplHasMirroredGraphics() const
{
// HOTFIX for #i55719#
if( meOutDevType == OUTDEV_PRINTER )
More information about the Libreoffice-commits
mailing list