summaryrefslogtreecommitdiff
path: root/starmath/source/view.cxx
diff options
context:
space:
mode:
authorRohan Kumar <rohankanojia420@gmail.com>2016-03-17 12:03:50 +0530
committerStephan Bergmann <sbergman@redhat.com>2016-03-21 17:01:53 +0000
commit28aaa27438fb3a743792ce821ba1f523a5d9947f (patch)
tree2c36ac03b468cc484833a6c350616fdf96a3b96b /starmath/source/view.cxx
parent3d952e795a2101d2bfd2c0dcd6047049c38e6f54 (diff)
tdf#91794 remove OSL_DEBUG_LEVEL > 1 conditionals
I removed all the OSL_DEBUG_LEVEL > 1 conditionals and also made SAL_WARN open to production code which was earlier under OSL_DEBUG_LEVEL > 0 Change-Id: Ibe71defed9a7191ec8e4a934e746ef0f3ebd8b3a Reviewed-on: https://gerrit.libreoffice.org/23065 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'starmath/source/view.cxx')
-rw-r--r--starmath/source/view.cxx15
1 files changed, 0 insertions, 15 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index 39cad51bd1c0..f17f9768252c 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -143,9 +143,6 @@ void SmGraphicWindow::ApplyColorConfigValues(const svtools::ColorConfig &rColorC
{
// Note: SetTextColor not necessary since the nodes that
// get painted have the color information.
-#if OSL_DEBUG_LEVEL > 1
-// ColorData nVal = rColorCfg.GetColorValue(svtools::DOCCOLOR).nColor;
-#endif
SetBackground(Color(static_cast<ColorData>(rColorCfg.GetColorValue(svtools::DOCCOLOR).nColor)));
}
@@ -667,12 +664,6 @@ SmEditController::SmEditController(SmEditWindow &rSmEdit,
}
-#if OSL_DEBUG_LEVEL > 1
-SmEditController::~SmEditController()
-{
-}
-#endif
-
void SmEditController::StateChanged(sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState)
{
@@ -878,12 +869,6 @@ SmCmdBoxWrapper::SmCmdBoxWrapper(vcl::Window *pParentWindow, sal_uInt16 nId,
static_cast<SfxDockingWindow *>(GetWindow())->Initialize(pInfo);
}
-#if OSL_DEBUG_LEVEL > 1
-SmCmdBoxWrapper::~SmCmdBoxWrapper()
-{
-}
-#endif
-
struct SmViewShell_Impl
{
std::unique_ptr<sfx2::DocumentInserter> pDocInserter;