From dbb5a5a2f429b7d05a6e69ab17b0a3022a97ac64 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 28 Sep 2017 11:29:09 +0200 Subject: [PATCH] Replace fancy Unicode in exception message ...with something more prosaic and ASCII Change-Id: I4a927cec15abb7c00f39a6a298a13f192f34c631 --- reportdesign/source/core/api/FixedLine.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/reportdesign/source/core/api/FixedLine.cxx b/reportdesign/source/core/api/FixedLine.cxx index 3b79e32d785f..e9aea2c5a936 100644 --- a/reportdesign/source/core/api/FixedLine.cxx +++ b/reportdesign/source/core/api/FixedLine.cxx @@ -510,11 +510,10 @@ awt::Size SAL_CALL OFixedLine::getSize( ) void SAL_CALL OFixedLine::setSize( const awt::Size& aSize ) { - const OUString hundredthmm(u"0\u2009\u00B5m"); // 0, thin space, ยต (micro), m (meter) if ( aSize.Width < MIN_WIDTH && m_nOrientation == 1 ) - throw beans::PropertyVetoException("Too small width for FixedLine; minimum is " + OUString::number(MIN_WIDTH) + hundredthmm, static_cast(this)); + throw beans::PropertyVetoException("Too small width for FixedLine; minimum is " + OUString::number(MIN_WIDTH) + "0 micrometer", static_cast(this)); else if ( aSize.Height < MIN_HEIGHT && m_nOrientation == 0 ) - throw beans::PropertyVetoException("Too small height for FixedLine; minimum is " + OUString::number(MIN_HEIGHT) + hundredthmm, static_cast(this)); + throw beans::PropertyVetoException("Too small height for FixedLine; minimum is " + OUString::number(MIN_HEIGHT) + "0 micrometer", static_cast(this)); OShapeHelper::setSize(aSize,this); }