[Libreoffice-commits] .: chart2/source

Stephan Bergmann sbergmann at kemper.freedesktop.org
Sun Oct 23 23:45:30 PDT 2011


 chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx |   17 ++++++----
 1 file changed, 11 insertions(+), 6 deletions(-)

New commits:
commit 8cff18bee2a560c682b5c54d8f68c8bf9d8a69a8
Author: Kristian Rietveld <kris at lanedo.com>
Date:   Sat Oct 22 09:39:12 2011 +0200

    Put neq-operator for awt::Size in correct namespace

diff --git a/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx b/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx
index f9062ba..aa156b2 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:


More information about the Libreoffice-commits mailing list