summaryrefslogtreecommitdiff
path: root/UnoControls
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-07-18 13:07:40 +0200
committerNoel Grandin <noel@peralex.com>2013-07-18 13:08:53 +0200
commita25778abd898fae829d3910798f32089e455984c (patch)
tree16f76f66b1177ed08a9754078ec387d41034404b /UnoControls
parenteb3c79c29d9a1963fca2f7c3a9d908dc175c480c (diff)
fix warning
"-Werror=unused-macros" was firing on non-debug builds, fix by inlining the relevant warning message macro. Change-Id: If2fba2410bf985ec51faaa94c61b2e224fc65328
Diffstat (limited to 'UnoControls')
-rw-r--r--UnoControls/source/controls/framecontrol.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/UnoControls/source/controls/framecontrol.cxx b/UnoControls/source/controls/framecontrol.cxx
index ae4556d23686..957a3339a3bc 100644
--- a/UnoControls/source/controls/framecontrol.cxx
+++ b/UnoControls/source/controls/framecontrol.cxx
@@ -51,7 +51,6 @@ namespace unocontrols{
#define PROPERTYNAME_LOADERARGUMENTS "LoaderArguments"
#define PROPERTYNAME_COMPONENTURL "ComponentURL"
#define PROPERTYNAME_FRAME "Frame"
-#define ERRORTEXT_VOSENSHURE "This is an invalid property handle."
#define PROPERTY_COUNT 3 // you must count the propertys
#define PROPERTYHANDLE_COMPONENTURL 0 // Id must be the index into the array
#define PROPERTYHANDLE_FRAME 1
@@ -370,7 +369,7 @@ void FrameControl::setFastPropertyValue_NoBroadcast( sal_Int32 nHan
case PROPERTYHANDLE_LOADERARGUMENTS : rValue >>= m_seqLoaderArguments ;
break ;
- default : OSL_ENSURE ( nHandle == -1, ERRORTEXT_VOSENSHURE ) ;
+ default : OSL_ENSURE ( nHandle == -1, "This is an invalid property handle." ) ;
}
}
@@ -394,7 +393,7 @@ void FrameControl::getFastPropertyValue( Any& rRet ,
case PROPERTYHANDLE_FRAME : rRet <<= m_xFrame ;
break ;
- default : OSL_ENSURE ( nHandle == -1, ERRORTEXT_VOSENSHURE ) ;
+ default : OSL_ENSURE ( nHandle == -1, "This is an invalid property handle." ) ;
}
}