summaryrefslogtreecommitdiff
path: root/vbahelper/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-07-18 13:47:34 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-07-18 15:36:16 +0100
commit243e9ab76107adc64693ba133d536942afe8712f (patch)
tree742f8cdfb263e3c4ef37e9a6e8b55adb15b15f50 /vbahelper/source
parent01c8962f281887db59e581906b89d027a994b52a (diff)
fix indent
Change-Id: I799d7a7989209e9fab03fbc79439b64e6c689499
Diffstat (limited to 'vbahelper/source')
-rw-r--r--vbahelper/source/vbahelper/vbahelper.cxx18
1 files changed, 7 insertions, 11 deletions
diff --git a/vbahelper/source/vbahelper/vbahelper.cxx b/vbahelper/source/vbahelper/vbahelper.cxx
index 78b071aad71d..738c503e3ec5 100644
--- a/vbahelper/source/vbahelper/vbahelper.cxx
+++ b/vbahelper/source/vbahelper/vbahelper.cxx
@@ -1012,11 +1012,10 @@ ShapeHelper::ShapeHelper( const css::uno::Reference< css::drawing::XShape >& _xS
double ShapeHelper::getHeight() const
{
- return Millimeter::getInPoints(xShape->getSize().Height);
- }
-
+ return Millimeter::getInPoints(xShape->getSize().Height);
+}
- void ShapeHelper::setHeight(double _fheight) throw ( css::script::BasicErrorException )
+void ShapeHelper::setHeight(double _fheight) throw ( css::script::BasicErrorException )
{
try
{
@@ -1027,12 +1026,13 @@ double ShapeHelper::getHeight() const
catch (const css::uno::Exception&)
{
throw css::script::BasicErrorException( OUString(), css::uno::Reference< css::uno::XInterface >(), SbERR_METHOD_FAILED, OUString() );
- }
+ }
}
+
double ShapeHelper::getWidth() const
{
return Millimeter::getInPoints(xShape->getSize().Width);
- }
+}
void ShapeHelper::setWidth(double _fWidth) throw ( css::script::BasicErrorException )
{
@@ -1048,13 +1048,11 @@ void ShapeHelper::setWidth(double _fWidth) throw ( css::script::BasicErrorExcept
}
}
-
double ShapeHelper::getLeft() const
{
return Millimeter::getInPoints(xShape->getPosition().X);
}
-
void ShapeHelper::setLeft(double _fLeft)
{
css::awt::Point aPoint = xShape->getPosition();
@@ -1062,13 +1060,11 @@ void ShapeHelper::setLeft(double _fLeft)
xShape->setPosition(aPoint);
}
-
double ShapeHelper::getTop() const
{
- return Millimeter::getInPoints(xShape->getPosition().Y);
+ return Millimeter::getInPoints(xShape->getPosition().Y);
}
-
void ShapeHelper::setTop(double _fTop)
{
css::awt::Point aPoint = xShape->getPosition();