openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject svn commit: r1480980 - in /openoffice/trunk/main: sc/source/ui/sidebar/ sfx2/ sfx2/inc/sfx2/sidebar/
Date Fri, 10 May 2013 11:03:45 GMT
Author: af
Date: Fri May 10 11:03:45 2013
New Revision: 1480980

URL: http://svn.apache.org/r1480980
Log:
122047: Adding virutal destructors to interfaces to prevent problems with older compilers.

Modified:
    openoffice/trunk/main/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx
    openoffice/trunk/main/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx
    openoffice/trunk/main/sc/source/ui/sidebar/NumberFormatPropertyPanel.hxx
    openoffice/trunk/main/sfx2/Library_sfx.mk
    openoffice/trunk/main/sfx2/inc/sfx2/sidebar/IContextChangeReceiver.hxx
    openoffice/trunk/main/sfx2/inc/sfx2/sidebar/ILayoutableWindow.hxx
    openoffice/trunk/main/sfx2/inc/sfx2/sidebar/SidebarPanelBase.hxx

Modified: openoffice/trunk/main/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx?rev=1480980&r1=1480979&r2=1480980&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx (original)
+++ openoffice/trunk/main/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx Fri May 10 11:03:45
2013
@@ -22,7 +22,6 @@
 #ifndef SC_PROPERTYPANEL_ALIGNMENT_HXX
 #define SC_PROPERTYPANEL_ALIGNMENT_HXX
 
-#include <sfx2/sidebar/SidebarPanelBase.hxx>
 #include <sfx2/sidebar/ControllerItem.hxx>
 #include <sfx2/sidebar/IContextChangeReceiver.hxx>
 #include <vcl/fixed.hxx>

Modified: openoffice/trunk/main/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx?rev=1480980&r1=1480979&r2=1480980&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx (original)
+++ openoffice/trunk/main/sc/source/ui/sidebar/CellAppearancePropertyPanel.hxx Fri May 10
11:03:45 2013
@@ -22,7 +22,6 @@
 #ifndef SC_PROPERTYPANEL_APPEARANCE_HXX
 #define SC_PROPERTYPANEL_APPEARANCE_HXX
 
-#include <sfx2/sidebar/SidebarPanelBase.hxx>
 #include <sfx2/sidebar/ControllerItem.hxx>
 #include <sfx2/sidebar/IContextChangeReceiver.hxx>
 #include <boost/scoped_ptr.hpp>

Modified: openoffice/trunk/main/sc/source/ui/sidebar/NumberFormatPropertyPanel.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/sidebar/NumberFormatPropertyPanel.hxx?rev=1480980&r1=1480979&r2=1480980&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/sidebar/NumberFormatPropertyPanel.hxx (original)
+++ openoffice/trunk/main/sc/source/ui/sidebar/NumberFormatPropertyPanel.hxx Fri May 10 11:03:45
2013
@@ -22,7 +22,6 @@
 #ifndef SC_PROPERTYPANEL_NUMFORMAT_HXX
 #define SC_PROPERTYPANEL_NUMFORMAT_HXX
 
-#include <sfx2/sidebar/SidebarPanelBase.hxx>
 #include <sfx2/sidebar/ControllerItem.hxx>
 #include <sfx2/sidebar/IContextChangeReceiver.hxx>
 #include <boost/scoped_ptr.hpp>
@@ -97,6 +96,6 @@ private:
 
 } } // end of namespace ::sc::sidebar
 
-#endif SC_PROPERTYPANEL_NUMFORMAT_HXX
+#endif
 
 // eof

