summaryrefslogtreecommitdiff
path: root/canvas/source
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2019-11-30 19:43:35 +0100
committerStephan Bergmann <sbergman@redhat.com>2019-12-01 13:58:16 +0100
commit62d2d59f5fdb0068226165aac62c093c8174a674 (patch)
tree56a650ee8754e68d6afb3dd22026d6e991d0d21a /canvas/source
parentf16312891d91ea078febeca13c20281632b79f66 (diff)
Rewrite uses of boost::optional, Windows redux
...like 47dd2c63f649828a833543e21d4eca5866ec9ebe "Rewrite uses of boost::optional" Change-Id: I95373e151201563dcc9eb796f15121bc81341bfd Reviewed-on: https://gerrit.libreoffice.org/84138 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'canvas/source')
-rw-r--r--canvas/source/directx/dx_config.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/canvas/source/directx/dx_config.cxx b/canvas/source/directx/dx_config.cxx
index f97f08b338a0..77fca04f65d9 100644
--- a/canvas/source/directx/dx_config.cxx
+++ b/canvas/source/directx/dx_config.cxx
@@ -78,7 +78,7 @@ namespace dxcanvas
aName[0] = "MaxTextureSize";
aProps = GetProperties( aName );
if( aProps.getLength() > 0 )
- maMaxTextureSize.reset( aProps[0].get<sal_Int32>() );
+ maMaxTextureSize = aProps[0].get<sal_Int32>();
else
maMaxTextureSize.reset();
}