[Libreoffice-commits] .: Branch 'feature/gnumake2.1' - chart2/source sc/source

Norbert Thiebaud nthiebaud at kemper.freedesktop.org
Fri Jan 14 16:23:19 PST 2011


 chart2/source/controller/main/StatusBarCommandDispatch.cxx |    3 ---
 chart2/source/controller/main/UndoCommandDispatch.cxx      |    2 --
 sc/source/ui/miscdlgs/scuiautofmt.cxx                      |    3 ++-
 3 files changed, 2 insertions(+), 6 deletions(-)

New commits:
commit 204553f0aa48081f472f5e2677a1d353aec4bbef
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Wed Jan 12 09:11:04 2011 -0600

    deliver sfx2/sfxresid.hxx

diff --git a/chart2/source/controller/main/StatusBarCommandDispatch.cxx b/chart2/source/controller/main/StatusBarCommandDispatch.cxx
index e5e36b1..cf1a582 100644
--- a/chart2/source/controller/main/StatusBarCommandDispatch.cxx
+++ b/chart2/source/controller/main/StatusBarCommandDispatch.cxx
@@ -34,9 +34,6 @@
 #include "macros.hxx"
 #include <com/sun/star/util/XModifyBroadcaster.hpp>
 
-// for ressource strings STR_UNDO and STR_REDO
-#include <sfx2/sfx.hrc>
-
 #include "ResId.hxx"
 
 using namespace ::com::sun::star;
diff --git a/chart2/source/controller/main/UndoCommandDispatch.cxx b/chart2/source/controller/main/UndoCommandDispatch.cxx
index 7bd2825..1a9bcd6 100644
--- a/chart2/source/controller/main/UndoCommandDispatch.cxx
+++ b/chart2/source/controller/main/UndoCommandDispatch.cxx
@@ -38,8 +38,6 @@
 #include <osl/mutex.hxx>
 #include <vcl/svapp.hxx>
 
-// for ressource strings STR_UNDO and STR_REDO
-// for ressource strings STR_UNDO and STR_REDO
 #include <svtools/svtools.hrc>
 #include <svtools/svtdata.hxx>
 
diff --git a/sc/source/ui/miscdlgs/scuiautofmt.cxx b/sc/source/ui/miscdlgs/scuiautofmt.cxx
index 82e9863..c4fd6f7 100644
--- a/sc/source/ui/miscdlgs/scuiautofmt.cxx
+++ b/sc/source/ui/miscdlgs/scuiautofmt.cxx
@@ -50,6 +50,7 @@
 #include <svl/zforlist.hxx>
 #include <vcl/msgbox.hxx>
 #include <comphelper/processfactory.hxx>
+#include <sfx2/sfxresid.hxx>
 
 #include "sc.hrc"
 #include "scmod.hxx"
@@ -252,7 +253,7 @@ IMPL_LINK( ScAutoFormatDlg, AddHdl, void *, EMPTYARG )
 {
     if ( !bFmtInserted && pSelFmtData )
     {
-        String				aStrStandard( ScResId(STR_STANDARD) );
+        String				aStrStandard( SfxResId(STR_STANDARD) );
         String				aFormatName;
         ScStringInputDlg*	pDlg;
         BOOL				bOk = FALSE;


More information about the Libreoffice-commits mailing list