Modified: openoffice/trunk/main/sfx2/Library_sfx.mk
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sfx2/Library_sfx.mk?rev=1480980&r1=1480979&r2=1480980&view=diff
==============================================================================
--- openoffice/trunk/main/sfx2/Library_sfx.mk (original)
+++ openoffice/trunk/main/sfx2/Library_sfx.mk Fri May 10 11:03:45 2013
@@ -234,6 +234,8 @@ $(eval $(call gb_Library_add_exception_o
 	sfx2/source/sidebar/EnumContext \
 	sfx2/source/sidebar/FocusManager \
 	sfx2/source/sidebar/MenuButton \
+	sfx2/source/sidebar/IContextChangeReceiver \
+	sfx2/source/sidebar/ILayoutableWindow \
 	sfx2/source/sidebar/Paint \
 	sfx2/source/sidebar/Panel \
 	sfx2/source/sidebar/PanelDescriptor \

Modified: openoffice/trunk/main/sfx2/inc/sfx2/sidebar/IContextChangeReceiver.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sfx2/inc/sfx2/sidebar/IContextChangeReceiver.hxx?rev=1480980&r1=1480979&r2=1480980&view=diff
==============================================================================
--- openoffice/trunk/main/sfx2/inc/sfx2/sidebar/IContextChangeReceiver.hxx (original)
+++ openoffice/trunk/main/sfx2/inc/sfx2/sidebar/IContextChangeReceiver.hxx Fri May 10 11:03:45
2013
@@ -23,6 +23,7 @@
 #define SFX_SIDEBAR_CONTEXT_CHANGE_RECEIVER_INTERFACE_HXX
 
 #include "EnumContext.hxx"
+#include "sfx2/dllapi.h"
 
 
 namespace sfx2 { namespace sidebar {
@@ -31,8 +32,9 @@ namespace sfx2 { namespace sidebar {
 class SFX2_DLLPUBLIC IContextChangeReceiver
 {
 public:
-    virtual void HandleContextChange (
-        const EnumContext aContext) = 0;
+    virtual ~IContextChangeReceiver (void);
+
+    virtual void HandleContextChange (const EnumContext aContext) = 0;
 };
 
 } } // end of namespace ::sd::sidebar

Modified: openoffice/trunk/main/sfx2/inc/sfx2/sidebar/ILayoutableWindow.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sfx2/inc/sfx2/sidebar/ILayoutableWindow.hxx?rev=1480980&r1=1480979&r2=1480980&view=diff
==============================================================================
--- openoffice/trunk/main/sfx2/inc/sfx2/sidebar/ILayoutableWindow.hxx (original)
+++ openoffice/trunk/main/sfx2/inc/sfx2/sidebar/ILayoutableWindow.hxx Fri May 10 11:03:45
2013
@@ -22,6 +22,7 @@
 #ifndef SFX_SIDEBAR_LAYOUTABLE_WINDOW_INTERFACE_HXX
 #define SFX_SIDEBAR_LAYOUTABLE_WINDOW_INTERFACE_HXX
 
+#include "sfx2/dllapi.h"
 #include <tools/gen.hxx>
 #include <sal/types.h>
 
@@ -32,9 +33,11 @@ class Window;
 namespace sfx2 { namespace sidebar {
 
 
-class ILayoutableWindow
+class SFX2_DLLPUBLIC ILayoutableWindow
 {
 public:
+    virtual ~ILayoutableWindow (void);
+
     /** Return the preferred height with the constraint, that the
         window will be set to the given width.
     */

Modified: openoffice/trunk/main/sfx2/inc/sfx2/sidebar/SidebarPanelBase.hxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sfx2/inc/sfx2/sidebar/SidebarPanelBase.hxx?rev=1480980&r1=1480979&r2=1480980&view=diff
==============================================================================
--- openoffice/trunk/main/sfx2/inc/sfx2/sidebar/SidebarPanelBase.hxx (original)
+++ openoffice/trunk/main/sfx2/inc/sfx2/sidebar/SidebarPanelBase.hxx Fri May 10 11:03:45 2013
@@ -23,6 +23,7 @@
 #define SFX_SIDEBAR_PANEL_BASE_HXX
 
 #include "EnumContext.hxx"
+#include "IContextChangeReceiver.hxx"
 
 #include <cppuhelper/compbase4.hxx>
 #include <cppuhelper/basemutex.hxx>
@@ -67,7 +68,7 @@ public:
     static cssu::Reference<css::ui::XUIElement> Create (
         const ::rtl::OUString& rsResourceURL,
         const cssu::Reference<css::frame::XFrame>& rxFrame,
-        Window* mpWindow,
+        Window* pControl,
         const css::ui::LayoutSize& rLayoutSize);
 
     // XContextChangeEventListener



Mime
View raw message