summaryrefslogtreecommitdiff
path: root/xmloff/source/style/XMLBitmapRepeatOffsetPropertyHandler.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2013-09-16 15:06:48 +0200
committerEike Rathke <erack@redhat.com>2013-09-16 15:08:18 +0200
commit0825d0cb76a84503d77d7e635947e1f4da7e299d (patch)
treef034eb235914b6d600c07d9b9f98744515f66674 /xmloff/source/style/XMLBitmapRepeatOffsetPropertyHandler.cxx
parentd6e9bb17675200e12777ed23d0c685fbd2bb4c59 (diff)
sal_Bool to bool
Change-Id: Id32780e5cb565e85f0366a91282ce085ed7d2f3c
Diffstat (limited to 'xmloff/source/style/XMLBitmapRepeatOffsetPropertyHandler.cxx')
-rw-r--r--xmloff/source/style/XMLBitmapRepeatOffsetPropertyHandler.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/xmloff/source/style/XMLBitmapRepeatOffsetPropertyHandler.cxx b/xmloff/source/style/XMLBitmapRepeatOffsetPropertyHandler.cxx
index 5dd665793559..0855c8a78a37 100644
--- a/xmloff/source/style/XMLBitmapRepeatOffsetPropertyHandler.cxx
+++ b/xmloff/source/style/XMLBitmapRepeatOffsetPropertyHandler.cxx
@@ -33,7 +33,7 @@ using ::xmloff::token::XML_VERTICAL;
using ::xmloff::token::XML_HORIZONTAL;
-XMLBitmapRepeatOffsetPropertyHandler::XMLBitmapRepeatOffsetPropertyHandler( sal_Bool bX )
+XMLBitmapRepeatOffsetPropertyHandler::XMLBitmapRepeatOffsetPropertyHandler( bool bX )
: mbX( bX ),
msVertical( GetXMLToken(XML_VERTICAL) ),
msHorizontal( GetXMLToken(XML_HORIZONTAL) )
@@ -44,7 +44,7 @@ XMLBitmapRepeatOffsetPropertyHandler::~XMLBitmapRepeatOffsetPropertyHandler()
{
}
-sal_Bool XMLBitmapRepeatOffsetPropertyHandler::importXML(
+bool XMLBitmapRepeatOffsetPropertyHandler::importXML(
const OUString& rStrImpValue,
Any& rValue,
const SvXMLUnitConverter& ) const
@@ -61,17 +61,17 @@ sal_Bool XMLBitmapRepeatOffsetPropertyHandler::importXML(
if( ( mbX && ( aToken == msHorizontal ) ) || ( !mbX && ( aToken == msVertical ) ) )
{
rValue <<= nValue;
- return sal_True;
+ return true;
}
}
}
}
- return sal_False;
+ return false;
}
-sal_Bool XMLBitmapRepeatOffsetPropertyHandler::exportXML(
+bool XMLBitmapRepeatOffsetPropertyHandler::exportXML(
OUString& rStrExpValue,
const Any& rValue,
const SvXMLUnitConverter& ) const
@@ -86,10 +86,10 @@ sal_Bool XMLBitmapRepeatOffsetPropertyHandler::exportXML(
aOut.append( mbX ? msHorizontal : msVertical );
rStrExpValue = aOut.makeStringAndClear();
- return sal_True;
+ return true;
}
- return sal_False;
+ return false;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */