summaryrefslogtreecommitdiff
path: root/include/vcl/bitmap.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 /include/vcl/bitmap.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 'include/vcl/bitmap.hxx')
-rw-r--r--include/vcl/bitmap.hxx7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/vcl/bitmap.hxx b/include/vcl/bitmap.hxx
index e5e3d6165c3a..adf6b63785a8 100644
--- a/include/vcl/bitmap.hxx
+++ b/include/vcl/bitmap.hxx
@@ -394,13 +394,6 @@ public:
Size GetSizePixel() const;
- /**
- * The pixel size of a bitmap's source (e.g. an image file)
- * and the pixel size of its resulting bitmap can differ,
- * e.g. when the image reader has its preview mode enabled.
- */
- void SetSourceSizePixel( const Size& );
-
sal_uInt16 GetBitCount() const;
inline sal_uLong GetColorCount() const;
inline sal_uLong GetSizeBytes() const;