summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2012-11-29 22:42:52 +0100
committerLionel Elie Mamane <lionel@mamane.lu>2012-11-29 22:45:38 +0100
commit924f093676c0ac44edf80fb8dde456472db164db (patch)
tree0802193dfd73b9fbf66687cec13671e56cb997b7 /reportdesign
parent251dab0145e15a372ff0fe41ce9647e9df8e9ffd (diff)
clang says call is ambiguous
Change-Id: I29e510a922c262b294a94596db9c2deea271e811
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/core/api/FixedLine.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/source/core/api/FixedLine.cxx b/reportdesign/source/core/api/FixedLine.cxx
index 79e836de72be..12c29f8ed7be 100644
--- a/reportdesign/source/core/api/FixedLine.cxx
+++ b/reportdesign/source/core/api/FixedLine.cxx
@@ -517,9 +517,9 @@ void SAL_CALL OFixedLine::setSize( const awt::Size& aSize ) throw (beans::Proper
const char hundredthmmC[] = "0\xe2\x80\x89\xC2\xB5""m"; // in UTF-8: 0, thin space, ยต (micro), m (meter)
const rtl::OUString hundredthmm(hundredthmmC, sizeof(hundredthmmC)-1, RTL_TEXTENCODING_UTF8);
if ( aSize.Width < MIN_WIDTH && m_nOrientation == 1 )
- throw beans::PropertyVetoException("Too small width for FixedLine; minimum is " + rtl::OUString::valueOf(MIN_WIDTH) + hundredthmm, *this);
+ throw beans::PropertyVetoException("Too small width for FixedLine; minimum is " + rtl::OUString::valueOf(MIN_WIDTH, 10) + hundredthmm, *this);
else if ( aSize.Height < MIN_HEIGHT && m_nOrientation == 0 )
- throw beans::PropertyVetoException("Too small height for FixedLine; minimum is " + rtl::OUString::valueOf(MIN_HEIGHT) + hundredthmm, *this);
+ throw beans::PropertyVetoException("Too small height for FixedLine; minimum is " + rtl::OUString::valueOf(MIN_HEIGHT, 10) + hundredthmm, *this);
OShapeHelper::setSize(aSize,this);
}
// -----------------------------------------------------------------------------