diff options
Diffstat (limited to 'vcl/source/gdi/jobset.cxx')
-rw-r--r-- | vcl/source/gdi/jobset.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/gdi/jobset.cxx b/vcl/source/gdi/jobset.cxx index 07ddb8326647..df3f47cc043a 100644 --- a/vcl/source/gdi/jobset.cxx +++ b/vcl/source/gdi/jobset.cxx @@ -114,7 +114,7 @@ ImplJobSetup* JobSetup::ImplGetConstData() const ImplJobSetup* JobSetup::ImplGetConstData() const { if ( !mpData ) - ((JobSetup*)this)->mpData = new ImplJobSetup; + const_cast<JobSetup*>(this)->mpData = new ImplJobSetup; return mpData; } |