[Libreoffice-commits] core.git: vcl/source
Chris Sherlock (via logerrit)
logerrit at kemper.freedesktop.org
Sun May 17 19:32:52 UTC 2020
vcl/source/gdi/print2.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 3913c7c18b9438e26f860a0079a6590418ced27b
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
AuthorDate: Tue May 12 22:18:21 2020 +1000
Commit: Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Sun May 17 21:32:10 2020 +0200
vcl: slide aCCList ccloser to where it is first used
Change-Id: Ic7799492a709c53324780d44040034a83ef854a3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/94344
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee at gmail.com>
diff --git a/vcl/source/gdi/print2.cxx b/vcl/source/gdi/print2.cxx
index d0ef866b2620..71a1f76071ac 100644
--- a/vcl/source/gdi/print2.cxx
+++ b/vcl/source/gdi/print2.cxx
@@ -796,8 +796,6 @@ bool OutputDevice::RemoveTransparenciesFromMetaFile( const GDIMetaFile& rInMtf,
aMapModeVDev->ClearStack(); // clean up aMapModeVDev
- ::std::vector<ConnectedComponents> aCCList; // contains distinct sets of connected components as elements.
-
// fast-forward until one after the last background action
// (need to reconstruct map mode vdev state)
int nActionNum=0;
@@ -817,6 +815,8 @@ bool OutputDevice::RemoveTransparenciesFromMetaFile( const GDIMetaFile& rInMtf,
// STAGE 2: Generate connected components list
+ ::std::vector<ConnectedComponents> aCCList; // contains distinct sets of connected components as elements.
+
// iterate over all actions (start where background action
// search left off)
for( ;
More information about the Libreoffice-commits
mailing list