diff options
Diffstat (limited to 'forms/source/richtext/richtextengine.cxx')
-rw-r--r-- | forms/source/richtext/richtextengine.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/forms/source/richtext/richtextengine.cxx b/forms/source/richtext/richtextengine.cxx index 481c80ba4e91..13070c6d0094 100644 --- a/forms/source/richtext/richtextengine.cxx +++ b/forms/source/richtext/richtextengine.cxx @@ -49,7 +49,7 @@ namespace frm RichTextEngine* pReturn = new RichTextEngine( pPool ); OutputDevice* pOutputDevice = pReturn->GetRefDevice(); - MapMode aDeviceMapMode( pOutputDevice->GetMapMode() ); + const MapMode& aDeviceMapMode( pOutputDevice->GetMapMode() ); pReturn->SetStatusEventHdl( LINK( pReturn, RichTextEngine, EditEngineStatusChanged ) ); |