summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-09-28 11:29:09 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-09-28 11:29:09 +0200
commitdbb5a5a2f429b7d05a6e69ab17b0a3022a97ac64 (patch)
treeeb51b40a2a95e2d93ff36d3fb6a18c7ef87cd7bf /reportdesign
parent4b2d0e511d4013847fb23e4346cda420a4ce6908 (diff)
Replace fancy Unicode in exception message
...with something more prosaic and ASCII Change-Id: I4a927cec15abb7c00f39a6a298a13f192f34c631
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/core/api/FixedLine.cxx5
1 files 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<cppu::OWeakObject*>(this));
+ throw beans::PropertyVetoException("Too small width for FixedLine; minimum is " + OUString::number(MIN_WIDTH) + "0 micrometer", static_cast<cppu::OWeakObject*>(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<cppu::OWeakObject*>(this));
+ throw beans::PropertyVetoException("Too small height for FixedLine; minimum is " + OUString::number(MIN_HEIGHT) + "0 micrometer", static_cast<cppu::OWeakObject*>(this));
OShapeHelper::setSize(aSize,this);
}