summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-08-25 15:30:49 +0200
committerNoel Grandin <noel@peralex.com>2016-08-29 09:23:46 +0200
commit529cfa4a16c79600f6ac09811d027134055a8c0c (patch)
tree72ed9385be640ebfb08b5299cfdf403b323fcd63 /include/vcl
parente2c309adf59e21b187e050a5fe17df91d7d57f8f (diff)
cid#1371170 Missing move assignment operator
Change-Id: Iaf02d5bd3090190b6b9ad15a884d3f0444983297
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/image.hxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/vcl/image.hxx b/include/vcl/image.hxx
index 697dacc30ccb..910bb0255fd4 100644
--- a/include/vcl/image.hxx
+++ b/include/vcl/image.hxx
@@ -82,6 +82,7 @@ public:
ImageList( const std::vector<OUString>& rNameVector,
const OUString& rPrefix);
ImageList( const ImageList& rImageList );
+ ImageList( ImageList&& rImageList );
~ImageList();
void InsertFromHorizontalStrip( const BitmapEx &rBitmapEx,
@@ -93,7 +94,7 @@ public:
const Color *pReplaceColors = nullptr,
sal_uLong nColorCount = 0);
BitmapEx GetAsHorizontalStrip() const;
- sal_uInt16 GetImageCount() const;
+ sal_uInt16 GetImageCount() const;
Size GetImageSize() const;
void AddImage( const OUString& rImageName, const Image& rImage );
@@ -105,16 +106,17 @@ public:
Image GetImage( sal_uInt16 nId ) const;
Image GetImage( const OUString& rImageName ) const;
- sal_uInt16 GetImagePos( sal_uInt16 nId ) const;
+ sal_uInt16 GetImagePos( sal_uInt16 nId ) const;
bool HasImageAtPos( sal_uInt16 nId ) const;
- sal_uInt16 GetImagePos( const OUString& rImageName ) const;
+ sal_uInt16 GetImagePos( const OUString& rImageName ) const;
- sal_uInt16 GetImageId( sal_uInt16 nPos ) const;
+ sal_uInt16 GetImageId( sal_uInt16 nPos ) const;
- OUString GetImageName( sal_uInt16 nPos ) const;
+ OUString GetImageName( sal_uInt16 nPos ) const;
void GetImageNames( ::std::vector< OUString >& rNames ) const;
ImageList& operator=( const ImageList& rImageList );
+ ImageList& operator=( ImageList&& rImageList );
bool operator==( const ImageList& rImageList ) const;
bool operator!=( const ImageList& rImageList ) const { return !(ImageList::operator==( rImageList )); }