summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/sdview.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-28 22:42:16 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-28 22:48:21 +0200
commitbc0849dee744069488a54fe029f7a174fdd87dee (patch)
tree3289915d589dcf62bf5274d6b71144182d17f33f /sd/source/ui/view/sdview.cxx
parentd798ee8f82dcbdada49ef0c745ff234d936bb3f6 (diff)
default initialization of object of const type w/o user-provided default ctor
...same as aef1826d9ca318a1359a2116e7f146e993413234, actually fallout from diverging behavior regarding DR 253 betwween GCC/libstdc++ and Clang, cf. thread starting at <https://gcc.gnu.org/ml/libstdc++/2015-04/msg00165.html> "std::__debug::vector default ctor must not be defaulted" Change-Id: I9189d472b57249857d64f7d807a0e08fc1758759
Diffstat (limited to 'sd/source/ui/view/sdview.cxx')
-rw-r--r--sd/source/ui/view/sdview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx
index e5925fa47318..522d3be21fb3 100644
--- a/sd/source/ui/view/sdview.cxx
+++ b/sd/source/ui/view/sdview.cxx
@@ -422,7 +422,7 @@ drawinglayer::primitive2d::Primitive2DSequence ViewRedirector::createRedirectedP
fPosX, fPosY));
// create DXTextArray (can be empty one)
- const ::std::vector< double > aDXArray;
+ const ::std::vector< double > aDXArray{};
// create locale; this may need some more information in the future
const ::com::sun::star::lang::Locale aLocale;