summaryrefslogtreecommitdiff
path: root/vcl/inc/impbmp.hxx
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-10-31 15:26:51 +0200
committerTor Lillqvist <tml@collabora.com>2013-11-01 00:18:48 +0200
commitd7a4a5b26813c94398aa51c3e817e882aba299ba (patch)
tree4f43eb167740e390e6b7cca333b60bd8709eefd4 /vcl/inc/impbmp.hxx
parent86ecd9560fe5666cd8814f513b80de7c67d1cbce (diff)
The "source size" of a VCL bitmap is not used for anything
Thorsten thought it might have been used for to the handling of the "Original Size" functionality originally. That seems slightly broken currently in some use cases, and this change doesn't make it any worse. (To see the brokenness, play with resizing an image, reloading the document, and using "Original Size". With the right sequence of actions, LO seems to think that the "original size" is very small (1x1 pixel perhaps).) Change-Id: I4e0852d2b367def5bc40baf95aac273d59731eec
Diffstat (limited to 'vcl/inc/impbmp.hxx')
-rw-r--r--vcl/inc/impbmp.hxx13
1 files changed, 0 insertions, 13 deletions
diff --git a/vcl/inc/impbmp.hxx b/vcl/inc/impbmp.hxx
index fa48db174bf8..b29cabe6562a 100644
--- a/vcl/inc/impbmp.hxx
+++ b/vcl/inc/impbmp.hxx
@@ -43,7 +43,6 @@ private:
sal_uLong mnRefCount;
sal_uLong mnChecksum;
SalBitmap* mpSalBitmap;
- Size maSourceSize;
public:
@@ -63,8 +62,6 @@ public:
sal_Bool ImplCreate( const ImpBitmap& rImpBitmap, sal_uInt16 nNewBitCount );
Size ImplGetSize() const;
- Size ImplGetSourceSize() const;
- void ImplSetSourceSize( const Size&);
sal_uInt16 ImplGetBitCount() const;
BitmapBuffer* ImplAcquireBuffer( sal_Bool bReadOnly );
@@ -80,16 +77,6 @@ public:
inline sal_uLong ImplGetChecksum() const { return mnChecksum; }
};
-inline Size ImpBitmap::ImplGetSourceSize() const
-{
- return maSourceSize;
-}
-
-inline void ImpBitmap::ImplSetSourceSize( const Size& rSize)
-{
- maSourceSize = rSize;
-}
-
#endif // INCLUDED_VCL_INC_IMPBMP_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */