diff options
author | Adam Reichold <adam.reichold@t-online.de> | 2018-08-26 22:10:47 +0200 |
---|---|---|
committer | Albert Astals Cid <tsdgeos@yahoo.es> | 2018-10-05 09:46:33 +0000 |
commit | 101728e8a5089c01fc7bca950db0e8ae84d27b47 (patch) | |
tree | c6b284956b56d25396908f943f4350262f959783 /splash/SplashBitmap.cc | |
parent | e44e90b434434de5ea3b23d3a40ded7a5ad05b1c (diff) |
Remove GooList::append since the single element variant is std::vector::push_back and the list variant is used only once.
Diffstat (limited to 'splash/SplashBitmap.cc')
-rw-r--r-- | splash/SplashBitmap.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/splash/SplashBitmap.cc b/splash/SplashBitmap.cc index 84add457..8ae41ad0 100644 --- a/splash/SplashBitmap.cc +++ b/splash/SplashBitmap.cc @@ -129,7 +129,7 @@ SplashBitmap::SplashBitmap(int widthA, int heightA, int rowPadA, separationList = new GooList(); if (separationListA != nullptr) for (int i = 0; i < separationListA->getLength(); i++) - separationList->append(((GfxSeparationColorSpace *) separationListA->get(i))->copy()); + separationList->push_back(((GfxSeparationColorSpace *) separationListA->get(i))->copy()); } SplashBitmap *SplashBitmap::copy(SplashBitmap *src) { |