diff options
Diffstat (limited to 'include/svx/dlgctrl.hxx')
-rw-r--r-- | include/svx/dlgctrl.hxx | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/include/svx/dlgctrl.hxx b/include/svx/dlgctrl.hxx index a3c56cec39ec..d88d2e28e300 100644 --- a/include/svx/dlgctrl.hxx +++ b/include/svx/dlgctrl.hxx @@ -209,8 +209,8 @@ public: virtual void Fill( const XColorListRef &pTab ); - void Append( XColorEntry* pEntry, Bitmap* pBmp = NULL ); - void Modify( XColorEntry* pEntry, sal_uInt16 nPos, Bitmap* pBmp = NULL ); + void Append( const XColorEntry& rEntry ); + void Modify( const XColorEntry& rEntry, sal_uInt16 nPos ); }; /************************************************************************/ @@ -223,8 +223,8 @@ public: virtual void Fill( const XHatchListRef &pList ); - void Append( XHatchEntry* pEntry, Bitmap* pBmp = NULL ); - void Modify( XHatchEntry* pEntry, sal_uInt16 nPos, Bitmap* pBmp = NULL ); + void Append( const XHatchEntry& rEntry, const Bitmap& rBitmap ); + void Modify( const XHatchEntry& rEntry, sal_uInt16 nPos, const Bitmap& rBitmap ); }; /************************************************************************/ @@ -238,8 +238,8 @@ public: virtual void Fill( const XGradientListRef &pList ); - void Append( XGradientEntry* pEntry, Bitmap* pBmp = NULL ); - void Modify( XGradientEntry* pEntry, sal_uInt16 nPos, Bitmap* pBmp = NULL ); + void Append( const XGradientEntry& rEntry, const Bitmap& rBitmap ); + void Modify( const XGradientEntry& rEntry, sal_uInt16 nPos, const Bitmap& rBitmap ); void SelectEntryByList( const XGradientListRef &pList, const String& rStr, const XGradient& rXGradient, sal_uInt16 nDist = 0 ); }; @@ -253,8 +253,8 @@ public: virtual void Fill(const XBitmapListRef &pList); - void Append(const Size& rSize, const XBitmapEntry& rEntry, BitmapEx* pBmpEx = 0); - void Modify(const Size& rSize, const XBitmapEntry& rEntry, sal_uInt16 nPos, BitmapEx* pBmpEx = 0); + void Append(const Size& rSize, const XBitmapEntry& rEntry); + void Modify(const Size& rSize, const XBitmapEntry& rEntry, sal_uInt16 nPos); void SelectEntryByList(const XBitmapList* pList, const String& rStr); private: @@ -309,8 +309,8 @@ public: bool getAddStandardFields() const { return mbAddStandardFields; } void setAddStandardFields(bool bNew); - void Append(XDashEntry* pEntry, const Bitmap* pBmp = 0); - void Modify(XDashEntry* pEntry, sal_uInt16 nPos, const Bitmap* pBmp = 0); + void Append(const XDashEntry& rEntry, const Bitmap& rBitmap ); + void Modify(const XDashEntry& rEntry, sal_uInt16 nPos, const Bitmap& rBitmap ); void SelectEntryByList(const XDashList* pList, const String& rStr, const XDash& rDash, sal_uInt16 nDist = 0); }; @@ -324,12 +324,10 @@ public: LineEndLB( Window* pParent, WinBits aWB ); virtual ~LineEndLB (void); - virtual void Fill( const XLineEndListRef &pList, sal_Bool bStart = sal_True ); + virtual void Fill( const XLineEndListRef &pList, bool bStart = true ); - void Append( XLineEndEntry* pEntry, const Bitmap* pBmp = NULL, - sal_Bool bStart = sal_True ); - void Modify( XLineEndEntry* pEntry, sal_uInt16 nPos, const Bitmap* pBmp = NULL, - sal_Bool bStart = sal_True ); + void Append( const XLineEndEntry& rEntry, const Bitmap& rBitmap, bool bStart = true ); + void Modify( const XLineEndEntry& rEntry, sal_uInt16 nPos, const Bitmap& rBitmap, bool bStart = true ); }; ////////////////////////////////////////////////////////////////////////////// |