summaryrefslogtreecommitdiff
path: root/chart2
diff options
context:
space:
mode:
authorKristian Rietveld <kris@lanedo.com>2011-10-22 09:39:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2011-10-24 08:45:24 +0200
commit8cff18bee2a560c682b5c54d8f68c8bf9d8a69a8 (patch)
treef879be65f61d74f6e9623e95aead84d621b7239d /chart2
parent302bb2c4003745f40b075baaf2c66941b0c7f897 (diff)
Put neq-operator for awt::Size in correct namespace
Diffstat (limited to 'chart2')
-rw-r--r--chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx17
1 files changed, 11 insertions, 6 deletions
diff --git a/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx
index f9062ba08f32..aa156b21b996 100644
--- a/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx
+++ b/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx
@@ -61,6 +61,17 @@ using ::com::sun::star::uno::Sequence;
using ::com::sun::star::beans::Property;
using ::rtl::OUString;
+
+namespace com { namespace sun { namespace star { namespace awt {
+
+// this operator is not defined by default
+bool operator!=( const awt::Size & rSize1, const awt::Size & rSize2 )
+{
+ return (rSize1.Width != rSize2.Width) || (rSize1.Height != rSize2.Height);
+}
+
+} } } }
+
//.............................................................................
namespace chart
{
@@ -97,12 +108,6 @@ public:
virtual ~WrappedSymbolBitmapURLProperty();
};
-// this operator is not defined by default
-bool operator!=( const awt::Size & rSize1, const awt::Size & rSize2 )
-{
- return (rSize1.Width != rSize2.Width) || (rSize1.Height != rSize2.Height);
-}
-
class WrappedSymbolSizeProperty : public WrappedSeriesOrDiagramProperty< awt::Size >
{
public: