From 19ee72e6e8dcb95b6d22b1e98ef307d348f9b00a Mon Sep 17 00:00:00 2001 From: "bruce%cybersight.com" Date: Wed, 21 Apr 1999 12:11:11 +0000 Subject: [PATCH] Fix for Solaris CC build. git-svn-id: svn://10.0.0.236/trunk@28456 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/widget/src/gtk/nsSelectionMgr.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mozilla/widget/src/gtk/nsSelectionMgr.cpp b/mozilla/widget/src/gtk/nsSelectionMgr.cpp index 77c91840d8b..f629add3e93 100644 --- a/mozilla/widget/src/gtk/nsSelectionMgr.cpp +++ b/mozilla/widget/src/gtk/nsSelectionMgr.cpp @@ -140,6 +140,9 @@ nsresult NS_NewSelectionMgr(nsISelectionMgr** aInstancePtrResult) nsSelectionMgr* sm = new nsSelectionMgr; static nsIID iid = NS_ISELECTIONMGR_IID; return sm->QueryInterface(iid, (void**) aInstancePtrResult); +#else + // Need to return something here to not break the build on Solaris CC. + return NS_OK; #endif }