summaryrefslogtreecommitdiff
path: root/filter/source/msfilter/mstoolbar.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'filter/source/msfilter/mstoolbar.cxx')
-rw-r--r--filter/source/msfilter/mstoolbar.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/msfilter/mstoolbar.cxx b/filter/source/msfilter/mstoolbar.cxx
index e0e45bbeb136..be74c017f0cf 100644
--- a/filter/source/msfilter/mstoolbar.cxx
+++ b/filter/source/msfilter/mstoolbar.cxx
@@ -62,7 +62,7 @@ void CustomToolBarImportHelper::applyIcons()
sal_uInt16 nColor = ui::ImageType::COLOR_NORMAL;
vcl::Window* topwin = Application::GetActiveTopWindow();
- if ( topwin != NULL && topwin->GetDisplayBackground().GetColor().IsDark() )
+ if ( topwin != nullptr && topwin->GetDisplayBackground().GetColor().IsDark() )
nColor = css::ui::ImageType::COLOR_HIGHCONTRAST;
ScaleImage( images[ 0 ], 16 );