Author: arielch
Date: Fri Apr 26 22:56:19 2013
New Revision: 1476438

URL: http://svn.apache.org/r1476438
Log:
Fix build breaker.

Modified:
    
openoffice/trunk/main/chart2/source/controller/chartapiwrapper/WrappedSeriesOrDiagramProperty.hxx
    
openoffice/trunk/main/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx

Modified: 
openoffice/trunk/main/chart2/source/controller/chartapiwrapper/WrappedSeriesOrDiagramProperty.hxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/chart2/source/controller/chartapiwrapper/WrappedSeriesOrDiagramProperty.hxx?rev=1476438&r1=1476437&r2=1476438&view=diff
==============================================================================
--- 
openoffice/trunk/main/chart2/source/controller/chartapiwrapper/WrappedSeriesOrDiagramProperty.hxx
 (original)
+++ 
openoffice/trunk/main/chart2/source/controller/chartapiwrapper/WrappedSeriesOrDiagramProperty.hxx
 Fri Apr 26 22:56:19 2013
@@ -44,6 +44,9 @@ enum tSeriesOrDiagramPropertyType
     DIAGRAM
 };
 
+extern bool operator!=( const ::com::sun::star::awt::Size & rSize1,
+                        const ::com::sun::star::awt::Size & rSize2 );
+
 //PROPERTYTYPE is the type of the outer property
 
 template< typename PROPERTYTYPE >

Modified: 
openoffice/trunk/main/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx
URL: 
http://svn.apache.org/viewvc/openoffice/trunk/main/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx?rev=1476438&r1=1476437&r2=1476438&view=diff
==============================================================================
--- 
openoffice/trunk/main/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx
 (original)
+++ 
openoffice/trunk/main/chart2/source/controller/chartapiwrapper/WrappedSymbolProperties.cxx
 Fri Apr 26 22:56:19 2013
@@ -94,6 +94,12 @@ 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:


Reply via email to