summaryrefslogtreecommitdiff
path: root/sdext/source/presenter/PresenterBitmapContainer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/presenter/PresenterBitmapContainer.cxx')
-rw-r--r--sdext/source/presenter/PresenterBitmapContainer.cxx12
1 files changed, 5 insertions, 7 deletions
diff --git a/sdext/source/presenter/PresenterBitmapContainer.cxx b/sdext/source/presenter/PresenterBitmapContainer.cxx
index 020d1d5c2ece..a2365592f6f7 100644
--- a/sdext/source/presenter/PresenterBitmapContainer.cxx
+++ b/sdext/source/presenter/PresenterBitmapContainer.cxx
@@ -334,15 +334,13 @@ PresenterBitmapContainer::BitmapDescriptor::BitmapDescriptor (
}
css::uno::Reference<css::rendering::XBitmap>
- PresenterBitmapContainer::BitmapDescriptor::GetNormalBitmap (void) const
+ PresenterBitmapContainer::BitmapDescriptor::GetNormalBitmap() const
{
return mxNormalBitmap;
}
css::uno::Reference<css::rendering::XBitmap>
- PresenterBitmapContainer::BitmapDescriptor::GetBitmap (
- const Mode eMode,
- const bool bMissingDefaultsToNormal) const
+ PresenterBitmapContainer::BitmapDescriptor::GetBitmap(const Mode eMode) const
{
switch (eMode)
{
@@ -353,19 +351,19 @@ css::uno::Reference<css::rendering::XBitmap>
case MouseOver:
if (mxMouseOverBitmap.is())
return mxMouseOverBitmap;
- else if (bMissingDefaultsToNormal)
+ else
return mxNormalBitmap;
case ButtonDown:
if (mxButtonDownBitmap.is())
return mxButtonDownBitmap;
- else if (bMissingDefaultsToNormal)
+ else
return mxNormalBitmap;
case Disabled:
if (mxDisabledBitmap.is())
return mxDisabledBitmap;
- else if (bMissingDefaultsToNormal)
+ else
return mxNormalBitmap;
case Mask: