summaryrefslogtreecommitdiff
path: root/accessibility/inc/accessibility
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-11-10 10:09:45 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-11-10 10:31:15 +0100
commit3fbe1c814da59a4ed722ee5777bec0c59eb57a25 (patch)
tree3dc31c1b7bc08976df85aec9339f97082b47b8c0 /accessibility/inc/accessibility
parentebc194c696e5c9b1acf320cfc582b4ab56c14900 (diff)
loplugin:nullptr (automatic rewrite)
Change-Id: I5e94b084c923fa5d9c925630669cf698b34f34ff
Diffstat (limited to 'accessibility/inc/accessibility')
-rw-r--r--accessibility/inc/accessibility/extended/textwindowaccessibility.hxx6
-rw-r--r--accessibility/inc/accessibility/standard/vclxaccessiblemenuitem.hxx2
-rw-r--r--accessibility/inc/accessibility/standard/vclxaccessiblemenuseparator.hxx2
-rw-r--r--accessibility/inc/accessibility/standard/vclxaccessibletoolboxitem.hxx2
4 files changed, 6 insertions, 6 deletions
diff --git a/accessibility/inc/accessibility/extended/textwindowaccessibility.hxx b/accessibility/inc/accessibility/extended/textwindowaccessibility.hxx
index beb49383b357..ab1e0890d44c 100644
--- a/accessibility/inc/accessibility/extended/textwindowaccessibility.hxx
+++ b/accessibility/inc/accessibility/extended/textwindowaccessibility.hxx
@@ -68,7 +68,7 @@ class SfxListenerGuard
{
public:
inline SfxListenerGuard(::SfxListener & rListener):
- m_rListener(rListener), m_pNotifier(0) {}
+ m_rListener(rListener), m_pNotifier(nullptr) {}
inline ~SfxListenerGuard() { endListening(); }
@@ -87,7 +87,7 @@ class WindowListenerGuard
{
public:
inline WindowListenerGuard(::Link<VclWindowEvent&,void> const & rListener):
- m_aListener(rListener), m_pNotifier(0) {}
+ m_aListener(rListener), m_pNotifier(nullptr) {}
inline ~WindowListenerGuard() { endListening(); }
@@ -539,7 +539,7 @@ public:
css::i18n::Boundary
retrieveParagraphLineBoundary( Paragraph const * pParagraph,
- ::sal_Int32 nIndex, ::sal_Int32 *pLineNo = NULL);
+ ::sal_Int32 nIndex, ::sal_Int32 *pLineNo = nullptr);
css::i18n::Boundary
retrieveParagraphBoundaryOfLine( Paragraph const * pParagraph,
diff --git a/accessibility/inc/accessibility/standard/vclxaccessiblemenuitem.hxx b/accessibility/inc/accessibility/standard/vclxaccessiblemenuitem.hxx
index cc44bb78d832..6411872fe062 100644
--- a/accessibility/inc/accessibility/standard/vclxaccessiblemenuitem.hxx
+++ b/accessibility/inc/accessibility/standard/vclxaccessiblemenuitem.hxx
@@ -57,7 +57,7 @@ protected:
virtual void implGetSelection( sal_Int32& nStartIndex, sal_Int32& nEndIndex ) override;
public:
- VCLXAccessibleMenuItem( Menu* pParent, sal_uInt16 nItemPos, Menu* pMenu = 0 );
+ VCLXAccessibleMenuItem( Menu* pParent, sal_uInt16 nItemPos, Menu* pMenu = nullptr );
virtual ~VCLXAccessibleMenuItem();
// XInterface
diff --git a/accessibility/inc/accessibility/standard/vclxaccessiblemenuseparator.hxx b/accessibility/inc/accessibility/standard/vclxaccessiblemenuseparator.hxx
index 93c35759a64a..6bba17d9250c 100644
--- a/accessibility/inc/accessibility/standard/vclxaccessiblemenuseparator.hxx
+++ b/accessibility/inc/accessibility/standard/vclxaccessiblemenuseparator.hxx
@@ -30,7 +30,7 @@
class VCLXAccessibleMenuSeparator : public OAccessibleMenuItemComponent
{
public:
- VCLXAccessibleMenuSeparator( Menu* pParent, sal_uInt16 nItemPos, Menu* pMenu = 0 );
+ VCLXAccessibleMenuSeparator( Menu* pParent, sal_uInt16 nItemPos, Menu* pMenu = nullptr );
virtual ~VCLXAccessibleMenuSeparator();
// XServiceInfo
diff --git a/accessibility/inc/accessibility/standard/vclxaccessibletoolboxitem.hxx b/accessibility/inc/accessibility/standard/vclxaccessibletoolboxitem.hxx
index 41baef1bbeea..105a76e55e84 100644
--- a/accessibility/inc/accessibility/standard/vclxaccessibletoolboxitem.hxx
+++ b/accessibility/inc/accessibility/standard/vclxaccessibletoolboxitem.hxx
@@ -84,7 +84,7 @@ public:
inline bool HasFocus() const { return m_bHasFocus; }
void SetChecked( bool _bCheck );
void SetIndeterminate( bool _bIndeterminate );
- inline void ReleaseToolBox() { m_pToolBox = NULL; }
+ inline void ReleaseToolBox() { m_pToolBox = nullptr; }
void NameChanged();
void SetChild( const css::uno::Reference< css::accessibility::XAccessible >& _xChild );
css::uno::Reference< css::accessibility::XAccessible >