bool improvements
Change-Id: Ia30628e093a885165b2d8a7b1a999c0dc7ee65cd
This commit is contained in:
@@ -78,10 +78,10 @@ namespace impl
|
||||
{
|
||||
|
||||
/// Constants for moving the series.
|
||||
enum EnumForward{
|
||||
MOVE_SERIES_FORWARD = true,
|
||||
MOVE_SERIES_BACKWARD = false
|
||||
};
|
||||
namespace {
|
||||
static bool const MOVE_SERIES_FORWARD = true;
|
||||
static bool const MOVE_SERIES_BACKWARD = false;
|
||||
}
|
||||
|
||||
/** Represents the current state of the controller (needed for issue 63017).
|
||||
|
||||
|
@@ -51,7 +51,7 @@ public:
|
||||
{
|
||||
m_aNumberFormatMap[tFullAxisIndex(nDimIndex,nAxisIndex)] = nFormatKey;
|
||||
}
|
||||
sal_Int32 hasFormat( sal_Int32 nDimIndex, sal_Int32 nAxisIndex ) const
|
||||
bool hasFormat( sal_Int32 nDimIndex, sal_Int32 nAxisIndex ) const
|
||||
{
|
||||
return (m_aNumberFormatMap.find(tFullAxisIndex(nDimIndex,nAxisIndex)) !=m_aNumberFormatMap.end());
|
||||
}
|
||||
|
Reference in New Issue
Block a user