summaryrefslogtreecommitdiff
path: root/unotools/source/config/fontcfg.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-04-06 18:30:43 +0200
committerStephan Bergmann <sbergman@redhat.com>2017-04-06 18:30:43 +0200
commitcbb2f42ecc86b3fc327e976f5a1a591b40f40299 (patch)
tree54b2eae69c9d70f484ab41a9c672205857dcd2bd /unotools/source/config/fontcfg.cxx
parent643787f22eaf057ee7d0a4f49065834e11b92ce5 (diff)
Improved loplugin:redundantcast, static_cast on arithmetic types: unotools
Change-Id: I9717a519340f13c852e5e505a906dc15d765b9df
Diffstat (limited to 'unotools/source/config/fontcfg.cxx')
-rw-r--r--unotools/source/config/fontcfg.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/unotools/source/config/fontcfg.cxx b/unotools/source/config/fontcfg.cxx
index 495d082609d2..37356821911b 100644
--- a/unotools/source/config/fontcfg.cxx
+++ b/unotools/source/config/fontcfg.cxx
@@ -133,8 +133,8 @@ DefaultFontConfiguration::DefaultFontConfiguration()
m_xConfigProvider.clear();
m_xConfigAccess.clear();
}
- SAL_INFO("unotools.config", "config provider: " << static_cast<bool>(m_xConfigProvider.is())
- << ", config access: " << static_cast<bool>(m_xConfigAccess.is()));
+ SAL_INFO("unotools.config", "config provider: " << m_xConfigProvider.is()
+ << ", config access: " << m_xConfigAccess.is());
}
DefaultFontConfiguration::~DefaultFontConfiguration()
@@ -386,8 +386,8 @@ FontSubstConfiguration::FontSubstConfiguration() :
m_xConfigProvider.clear();
m_xConfigAccess.clear();
}
- SAL_INFO("unotools.config", "config provider: " << static_cast<bool>(m_xConfigProvider.is())
- << ", config access: " << static_cast<bool>(m_xConfigAccess.is()));
+ SAL_INFO("unotools.config", "config provider: " << m_xConfigProvider.is()
+ << ", config access: " << m_xConfigAccess.is());
}
/*