diff options
author | Oliver Bolte <obo@openoffice.org> | 2008-10-10 13:02:43 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2008-10-10 13:02:43 +0000 |
commit | 3735d9d387398fd90ab63ce2b1367dd154bd0fb9 (patch) | |
tree | 1e9e71bcaf766edbcdde3e54149c816da72ccd13 /basebmp | |
parent | 1bed162a7494769275db0831810f51069415881f (diff) |
CWS-TOOLING: integrate CWS cmcfixes49
Diffstat (limited to 'basebmp')
-rw-r--r-- | basebmp/inc/basebmp/bitmapdevice.hxx | 4 | ||||
-rw-r--r-- | basebmp/source/bitmapdevice.cxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/basebmp/inc/basebmp/bitmapdevice.hxx b/basebmp/inc/basebmp/bitmapdevice.hxx index 02503dd09305..1f2c63eae46f 100644 --- a/basebmp/inc/basebmp/bitmapdevice.hxx +++ b/basebmp/inc/basebmp/bitmapdevice.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: bitmapdevice.hxx,v $ - * $Revision: 1.10 $ + * $Revision: 1.10.14.1 $ * * This file is part of OpenOffice.org. * @@ -125,7 +125,7 @@ public: This is just a frontend for getPalette->size() */ - const sal_Int32 getPaletteEntryCount() const; + sal_Int32 getPaletteEntryCount() const; /** Clear whole device with given color diff --git a/basebmp/source/bitmapdevice.cxx b/basebmp/source/bitmapdevice.cxx index 34599a5ef3be..22157b1e0e4d 100644 --- a/basebmp/source/bitmapdevice.cxx +++ b/basebmp/source/bitmapdevice.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: bitmapdevice.cxx,v $ - * $Revision: 1.33 $ + * $Revision: 1.33.4.1 $ * * This file is part of OpenOffice.org. * @@ -1093,7 +1093,7 @@ PaletteMemorySharedVector BitmapDevice::getPalette() const return mpImpl->mpPalette; } -const sal_Int32 BitmapDevice::getPaletteEntryCount() const +sal_Int32 BitmapDevice::getPaletteEntryCount() const { return mpImpl->mpPalette ? mpImpl->mpPalette->size() : 0; } |