summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-09-12 11:48:34 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-09-12 11:48:34 +0200
commitb53b5081a85d7773cee8a718f84f31ecf7b70c0d (patch)
tree2db799b55d8b71ca289078a4ae4397ccfceac9a7 /framework
parent99690d31c703b2068fc5aa3dc1bc4256555e1d7a (diff)
framework: sal_Bool -> bool
Change-Id: Ie56d3fe674af048d7aea32f141c5825e4c2aa98b
Diffstat (limited to 'framework')
-rw-r--r--framework/inc/xml/toolboxdocumenthandler.hxx2
-rw-r--r--framework/source/fwe/xml/toolboxdocumenthandler.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/framework/inc/xml/toolboxdocumenthandler.hxx b/framework/inc/xml/toolboxdocumenthandler.hxx
index f1bb2c32226e..9e643fc041f4 100644
--- a/framework/inc/xml/toolboxdocumenthandler.hxx
+++ b/framework/inc/xml/toolboxdocumenthandler.hxx
@@ -163,7 +163,7 @@ class FWE_DLLPUBLIC OWriteToolBoxDocumentHandler
protected:
virtual void WriteToolBoxItem( const OUString& aCommandURL, const OUString& aLabel, const OUString& aHelpURL, const OUString& aTooltip, sal_Int16 nStyle,
- sal_Int16 nWidth, sal_Bool bVisible ) throw
+ sal_Int16 nWidth, bool bVisible ) throw
( ::com::sun::star::xml::sax::SAXException,
::com::sun::star::uno::RuntimeException );
diff --git a/framework/source/fwe/xml/toolboxdocumenthandler.cxx b/framework/source/fwe/xml/toolboxdocumenthandler.cxx
index 639d33948a7a..265581e11575 100644
--- a/framework/source/fwe/xml/toolboxdocumenthandler.cxx
+++ b/framework/source/fwe/xml/toolboxdocumenthandler.cxx
@@ -762,7 +762,7 @@ void OWriteToolBoxDocumentHandler::WriteToolBoxItem(
const OUString& rTooltip,
sal_Int16 nStyle,
sal_Int16 nWidth,
- sal_Bool bVisible )
+ bool bVisible )
throw ( SAXException, RuntimeException )
{
::comphelper::AttributeList* pList = new ::comphelper::AttributeList;
@@ -784,7 +784,7 @@ throw ( SAXException, RuntimeException )
rLabel );
}
- if ( bVisible == sal_False )
+ if ( !bVisible )
{
pList->AddAttribute( m_aXMLToolbarNS + OUString( ATTRIBUTE_VISIBLE ),
m_aAttributeType,