summaryrefslogtreecommitdiff
path: root/svx/source/xoutdev/xattrbmp.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/xoutdev/xattrbmp.cxx')
-rw-r--r--svx/source/xoutdev/xattrbmp.cxx97
1 files changed, 6 insertions, 91 deletions
diff --git a/svx/source/xoutdev/xattrbmp.cxx b/svx/source/xoutdev/xattrbmp.cxx
index a075419bda..0a1f1cc7a0 100644
--- a/svx/source/xoutdev/xattrbmp.cxx
+++ b/svx/source/xoutdev/xattrbmp.cxx
@@ -1,3 +1,4 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@@ -60,10 +61,6 @@ using namespace ::com::sun::star;
|*
|* XOBitmap::XOBitmap()
|*
-|* Beschreibung
-|* Ersterstellung 27.07.95
-|* Letzte Aenderung 27.07.95
-|*
*************************************************************************/
XOBitmap::XOBitmap() :
@@ -78,10 +75,6 @@ XOBitmap::XOBitmap() :
|*
|* XOBitmap::XOBitmap( Bitmap aBitmap, XBitmapStyle eStyle = XBITMAP_TILE )
|*
-|* Beschreibung
-|* Ersterstellung 26.07.95
-|* Letzte Aenderung 26.07.95
-|*
*************************************************************************/
XOBitmap::XOBitmap( const Bitmap& rBmp, XBitmapStyle eInStyle ) :
@@ -97,10 +90,6 @@ XOBitmap::XOBitmap( const Bitmap& rBmp, XBitmapStyle eInStyle ) :
|*
|* XOBitmap::XOBitmap( Bitmap aBitmap, XBitmapStyle eStyle = XBITMAP_TILE )
|*
-|* Beschreibung
-|* Ersterstellung 26.07.95
-|* Letzte Aenderung 26.07.95
-|*
*************************************************************************/
XOBitmap::XOBitmap( const GraphicObject& rGraphicObject, XBitmapStyle eInStyle ) :
@@ -118,10 +107,6 @@ XOBitmap::XOBitmap( const GraphicObject& rGraphicObject, XBitmapStyle eInStyle )
|* const Color& aBckgrColor, const Size& rSize = Size( 8, 8 ),
|* XBitmapStyle eStyle = XBITMAP_TILE )
|*
-|* Beschreibung
-|* Ersterstellung 26.07.95
-|* Letzte Aenderung 26.07.95
-|*
*************************************************************************/
XOBitmap::XOBitmap( const USHORT* pArray, const Color& rPixelColor,
@@ -153,10 +138,6 @@ XOBitmap::XOBitmap( const USHORT* pArray, const Color& rPixelColor,
|*
|* XOBitmap::XOBitmap( const XOBitmap& rXBmp )
|*
-|* Beschreibung
-|* Ersterstellung 27.07.95
-|* Letzte Aenderung 27.07.95
-|*
*************************************************************************/
XOBitmap::XOBitmap( const XOBitmap& rXBmp ) :
@@ -186,10 +167,6 @@ XOBitmap::XOBitmap( const XOBitmap& rXBmp ) :
|*
|* XOBitmap::XOBitmap( Bitmap aBitmap, XBitmapStyle eStyle = XBITMAP_TILE )
|*
-|* Beschreibung
-|* Ersterstellung 26.07.95
-|* Letzte Aenderung 26.07.95
-|*
*************************************************************************/
XOBitmap::~XOBitmap()
@@ -202,10 +179,6 @@ XOBitmap::~XOBitmap()
|*
|* XOBitmap& XOBitmap::operator=( const XOBitmap& rXBmp )
|*
-|* Beschreibung
-|* Ersterstellung 27.07.95
-|* Letzte Aenderung 27.07.95
-|*
*************************************************************************/
XOBitmap& XOBitmap::operator=( const XOBitmap& rXBmp )
@@ -235,10 +208,6 @@ XOBitmap& XOBitmap::operator=( const XOBitmap& rXBmp )
|*
|* int XOBitmap::operator==( const XOBitmap& rXOBitmap ) const
|*
-|* Beschreibung
-|* Ersterstellung 26.07.95
-|* Letzte Aenderung 26.07.95
-|*
*************************************************************************/
int XOBitmap::operator==( const XOBitmap& rXOBitmap ) const
@@ -270,10 +239,6 @@ int XOBitmap::operator==( const XOBitmap& rXOBitmap ) const
|*
|* void SetPixelArray( const USHORT* pArray )
|*
-|* Beschreibung
-|* Ersterstellung 27.07.95
-|* Letzte Aenderung 27.07.95
-|*
*************************************************************************/
void XOBitmap::SetPixelArray( const USHORT* pArray )
@@ -300,10 +265,6 @@ void XOBitmap::SetPixelArray( const USHORT* pArray )
|*
|* Bitmap XOBitmap::GetBitmap()
|*
-|* Beschreibung
-|* Ersterstellung 26.07.95
-|* Letzte Aenderung 26.07.95
-|*
*************************************************************************/
Bitmap XOBitmap::GetBitmap() const
@@ -315,10 +276,6 @@ Bitmap XOBitmap::GetBitmap() const
|*
|* Bitmap XOBitmap::GetGraphicObject()
|*
-|* Beschreibung
-|* Ersterstellung
-|* Letzte Aenderung
-|*
*************************************************************************/
const GraphicObject& XOBitmap::GetGraphicObject() const
@@ -335,8 +292,6 @@ const GraphicObject& XOBitmap::GetGraphicObject() const
|*
|* Beschreibung Umwandlung der Bitmap in Array, Hinter- u.
|* Vordergrundfarbe
-|* Ersterstellung 27.07.95
-|* Letzte Aenderung 27.07.95
|*
*************************************************************************/
@@ -381,8 +336,6 @@ void XOBitmap::Bitmap2Array()
|*
|* Beschreibung Umwandlung des Arrays, Hinter- u.
|* Vordergrundfarbe in eine Bitmap
-|* Ersterstellung 27.07.95
-|* Letzte Aenderung 27.07.95
|*
*************************************************************************/
@@ -422,10 +375,6 @@ TYPEINIT1_AUTOFACTORY(XFillBitmapItem, NameOrIndex);
|* XFillBitmapItem::XFillBitmapItem(long nIndex,
|* const Bitmap& rTheBitmap)
|*
-|* Beschreibung
-|* Ersterstellung 17.11.94
-|* Letzte Aenderung 17.11.94
-|*
*************************************************************************/
XFillBitmapItem::XFillBitmapItem(long nIndex,
@@ -440,10 +389,6 @@ XFillBitmapItem::XFillBitmapItem(long nIndex,
|* XFillBitmapItem::XFillBitmapItem(const XubString& rName,
|* const Bitmap& rTheBitmap)
|*
-|* Beschreibung
-|* Ersterstellung 17.11.94
-|* Letzte Aenderung 17.11.94
-|*
*************************************************************************/
XFillBitmapItem::XFillBitmapItem(const XubString& rName,
@@ -457,10 +402,6 @@ XFillBitmapItem::XFillBitmapItem(const XubString& rName,
|*
|* XFillBitmapItem::XFillBitmapItem(const XFillBitmapItem& rItem)
|*
-|* Beschreibung
-|* Ersterstellung 17.11.94
-|* Letzte Aenderung 17.11.94
-|*
*************************************************************************/
XFillBitmapItem::XFillBitmapItem(const XFillBitmapItem& rItem) :
@@ -473,10 +414,6 @@ XFillBitmapItem::XFillBitmapItem(const XFillBitmapItem& rItem) :
|*
|* XFillBitmapItem::XFillBitmapItem(SvStream& rIn)
|*
-|* Beschreibung
-|* Ersterstellung 17.11.94
-|* Letzte Aenderung 26.07.94
-|*
*************************************************************************/
XFillBitmapItem::XFillBitmapItem( SvStream& rIn, USHORT nVer ) :
@@ -562,10 +499,6 @@ XFillBitmapItem::XFillBitmapItem( SfxItemPool* /*pPool*/)
|*
|* XFillBitmapItem::Clone(SfxItemPool* pPool) const
|*
-|* Beschreibung
-|* Ersterstellung 17.11.94
-|* Letzte Aenderung 17.11.94
-|*
*************************************************************************/
SfxPoolItem* XFillBitmapItem::Clone(SfxItemPool* /*pPool*/) const
@@ -577,10 +510,6 @@ SfxPoolItem* XFillBitmapItem::Clone(SfxItemPool* /*pPool*/) const
|*
|* int XFillBitmapItem::operator==(const SfxPoolItem& rItem) const
|*
-|* Beschreibung
-|* Ersterstellung 17.11.94
-|* Letzte Aenderung 26.07.95
-|*
*************************************************************************/
int XFillBitmapItem::operator==(const SfxPoolItem& rItem) const
@@ -593,10 +522,6 @@ int XFillBitmapItem::operator==(const SfxPoolItem& rItem) const
|*
|* SfxPoolItem* XFillBitmapItem::Create(SvStream& rIn, USHORT nVer) const
|*
-|* Beschreibung
-|* Ersterstellung 17.11.94
-|* Letzte Aenderung 17.11.94
-|*
*************************************************************************/
SfxPoolItem* XFillBitmapItem::Create(SvStream& rIn, USHORT nVer) const
@@ -608,10 +533,6 @@ SfxPoolItem* XFillBitmapItem::Create(SvStream& rIn, USHORT nVer) const
|*
|* SfxPoolItem* XFillBitmapItem::Store(SvStream& rOut) const
|*
-|* Beschreibung
-|* Ersterstellung 17.11.94
-|* Letzte Aenderung 26.07.94
-|*
*************************************************************************/
SvStream& XFillBitmapItem::Store( SvStream& rOut, USHORT nItemVersion ) const
@@ -659,10 +580,6 @@ SvStream& XFillBitmapItem::Store( SvStream& rOut, USHORT nItemVersion ) const
|*
|* const Bitmap& XFillBitmapItem::GetValue(const XBitmapTable* pTable) const
|*
-|* Beschreibung
-|* Ersterstellung 15.11.94
-|* Letzte Aenderung 26.07.94
-|*
*************************************************************************/
const XOBitmap& XFillBitmapItem::GetBitmapValue(const XBitmapTable* pTable) const // GetValue -> GetBitmapValue
@@ -678,10 +595,6 @@ const XOBitmap& XFillBitmapItem::GetBitmapValue(const XBitmapTable* pTable) cons
|*
|* USHORT XFillBitmapItem::GetVersion() const
|*
-|* Beschreibung
-|* Ersterstellung 26.07.95
-|* Letzte Aenderung 26.07.95
-|*
*************************************************************************/
USHORT XFillBitmapItem::GetVersion( USHORT /*nFileFormatVersion*/) const
@@ -716,7 +629,7 @@ SfxItemPresentation XFillBitmapItem::GetPresentation
//------------------------------------------------------------------------
-sal_Bool XFillBitmapItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMemberId ) const
+bool XFillBitmapItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMemberId ) const
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS;
@@ -777,12 +690,12 @@ sal_Bool XFillBitmapItem::QueryValue( ::com::sun::star::uno::Any& rVal, BYTE nMe
rVal <<= aPropSeq;
}
- return sal_True;
+ return true;
}
//------------------------------------------------------------------------
-sal_Bool XFillBitmapItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE nMemberId )
+bool XFillBitmapItem::PutValue( const ::com::sun::star::uno::Any& rVal, BYTE nMemberId )
{
// sal_Bool bConvert = 0!=(nMemberId&CONVERT_TWIPS);
nMemberId &= ~CONVERT_TWIPS;
@@ -892,3 +805,5 @@ XFillBitmapItem* XFillBitmapItem::checkForUniqueItem( SdrModel* pModel ) const
return (XFillBitmapItem*)this;
}
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */