diff options
author | Radek Doulik <rodo@novell.com> | 2011-02-09 16:02:42 +0100 |
---|---|---|
committer | Radek Doulik <rodo@novell.com> | 2011-02-09 16:07:09 +0100 |
commit | 8ccc0cab4f6ea4bafdd36b4baa2aa80203199652 (patch) | |
tree | 1b4f19011a4d6d9f7e4ad11a6f03a66d89a16b5a /vcl/source | |
parent | 34f2141ad4d865900459623b5b68983c45653643 (diff) |
GDIMetaFile::bUseCanvas related changes (prerequisite for fixing n#650049)
- add GetUseCanvas() for read access
- update bUseCanvas when playing on metafile
Diffstat (limited to 'vcl/source')
-rw-r--r-- | vcl/source/gdi/gdimtf.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/gdi/gdimtf.cxx b/vcl/source/gdi/gdimtf.cxx index 7c10fb46c647..66327466a57b 100644 --- a/vcl/source/gdi/gdimtf.cxx +++ b/vcl/source/gdi/gdimtf.cxx @@ -437,6 +437,8 @@ void GDIMetaFile::Play( GDIMetaFile& rMtf, ULONG nPos ) MetaAction* pAction = GetCurAction(); const ULONG nObjCount = Count(); + rMtf.UseCanvas( rMtf.GetUseCanvas() | bUseCanvas ); + if( nPos > nObjCount ) nPos = nObjCount; |