summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2020-05-12 22:18:21 +1000
committerTomaž Vajngerl <quikee@gmail.com>2020-05-17 21:32:10 +0200
commit3913c7c18b9438e26f860a0079a6590418ced27b (patch)
tree7c263d90b883d711b46f2bf844a9049b0118e06e /vcl
parentd2aca9c946f5977779256e6a3c2a3a0e21a6ed08 (diff)
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@gmail.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/print2.cxx4
1 files changed, 2 insertions, 2 deletions
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( ;