summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-04-14 15:41:13 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-04-14 15:41:27 +0200
commit141a87dd3caeefc7d098dbf4d1a6df2f0cb259c5 (patch)
treeba12e535c033bdfc5e6efa8d41cd83a97062328b /sc
parentfbf5599c071c6f3203f8992aba4560be9b3b5e42 (diff)
Clean up function declarations and some unused functions
Change-Id: If2c233a8ced8815b065a72caff907f10ef6166ff
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/appluno.hxx81
-rw-r--r--sc/inc/datastreamgettime.hxx33
-rw-r--r--sc/inc/filter.hxx2
-rw-r--r--sc/inc/scmod.hxx2
-rw-r--r--sc/source/core/data/column2.cxx5
-rw-r--r--sc/source/core/data/dpgroup.cxx2
-rw-r--r--sc/source/core/data/global.cxx5
-rw-r--r--sc/source/core/tool/callform.cxx15
-rw-r--r--sc/source/core/tool/compiler.cxx10
-rw-r--r--sc/source/core/tool/interpr7.cxx7
-rw-r--r--sc/source/core/tool/random.cxx2
-rw-r--r--sc/source/core/tool/scmatrix.cxx5
-rw-r--r--sc/source/filter/excel/xelink.cxx14
-rw-r--r--sc/source/filter/excel/xename.cxx5
-rw-r--r--sc/source/filter/excel/xestyle.cxx4
-rw-r--r--sc/source/filter/html/htmlpars.cxx4
-rw-r--r--sc/source/filter/inc/scmem.h4
-rw-r--r--sc/source/filter/lotus/lotus.cxx3
-rw-r--r--sc/source/filter/lotus/memory.cxx1
-rw-r--r--sc/source/filter/oox/drawingmanager.cxx21
-rw-r--r--sc/source/filter/oox/formulabuffer.cxx5
-rw-r--r--sc/source/filter/oox/formulaparser.cxx2
-rw-r--r--sc/source/filter/oox/workbookhelper.cxx1
-rw-r--r--sc/source/filter/oox/worksheethelper.cxx2
-rw-r--r--sc/source/filter/xml/XMLTrackedChangesContext.cxx18
-rw-r--r--sc/source/filter/xml/xmlcvali.cxx3
-rw-r--r--sc/source/filter/xml/xmlexprt.cxx3
-rw-r--r--sc/source/filter/xml/xmlimprt.cxx4
-rw-r--r--sc/source/filter/xml/xmlstyli.cxx1
-rw-r--r--sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx11
-rw-r--r--sc/source/ui/dbgui/PivotLayoutTreeList.cxx21
-rw-r--r--sc/source/ui/docshell/datastream.cxx3
-rw-r--r--sc/source/ui/undo/undoolk.cxx1
-rw-r--r--sc/source/ui/unoobj/appluno.cxx82
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx6
-rw-r--r--sc/source/ui/unoobj/unodoc.cxx1
-rw-r--r--sc/source/ui/vba/vbaborders.cxx2
-rw-r--r--sc/source/ui/vba/vbarange.cxx3
-rw-r--r--sc/source/ui/vba/vbawindows.cxx1
-rw-r--r--sc/source/ui/vba/vbaworkbooks.cxx68
-rw-r--r--sc/source/ui/view/drawvie3.cxx7
-rw-r--r--sc/source/ui/view/gridwin.cxx1
-rw-r--r--sc/source/ui/view/imapwrap.cxx1
-rw-r--r--sc/source/ui/view/imapwrap.hxx46
-rw-r--r--sc/source/ui/view/olkact.cxx1
-rw-r--r--sc/source/ui/view/olkact.hxx33
-rw-r--r--sc/source/ui/view/output2.cxx2
-rw-r--r--sc/source/ui/view/tabvwsh4.cxx6
-rw-r--r--sc/source/ui/view/tabvwsh9.cxx6
49 files changed, 236 insertions, 330 deletions
diff --git a/sc/inc/appluno.hxx b/sc/inc/appluno.hxx
index 3b23866c9158..1ed690a31c16 100644
--- a/sc/inc/appluno.hxx
+++ b/sc/inc/appluno.hxx
@@ -46,6 +46,87 @@ com::sun::star::uno::Reference<com::sun::star::uno::XInterface> SAL_CALL
const com::sun::star::uno::Reference<
com::sun::star::lang::XMultiServiceFactory>& rSMgr );
+// Calc document
+css::uno::Sequence< OUString > SAL_CALL ScDocument_getSupportedServiceNames() throw();
+OUString SAL_CALL ScDocument_getImplementationName() throw();
+css::uno::Reference< css::uno::XInterface > SAL_CALL ScDocument_createInstance(
+ const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr, const sal_uInt64 _nCreationFlags ) throw( css::uno::Exception );
+
+// Calc XML import
+css::uno::Sequence< OUString > SAL_CALL ScXMLImport_getSupportedServiceNames() throw();
+OUString SAL_CALL ScXMLImport_getImplementationName() throw();
+css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLImport_createInstance(
+ const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception );
+css::uno::Sequence< OUString > SAL_CALL ScXMLImport_Meta_getSupportedServiceNames() throw();
+OUString SAL_CALL ScXMLImport_Meta_getImplementationName() throw();
+css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLImport_Meta_createInstance(
+ const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception );
+css::uno::Sequence< OUString > SAL_CALL ScXMLImport_Styles_getSupportedServiceNames() throw();
+OUString SAL_CALL ScXMLImport_Styles_getImplementationName() throw();
+css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLImport_Styles_createInstance(
+ const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception );
+css::uno::Sequence< OUString > SAL_CALL ScXMLImport_Content_getSupportedServiceNames() throw();
+OUString SAL_CALL ScXMLImport_Content_getImplementationName() throw();
+css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLImport_Content_createInstance(
+ const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception );
+css::uno::Sequence< OUString > SAL_CALL ScXMLImport_Settings_getSupportedServiceNames() throw();
+OUString SAL_CALL ScXMLImport_Settings_getImplementationName() throw();
+css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLImport_Settings_createInstance(
+ const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw( css::uno::Exception );
+
+// Calc XML export
+css::uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_getSupportedServiceNames() throw();
+OUString SAL_CALL ScXMLOOoExport_getImplementationName() throw();
+css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLOOoExport_createInstance(
+ const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr )
+ throw (css::uno::Exception, std::exception);
+css::uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Meta_getSupportedServiceNames() throw();
+OUString SAL_CALL ScXMLOOoExport_Meta_getImplementationName() throw();
+css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLOOoExport_Meta_createInstance(
+ const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr )
+ throw (css::uno::Exception, std::exception);
+css::uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Styles_getSupportedServiceNames() throw();
+OUString SAL_CALL ScXMLOOoExport_Styles_getImplementationName() throw();
+css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLOOoExport_Styles_createInstance(
+ const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr )
+ throw (css::uno::Exception, std::exception);
+css::uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Content_getSupportedServiceNames() throw();
+OUString SAL_CALL ScXMLOOoExport_Content_getImplementationName() throw();
+css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLOOoExport_Content_createInstance(
+ const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr )
+ throw (css::uno::Exception, std::exception);
+css::uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Settings_getSupportedServiceNames() throw();
+OUString SAL_CALL ScXMLOOoExport_Settings_getImplementationName() throw();
+css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLOOoExport_Settings_createInstance(
+ const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr )
+ throw( css::uno::Exception, std::exception );
+
+// Calc XML Oasis export
+css::uno::Sequence< OUString > SAL_CALL ScXMLOasisExport_getSupportedServiceNames() throw();
+OUString SAL_CALL ScXMLOasisExport_getImplementationName() throw();
+css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLOasisExport_createInstance(
+ const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr )
+ throw (css::uno::Exception, std::exception);
+css::uno::Sequence< OUString > SAL_CALL ScXMLOasisExport_Meta_getSupportedServiceNames() throw();
+OUString SAL_CALL ScXMLOasisExport_Meta_getImplementationName() throw();
+css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLOasisExport_Meta_createInstance(
+ const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr )
+ throw (css::uno::Exception, std::exception);
+css::uno::Sequence< OUString > SAL_CALL ScXMLOasisExport_Styles_getSupportedServiceNames() throw();
+OUString SAL_CALL ScXMLOasisExport_Styles_getImplementationName() throw();
+css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLOasisExport_Styles_createInstance(
+ const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr )
+ throw( css::uno::Exception, std::exception );
+css::uno::Sequence< OUString > SAL_CALL ScXMLOasisExport_Content_getSupportedServiceNames() throw();
+OUString SAL_CALL ScXMLOasisExport_Content_getImplementationName() throw();
+css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLOasisExport_Content_createInstance(
+ const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr )
+ throw (css::uno::Exception, std::exception);
+css::uno::Sequence< OUString > SAL_CALL ScXMLOasisExport_Settings_getSupportedServiceNames() throw();
+OUString SAL_CALL ScXMLOasisExport_Settings_getImplementationName() throw();
+css::uno::Reference< css::uno::XInterface > SAL_CALL ScXMLOasisExport_Settings_createInstance(
+ const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr )
+ throw (css::uno::Exception, std::exception);
class ScSpreadsheetSettings : public cppu::WeakImplHelper3<
com::sun::star::sheet::XGlobalSheetSettings,
diff --git a/sc/inc/datastreamgettime.hxx b/sc/inc/datastreamgettime.hxx
new file mode 100644
index 000000000000..6c39727fff97
--- /dev/null
+++ b/sc/inc/datastreamgettime.hxx
@@ -0,0 +1,33 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef INCLUDED_SC_INC_DATASTREAMGETTIME_HXX
+#define INCLUDED_SC_INC_DATASTREAMGETTIME_HXX
+
+#include <sal/config.h>
+
+namespace sc {
+
+double datastream_get_time(int nIdx);
+
+}
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/filter.hxx b/sc/inc/filter.hxx
index e10dc6329d46..e2fa299e565c 100644
--- a/sc/inc/filter.hxx
+++ b/sc/inc/filter.hxx
@@ -130,6 +130,8 @@ class ScFormatFilter {
SC_DLLPUBLIC static ScFormatFilterPlugin &Get();
};
+FltError ScImportLotus123old( SvStream&, ScDocument*, rtl_TextEncoding eSrc );
+
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/inc/scmod.hxx b/sc/inc/scmod.hxx
index 04098a1fc074..dde6945212ac 100644
--- a/sc/inc/scmod.hxx
+++ b/sc/inc/scmod.hxx
@@ -260,6 +260,8 @@ SC_DLLPUBLIC void SetAppOptions ( const ScAppOptions& rO
#define SC_MOD() ( *(ScModule**) GetAppData(SHL_CALC) )
+void global_InitAppOptions();
+
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/core/data/column2.cxx b/sc/source/core/data/column2.cxx
index aea1277b29a3..a899ea9d8bd6 100644
--- a/sc/source/core/data/column2.cxx
+++ b/sc/source/core/data/column2.cxx
@@ -2500,11 +2500,6 @@ copyFirstFormulaBlock(
return rCxt.setCachedColArray(nTab, nCol, pNumArray, pStrArray);
}
-struct FiniteValueFinder : std::unary_function<double, bool>
-{
- bool operator() (double f) const { return !rtl::math::isNan(f); }
-};
-
struct NonNullStringFinder : std::unary_function<const rtl_uString*, bool>
{
bool operator() (const rtl_uString* p) const { return p != NULL; }
diff --git a/sc/source/core/data/dpgroup.cxx b/sc/source/core/data/dpgroup.cxx
index f39b425dcf25..6459b72a4559 100644
--- a/sc/source/core/data/dpgroup.cxx
+++ b/sc/source/core/data/dpgroup.cxx
@@ -119,8 +119,6 @@ public:
virtual std::vector<ScDPItemData> getMatchValues() const SAL_OVERRIDE;
private:
- ScDPGroupDateFilter(); // disabled
-
std::vector<ScDPItemData> maValues;
Date maNullDate;
ScDPNumGroupInfo maNumInfo;
diff --git a/sc/source/core/data/global.cxx b/sc/source/core/data/global.cxx
index b1f833aeea92..d3b2bd173f23 100644
--- a/sc/source/core/data/global.cxx
+++ b/sc/source/core/data/global.cxx
@@ -135,11 +135,6 @@ SfxViewShell* pScActiveViewShell = NULL; //! als Member !!!!!
sal_uInt16 nScClickMouseModifier = 0; //! dito
sal_uInt16 nScFillModeMouseModifier = 0; //! dito
-// Hack: ScGlobal::GetUserList() muss InitAppOptions in der UI aufrufen,
-// damit UserList aus Cfg geladen wird
-
-void global_InitAppOptions();
-
// statische Funktionen
bool ScGlobal::HasAttrChanged( const SfxItemSet& rNewAttrs,
diff --git a/sc/source/core/tool/callform.cxx b/sc/source/core/tool/callform.cxx
index e9e7e6cb15a3..a4e6076e1731 100644
--- a/sc/source/core/tool/callform.cxx
+++ b/sc/source/core/tool/callform.cxx
@@ -17,6 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
+#include <boost/noncopyable.hpp>
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <osl/module.hxx>
@@ -74,26 +77,17 @@ typedef void (CALLTYPE* FARPROC) ( void );
#define UNADVICE "Unadvice"
#endif
-class ModuleData
+class ModuleData: private boost::noncopyable
{
friend class ModuleCollection;
OUString aName;
osl::Module* pInstance;
public:
ModuleData(const OUString& rStr, osl::Module* pInst) : aName(rStr), pInstance(pInst) {}
- ModuleData(const ModuleData& rData) : aName(rData.aName)
- {
-#ifndef DISABLE_DYNLOADING
- pInstance = new osl::Module(aName);
-#else
- pInstance = NULL;
-#endif
- }
~ModuleData() { delete pInstance; }
const OUString& GetName() const { return aName; }
osl::Module* GetInstance() const { return pInstance; }
- void FreeInstance() { delete pInstance; pInstance = 0; }
};
FuncData::FuncData(const ModuleData*pModule,
@@ -134,7 +128,6 @@ class ModuleCollection
MapType maData;
public:
ModuleCollection() {}
- ModuleCollection(const ModuleCollection& r) : maData(r.maData) {}
const ModuleData* findByName(const OUString& rName) const;
void insert(ModuleData* pNew);
diff --git a/sc/source/core/tool/compiler.cxx b/sc/source/core/tool/compiler.cxx
index 5d13c4914195..aee961e04efb 100644
--- a/sc/source/core/tool/compiler.cxx
+++ b/sc/source/core/tool/compiler.cxx
@@ -94,16 +94,6 @@ static const sal_Char* pInternal[2] = { "TTT", "__DEBUG_VAR" };
using namespace ::com::sun::star::i18n;
-class ScCompilerRecursionGuard
-{
-private:
- short& rRecursion;
-public:
- ScCompilerRecursionGuard( short& rRec )
- : rRecursion( rRec ) { ++rRecursion; }
- ~ScCompilerRecursionGuard() { --rRecursion; }
-};
-
void ScCompiler::fillFromAddInMap( NonConstOpCodeMapPtr xMap,FormulaGrammar::Grammar _eGrammar ) const
{
size_t nSymbolOffset;
diff --git a/sc/source/core/tool/interpr7.cxx b/sc/source/core/tool/interpr7.cxx
index 5a266f2d6084..c249a5580fc8 100644
--- a/sc/source/core/tool/interpr7.cxx
+++ b/sc/source/core/tool/interpr7.cxx
@@ -17,6 +17,7 @@
#include <com/sun/star/io/XInputStream.hpp>
#include "libxml/xpath.h"
+#include <datastreamgettime.hxx>
#include <dpobject.hxx>
#include <document.hxx>
@@ -25,12 +26,6 @@
using namespace com::sun::star;
-namespace sc
-{
- // punch through into the datastream impl.
- extern double datastream_get_time( int nIdx );
-}
-
// TODO: Add new methods for ScInterpreter here.
void ScInterpreter::ScFilterXML()
diff --git a/sc/source/core/tool/random.cxx b/sc/source/core/tool/random.cxx
index 5033582f542a..5affe374828e 100644
--- a/sc/source/core/tool/random.cxx
+++ b/sc/source/core/tool/random.cxx
@@ -12,6 +12,8 @@
#include <boost/random.hpp>
+#include <random.hxx>
+
// this is nothing but a simple wrapper around
// the boost random generators
diff --git a/sc/source/core/tool/scmatrix.cxx b/sc/source/core/tool/scmatrix.cxx
index a59bb9df1b35..e926e4bd7264 100644
--- a/sc/source/core/tool/scmatrix.cxx
+++ b/sc/source/core/tool/scmatrix.cxx
@@ -25,6 +25,7 @@
#include "mtvelements.hxx"
#include "compare.hxx"
+#include <boost/noncopyable.hpp>
#include <svl/zforlist.hxx>
#include "svl/sharedstring.hxx"
#include <tools/stream.hxx>
@@ -188,15 +189,13 @@ _Comp CompareMatrixElemFunc<_Comp>::maComp;
}
-class ScMatrixImpl
+class ScMatrixImpl: private boost::noncopyable
{
MatrixImplType maMat;
MatrixImplType maMatFlag;
ScInterpreter* pErrorInterpreter;
bool mbCloneIfConst; // Whether the matrix is cloned with a CloneIfConst() call.
- ScMatrixImpl();
- ScMatrixImpl(const ScMatrixImpl&);
public:
ScMatrixImpl(SCSIZE nC, SCSIZE nR);
ScMatrixImpl(SCSIZE nC, SCSIZE nR, double fInitVal);
diff --git a/sc/source/filter/excel/xelink.cxx b/sc/source/filter/excel/xelink.cxx
index 1e431a480288..944a0723cf9b 100644
--- a/sc/source/filter/excel/xelink.cxx
+++ b/sc/source/filter/excel/xelink.cxx
@@ -820,11 +820,13 @@ void XclExpTabInfo::CalcXclIndexes()
typedef ::std::pair< OUString, SCTAB > XclExpTabName;
typedef ::std::vector< XclExpTabName > XclExpTabNameVec;
-inline bool operator<( const XclExpTabName& rArg1, const XclExpTabName& rArg2 )
-{
- // compare the sheet names only
- return ScGlobal::GetCollator()->compareString( rArg1.first, rArg2.first ) < 0;
-}
+struct XclExpTabNameSort {
+ bool operator ()( const XclExpTabName& rArg1, const XclExpTabName& rArg2 )
+ {
+ // compare the sheet names only
+ return ScGlobal::GetCollator()->compareString( rArg1.first, rArg2.first ) < 0;
+ }
+};
void XclExpTabInfo::CalcSortedIndexes()
{
@@ -838,7 +840,7 @@ void XclExpTabInfo::CalcSortedIndexes()
rDoc.GetName( nScTab, aVec[ nScTab ].first );
aVec[ nScTab ].second = nScTab;
}
- ::std::sort( aVec.begin(), aVec.end() );
+ ::std::sort( aVec.begin(), aVec.end(), XclExpTabNameSort() );
// fill index vectors from sorted sheet name vector
maFromSortedVec.resize( mnScCnt );
diff --git a/sc/source/filter/excel/xename.cxx b/sc/source/filter/excel/xename.cxx
index f62ee680c587..ec3916d311fa 100644
--- a/sc/source/filter/excel/xename.cxx
+++ b/sc/source/filter/excel/xename.cxx
@@ -63,8 +63,6 @@ public:
/** Sets the name's symbol value
@param sValue the name's symbolic value */
void SetSymbol( const OUString& rValue );
- /** Returns the name's symbol value */
- inline const OUString& GetSymbol() const { return msSymbol; }
/** Returns the original name (title) of this defined name. */
inline const OUString& GetOrigName() const { return maOrigName; }
@@ -172,9 +170,6 @@ private:
/** Creates a new NAME record for the passed user-defined name.
@return The 1-based NAME record index used elsewhere in the Excel file. */
sal_uInt16 CreateName( SCTAB nTab, const ScRangeData& rRangeData );
- /** Creates a new NAME record for the passed database range.
- @return The 1-based NAME record index used elsewhere in the Excel file. */
- sal_uInt16 CreateName( const ScDBData& rDBData );
/** Creates NAME records for all built-in names in the document. */
void CreateBuiltInNames();
diff --git a/sc/source/filter/excel/xestyle.cxx b/sc/source/filter/excel/xestyle.cxx
index 736554041de5..848d2c2ac357 100644
--- a/sc/source/filter/excel/xestyle.cxx
+++ b/sc/source/filter/excel/xestyle.cxx
@@ -251,10 +251,6 @@ public:
/** Returns the RGB color data for a (non-zero-based) Excel palette entry.
@return The color from current or default palette or COL_AUTO, if nothing else found. */
ColorData GetColorData( sal_uInt16 nXclIndex ) const;
- /** Returns the color for a (non-zero-based) Excel palette entry.
- @return The color from current or default palette or COL_AUTO, if nothing else found. */
- inline Color GetColor( sal_uInt16 nXclIndex ) const
- { return Color( GetColorData( nXclIndex ) ); }
/** Returns true, if all colors of the palette are equal to default palette colors. */
bool IsDefaultPalette() const;
diff --git a/sc/source/filter/html/htmlpars.cxx b/sc/source/filter/html/htmlpars.cxx
index 0789782f421d..e4b733fb7e9d 100644
--- a/sc/source/filter/html/htmlpars.cxx
+++ b/sc/source/filter/html/htmlpars.cxx
@@ -1845,11 +1845,8 @@ public:
explicit ScHTMLTableMap( ScHTMLTable& rParentTable );
virtual ~ScHTMLTableMap();
- inline iterator begin() { return maTables.begin(); }
inline const_iterator begin() const { return maTables.begin(); }
- inline iterator end() { return maTables.end(); }
inline const_iterator end() const { return maTables.end(); }
- inline bool empty() const { return maTables.empty(); }
/** Returns the specified table.
@param nTableId Unique identifier of the table.
@@ -1920,7 +1917,6 @@ public:
inline bool is() const { return mpTableMap && maIter != maEnd; }
inline ScHTMLTable* operator->() { return maIter->second.get(); }
- inline ScHTMLTable& operator*() { return *maIter->second; }
inline ScHTMLTableIterator& operator++() { ++maIter; return *this; }
private:
diff --git a/sc/source/filter/inc/scmem.h b/sc/source/filter/inc/scmem.h
index 1fd91fe87e14..805add40e874 100644
--- a/sc/source/filter/inc/scmem.h
+++ b/sc/source/filter/inc/scmem.h
@@ -20,6 +20,10 @@
#ifndef SC_SCMEM_H
#define SC_SCMEM_H
+#include <sal/config.h>
+
+#include <sal/types.h>
+
sal_Bool MemNew( void );
void MemDelete( void );
diff --git a/sc/source/filter/lotus/lotus.cxx b/sc/source/filter/lotus/lotus.cxx
index 5316a7f9088d..c7cc4d0ce906 100644
--- a/sc/source/filter/lotus/lotus.cxx
+++ b/sc/source/filter/lotus/lotus.cxx
@@ -27,9 +27,6 @@
#include "filtopt.hxx"
#include "ftools.hxx"
-extern FltError ScImportLotus123old( SvStream&, ScDocument*, rtl_TextEncoding eSrc );
- // alter Krempel in filter.cxx!
-
FltError ScFormatFilterPluginImpl::ScImportLotus123( SfxMedium& rMedium, ScDocument* pDocument, rtl_TextEncoding eSrc )
{
ScFilterOptions aFilterOpt;
diff --git a/sc/source/filter/lotus/memory.cxx b/sc/source/filter/lotus/memory.cxx
index dc2cf168ef2b..33b4858781b2 100644
--- a/sc/source/filter/lotus/memory.cxx
+++ b/sc/source/filter/lotus/memory.cxx
@@ -22,6 +22,7 @@
#include "scitems.hxx"
+#include "scmem.h"
#include <svx/algitem.hxx>
#include <editeng/justifyitem.hxx>
diff --git a/sc/source/filter/oox/drawingmanager.cxx b/sc/source/filter/oox/drawingmanager.cxx
index 6b7cef62ff35..6c25e3f332a1 100644
--- a/sc/source/filter/oox/drawingmanager.cxx
+++ b/sc/source/filter/oox/drawingmanager.cxx
@@ -68,8 +68,6 @@ const sal_uInt8 BIFF_OBJ_LINE_THIN = 1;
const sal_uInt8 BIFF_OBJ_LINE_MEDIUM = 2;
const sal_uInt8 BIFF_OBJ_LINE_THICK = 3;
-const sal_uInt8 BIFF_OBJ_LINE_AUTO = 0x01;
-
const sal_uInt8 BIFF_OBJ_ARROW_OPEN = 1;
const sal_uInt8 BIFF_OBJ_ARROW_FILLED = 2;
const sal_uInt8 BIFF_OBJ_ARROW_OPENBOTH = 3;
@@ -86,8 +84,6 @@ const sal_uInt8 BIFF_OBJ_FILL_AUTOCOLOR = 65;
const sal_uInt8 BIFF_OBJ_PATT_NONE = 0;
const sal_uInt8 BIFF_OBJ_PATT_SOLID = 1;
-const sal_uInt8 BIFF_OBJ_FILL_AUTO = 0x01;
-
} // namespace
@@ -102,14 +98,6 @@ BiffObjLineModel::BiffObjLineModel() :
{
}
-BiffInputStream& operator>>( BiffInputStream& rStrm, BiffObjLineModel& rModel )
-{
- sal_uInt8 nFlags;
- rStrm >> rModel.mnColorIdx >> rModel.mnStyle >> rModel.mnWidth >> nFlags;
- rModel.mbAuto = getFlag( nFlags, BIFF_OBJ_LINE_AUTO );
- return rStrm;
-}
-
BiffObjFillModel::BiffObjFillModel() :
mnBackColorIdx( BIFF_OBJ_LINE_AUTOCOLOR ),
mnPattColorIdx( BIFF_OBJ_FILL_AUTOCOLOR ),
@@ -118,15 +106,6 @@ BiffObjFillModel::BiffObjFillModel() :
{
}
-BiffInputStream& operator>>( BiffInputStream& rStrm, BiffObjFillModel& rModel )
-{
- sal_uInt8 nFlags;
- rStrm >> rModel.mnBackColorIdx >> rModel.mnPattColorIdx >> rModel.mnPattern >> nFlags;
- rModel.mbAuto = getFlag( nFlags, BIFF_OBJ_FILL_AUTO );
- return rStrm;
-}
-
-
// BIFF drawing objects
diff --git a/sc/source/filter/oox/formulabuffer.cxx b/sc/source/filter/oox/formulabuffer.cxx
index 4d1bb08beb17..4e2a0aa3e92b 100644
--- a/sc/source/filter/oox/formulabuffer.cxx
+++ b/sc/source/filter/oox/formulabuffer.cxx
@@ -314,16 +314,13 @@ void processSheetFormulaCells(
applyCellFormulaValues(rDoc, *rItem.mpCellFormulaValues);
}
-class WorkerThread : public salhelper::Thread
+class WorkerThread: public salhelper::Thread, private boost::noncopyable
{
ScDocumentImport& mrDoc;
FormulaBuffer::SheetItem& mrItem;
boost::scoped_ptr<SvNumberFormatter> mpFormatter;
const uno::Sequence<sheet::ExternalLinkInfo>& mrExternalLinks;
- WorkerThread( const WorkerThread& );
- WorkerThread& operator= ( const WorkerThread& );
-
public:
WorkerThread(
ScDocumentImport& rDoc, FormulaBuffer::SheetItem& rItem, SvNumberFormatter* pFormatter,
diff --git a/sc/source/filter/oox/formulaparser.cxx b/sc/source/filter/oox/formulaparser.cxx
index 9416b5c7cb37..6e3617a9716e 100644
--- a/sc/source/filter/oox/formulaparser.cxx
+++ b/sc/source/filter/oox/formulaparser.cxx
@@ -478,7 +478,6 @@ protected:
size_t popOperandSize();
ApiToken& getOperandToken( size_t nOpCountFromEnd, size_t nOpIndex, size_t nTokenIndex );
- void removeOperand( size_t nOpCountFromEnd, size_t nOpIndex );
bool pushOperandToken( sal_Int32 nOpCode, const WhiteSpaceVec* pSpaces = 0 );
bool pushAnyOperandToken( const Any& rAny, sal_Int32 nOpCode, const WhiteSpaceVec* pSpaces = 0 );
@@ -532,7 +531,6 @@ private:
void initReference2d( SingleReference& orApiRef ) const;
void initReference3d( SingleReference& orApiRef, sal_Int32 nSheet, bool bSameSheet ) const;
- void convertColRow( SingleReference& orApiRef, const BinSingleRef2d& rRef, bool bRelativeAsOffset ) const;
void convertReference( SingleReference& orApiRef, const BinSingleRef2d& rRef, bool bDeleted, bool bRelativeAsOffset ) const;
void convertReference( ComplexReference& orApiRef, const BinSingleRef2d& rRef1, const BinSingleRef2d& rRef2, bool bDeleted, bool bRelativeAsOffset ) const;
void convertReference2d( SingleReference& orApiRef, const BinSingleRef2d& rRef, bool bDeleted, bool bRelativeAsOffset ) const;
diff --git a/sc/source/filter/oox/workbookhelper.cxx b/sc/source/filter/oox/workbookhelper.cxx
index 57e6b08efff4..213dd13533cf 100644
--- a/sc/source/filter/oox/workbookhelper.cxx
+++ b/sc/source/filter/oox/workbookhelper.cxx
@@ -148,7 +148,6 @@ public:
}
ScDocument& getScDocument() { return *mpDoc; }
- const ScDocument& getScDocument() const { return *mpDoc; }
ScDocShell& getDocShell();
ScDocumentImport& getDocImport();
diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx
index 02df50057a22..14b88cf7396e 100644
--- a/sc/source/filter/oox/worksheethelper.cxx
+++ b/sc/source/filter/oox/worksheethelper.cxx
@@ -275,8 +275,6 @@ public:
/** Returns the BIFF drawing page for this sheet (BIFF2-BIFF8 only). */
inline BiffSheetDrawing& getBiffDrawing() const { return *mxBiffDrawing; }
- /** Changes the current sheet type. */
- inline void setSheetType( WorksheetType eSheetType ) { meSheetType = eSheetType; }
/** Sets a column or row page break described in the passed struct. */
void setPageBreak( const PageBreakModel& rModel, bool bRowBreak );
/** Inserts the hyperlink URL into the spreadsheet. */
diff --git a/sc/source/filter/xml/XMLTrackedChangesContext.cxx b/sc/source/filter/xml/XMLTrackedChangesContext.cxx
index 5830b1db96e2..53afc733108c 100644
--- a/sc/source/filter/xml/XMLTrackedChangesContext.cxx
+++ b/sc/source/filter/xml/XMLTrackedChangesContext.cxx
@@ -49,7 +49,6 @@ class ScXMLChangeInfoContext : public SvXMLImportContext
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper;
sal_uInt32 nParagraphCount;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
@@ -71,7 +70,6 @@ class ScXMLBigRangeContext : public SvXMLImportContext
{
ScBigRange& rBigRange;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
@@ -108,7 +106,6 @@ class ScXMLCellContentDeletionContext : public SvXMLImportContext
sal_Bool bBigRange;
sal_Bool bContainsCell;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
@@ -130,7 +127,6 @@ class ScXMLDependenceContext : public SvXMLImportContext
{
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
@@ -152,7 +148,6 @@ class ScXMLDependingsContext : public SvXMLImportContext
{
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
@@ -174,7 +169,6 @@ class ScXMLChangeDeletionContext : public SvXMLImportContext
{
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
@@ -196,7 +190,6 @@ class ScXMLDeletionsContext : public SvXMLImportContext
{
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
@@ -225,7 +218,6 @@ class ScXMLChangeTextPContext : public SvXMLImportContext
SvXMLImportContext* pTextPContext;
sal_uInt16 nPrefix;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
@@ -263,7 +255,6 @@ class ScXMLChangeCellContext : public SvXMLImportContext
sal_Bool bString;
sal_Bool bFormula;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
@@ -305,7 +296,6 @@ class ScXMLPreviousContext : public SvXMLImportContext
sal_uInt16 nType;
sal_uInt8 nMatrixFlag;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
@@ -328,7 +318,6 @@ class ScXMLContentChangeContext : public SvXMLImportContext
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper;
ScBigRange aBigRange;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
@@ -349,7 +338,6 @@ class ScXMLInsertionContext : public SvXMLImportContext
{
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
@@ -370,7 +358,6 @@ class ScXMLInsertionCutOffContext : public SvXMLImportContext
{
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
@@ -391,7 +378,6 @@ class ScXMLMovementCutOffContext : public SvXMLImportContext
{
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
@@ -412,7 +398,6 @@ class ScXMLCutOffsContext : public SvXMLImportContext
{
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
@@ -433,7 +418,6 @@ class ScXMLDeletionContext : public SvXMLImportContext
{
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
@@ -456,7 +440,6 @@ class ScXMLMovementContext : public SvXMLImportContext
ScBigRange aTargetRange;
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
@@ -477,7 +460,6 @@ class ScXMLRejectionContext : public SvXMLImportContext
{
ScXMLChangeTrackingImportHelper* pChangeTrackingImportHelper;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
diff --git a/sc/source/filter/xml/xmlcvali.cxx b/sc/source/filter/xml/xmlcvali.cxx
index 1f306c5a9411..972ed3314f58 100644
--- a/sc/source/filter/xml/xmlcvali.cxx
+++ b/sc/source/filter/xml/xmlcvali.cxx
@@ -89,7 +89,6 @@ class ScXMLHelpMessageContext : public SvXMLImportContext
ScXMLContentValidationContext* pValidationContext;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
@@ -120,7 +119,6 @@ class ScXMLErrorMessageContext : public SvXMLImportContext
ScXMLContentValidationContext* pValidationContext;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
@@ -148,7 +146,6 @@ class ScXMLErrorMacroContext : public SvXMLImportContext
ScXMLContentValidationContext* pValidationContext;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
diff --git a/sc/source/filter/xml/xmlexprt.cxx b/sc/source/filter/xml/xmlexprt.cxx
index a928a08a2c11..89badd5c01e7 100644
--- a/sc/source/filter/xml/xmlexprt.cxx
+++ b/sc/source/filter/xml/xmlexprt.cxx
@@ -17,6 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
+#include "appluno.hxx"
#include "xmlexprt.hxx"
#include "XMLConverter.hxx"
#include "xmlstyle.hxx"
diff --git a/sc/source/filter/xml/xmlimprt.cxx b/sc/source/filter/xml/xmlimprt.cxx
index 10e9bcec5a44..13fd4a6a9601 100644
--- a/sc/source/filter/xml/xmlimprt.cxx
+++ b/sc/source/filter/xml/xmlimprt.cxx
@@ -42,6 +42,7 @@
#include <svl/languageoptions.hxx>
#include "editeng/editstat.hxx"
+#include "appluno.hxx"
#include "xmlimprt.hxx"
#include "document.hxx"
#include "docsh.hxx"
@@ -243,7 +244,6 @@ const SvXMLTokenMap& ScXMLImport::GetTableRowCellAttrTokenMap()
class ScXMLDocContext_Impl : public virtual SvXMLImportContext
{
protected:
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
@@ -319,8 +319,6 @@ SvXMLImportContext *ScXMLFlatDocContext_Impl::CreateChildContext(
class ScXMLBodyContext_Impl : public SvXMLImportContext
{
- const ScXMLImport& GetScImport() const
- { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
diff --git a/sc/source/filter/xml/xmlstyli.cxx b/sc/source/filter/xml/xmlstyli.cxx
index 4cb52cc86005..d1a059715fdc 100644
--- a/sc/source/filter/xml/xmlstyli.cxx
+++ b/sc/source/filter/xml/xmlstyli.cxx
@@ -351,7 +351,6 @@ class ScXMLMapContext : public SvXMLImportContext
OUString msCondition;
OUString msBaseCell;
- const ScXMLImport& GetScImport() const { return (const ScXMLImport&)GetImport(); }
ScXMLImport& GetScImport() { return (ScXMLImport&)GetImport(); }
public:
diff --git a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
index 6c2a66f7f3d2..ffdff742aed3 100644
--- a/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
+++ b/sc/source/ui/Accessibility/AccessibleDocumentPagePreview.cxx
@@ -485,17 +485,6 @@ void ScNotesChildren::DataChanged(const Rectangle& rVisRect)
}
}
-struct ScChangeOffset
-{
- sal_Int32 mnDiff;
- ScChangeOffset(sal_Int32 nDiff) : mnDiff(nDiff) {}
- void operator() (const ScAccNote& rNote)
- {
- if (rNote.mpTextHelper)
- rNote.mpTextHelper->SetStartIndex(rNote.mpTextHelper->GetStartIndex() + mnDiff);
- }
-};
-
inline ScDocument* ScNotesChildren::GetDocument() const
{
ScDocument* pDoc = NULL;
diff --git a/sc/source/ui/dbgui/PivotLayoutTreeList.cxx b/sc/source/ui/dbgui/PivotLayoutTreeList.cxx
index bdfae545a399..32c55ce6b2f5 100644
--- a/sc/source/ui/dbgui/PivotLayoutTreeList.cxx
+++ b/sc/source/ui/dbgui/PivotLayoutTreeList.cxx
@@ -36,27 +36,6 @@ void ScPivotLayoutTreeList::Setup(ScPivotLayoutDialog* pParent, SvPivotTreeListT
meType = eType;
}
-OUString lclFunctName(const sal_uInt16 nFunctionMask)
-{
- switch (nFunctionMask)
- {
- case PIVOT_FUNC_SUM: return OUString("Sum");
- case PIVOT_FUNC_COUNT: return OUString("Count");
- case PIVOT_FUNC_AVERAGE: return OUString("Mean");
- case PIVOT_FUNC_MAX: return OUString("Max");
- case PIVOT_FUNC_MIN: return OUString("Min");
- case PIVOT_FUNC_PRODUCT: return OUString("Product");
- case PIVOT_FUNC_COUNT_NUM: return OUString("Count");
- case PIVOT_FUNC_STD_DEV: return OUString("StDev");
- case PIVOT_FUNC_STD_DEVP: return OUString("StDevP");
- case PIVOT_FUNC_STD_VAR: return OUString("Var");
- case PIVOT_FUNC_STD_VARP: return OUString("VarP");
- default:
- break;
- }
- return OUString();
-}
-
bool ScPivotLayoutTreeList::DoubleClickHdl()
{
ScItemValue* pCurrentItemValue = (ScItemValue*) GetCurEntry()->GetUserData();
diff --git a/sc/source/ui/docshell/datastream.cxx b/sc/source/ui/docshell/datastream.cxx
index 6f5fb2695524..3b1f4263813d 100644
--- a/sc/source/ui/docshell/datastream.cxx
+++ b/sc/source/ui/docshell/datastream.cxx
@@ -8,6 +8,7 @@
*/
#include <datastream.hxx>
+#include <datastreamgettime.hxx>
#include <com/sun/star/frame/XLayoutManager.hpp>
#include <com/sun/star/ui/XUIElement.hpp>
@@ -38,8 +39,6 @@
namespace sc {
-extern double datastream_get_time(int nIdx);
-
enum {
DEBUG_TIME_IMPORT,
DEBUG_TIME_RECALC,
diff --git a/sc/source/ui/undo/undoolk.cxx b/sc/source/ui/undo/undoolk.cxx
index 90c637486898..aaa8137c08e3 100644
--- a/sc/source/ui/undo/undoolk.cxx
+++ b/sc/source/ui/undo/undoolk.cxx
@@ -21,6 +21,7 @@
#include "document.hxx"
#include "drwlayer.hxx"
+#include "undoolk.hxx"
SdrUndoAction* GetSdrUndoAction( ScDocument* pDoc )
{
diff --git a/sc/source/ui/unoobj/appluno.cxx b/sc/source/ui/unoobj/appluno.cxx
index f55c40a072c5..1e5ce98ca677 100644
--- a/sc/source/ui/unoobj/appluno.cxx
+++ b/sc/source/ui/unoobj/appluno.cxx
@@ -42,88 +42,6 @@
using namespace com::sun::star;
-// Calc document
-extern uno::Sequence< OUString > SAL_CALL ScDocument_getSupportedServiceNames() throw();
-extern OUString SAL_CALL ScDocument_getImplementationName() throw();
-extern uno::Reference< uno::XInterface > SAL_CALL ScDocument_createInstance(
- const uno::Reference< lang::XMultiServiceFactory > & rSMgr, const sal_uInt64 _nCreationFlags ) throw( uno::Exception );
-
-// Calc XML import
-extern uno::Sequence< OUString > SAL_CALL ScXMLImport_getSupportedServiceNames() throw();
-extern OUString SAL_CALL ScXMLImport_getImplementationName() throw();
-extern uno::Reference< uno::XInterface > SAL_CALL ScXMLImport_createInstance(
- const uno::Reference< lang::XMultiServiceFactory > & rSMgr ) throw( uno::Exception );
-extern uno::Sequence< OUString > SAL_CALL ScXMLImport_Meta_getSupportedServiceNames() throw();
-extern OUString SAL_CALL ScXMLImport_Meta_getImplementationName() throw();
-extern uno::Reference< uno::XInterface > SAL_CALL ScXMLImport_Meta_createInstance(
- const uno::Reference< lang::XMultiServiceFactory > & rSMgr ) throw( uno::Exception );
-extern uno::Sequence< OUString > SAL_CALL ScXMLImport_Styles_getSupportedServiceNames() throw();
-extern OUString SAL_CALL ScXMLImport_Styles_getImplementationName() throw();
-extern uno::Reference< uno::XInterface > SAL_CALL ScXMLImport_Styles_createInstance(
- const uno::Reference< lang::XMultiServiceFactory > & rSMgr ) throw( uno::Exception );
-extern uno::Sequence< OUString > SAL_CALL ScXMLImport_Content_getSupportedServiceNames() throw();
-extern OUString SAL_CALL ScXMLImport_Content_getImplementationName() throw();
-extern uno::Reference< uno::XInterface > SAL_CALL ScXMLImport_Content_createInstance(
- const uno::Reference< lang::XMultiServiceFactory > & rSMgr ) throw( uno::Exception );
-extern uno::Sequence< OUString > SAL_CALL ScXMLImport_Settings_getSupportedServiceNames() throw();
-extern OUString SAL_CALL ScXMLImport_Settings_getImplementationName() throw();
-extern uno::Reference< uno::XInterface > SAL_CALL ScXMLImport_Settings_createInstance(
- const uno::Reference< lang::XMultiServiceFactory > & rSMgr ) throw( uno::Exception );
-
-// Calc XML export
-extern uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_getSupportedServiceNames() throw();
-extern OUString SAL_CALL ScXMLOOoExport_getImplementationName() throw();
-extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_createInstance(
- const uno::Reference< lang::XMultiServiceFactory > & rSMgr )
- throw (uno::Exception, std::exception);
-extern uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Meta_getSupportedServiceNames() throw();
-extern OUString SAL_CALL ScXMLOOoExport_Meta_getImplementationName() throw();
-extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Meta_createInstance(
- const uno::Reference< lang::XMultiServiceFactory > & rSMgr )
- throw (uno::Exception, std::exception);
-extern uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Styles_getSupportedServiceNames() throw();
-extern OUString SAL_CALL ScXMLOOoExport_Styles_getImplementationName() throw();
-extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Styles_createInstance(
- const uno::Reference< lang::XMultiServiceFactory > & rSMgr )
- throw (uno::Exception, std::exception);
-extern uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Content_getSupportedServiceNames() throw();
-extern OUString SAL_CALL ScXMLOOoExport_Content_getImplementationName() throw();
-extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Content_createInstance(
- const uno::Reference< lang::XMultiServiceFactory > & rSMgr )
- throw (uno::Exception, std::exception);
-extern uno::Sequence< OUString > SAL_CALL ScXMLOOoExport_Settings_getSupportedServiceNames() throw();
-extern OUString SAL_CALL ScXMLOOoExport_Settings_getImplementationName() throw();
-extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOOoExport_Settings_createInstance(
- const uno::Reference< lang::XMultiServiceFactory > & rSMgr )
- throw( uno::Exception, std::exception );
-
-// Calc XML Oasis export
-extern uno::Sequence< OUString > SAL_CALL ScXMLOasisExport_getSupportedServiceNames() throw();
-extern OUString SAL_CALL ScXMLOasisExport_getImplementationName() throw();
-extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOasisExport_createInstance(
- const uno::Reference< lang::XMultiServiceFactory > & rSMgr )
- throw (uno::Exception, std::exception);
-extern uno::Sequence< OUString > SAL_CALL ScXMLOasisExport_Meta_getSupportedServiceNames() throw();
-extern OUString SAL_CALL ScXMLOasisExport_Meta_getImplementationName() throw();
-extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOasisExport_Meta_createInstance(
- const uno::Reference< lang::XMultiServiceFactory > & rSMgr )
- throw (uno::Exception, std::exception);
-extern uno::Sequence< OUString > SAL_CALL ScXMLOasisExport_Styles_getSupportedServiceNames() throw();
-extern OUString SAL_CALL ScXMLOasisExport_Styles_getImplementationName() throw();
-extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOasisExport_Styles_createInstance(
- const uno::Reference< lang::XMultiServiceFactory > & rSMgr )
- throw( uno::Exception, std::exception );
-extern uno::Sequence< OUString > SAL_CALL ScXMLOasisExport_Content_getSupportedServiceNames() throw();
-extern OUString SAL_CALL ScXMLOasisExport_Content_getImplementationName() throw();
-extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOasisExport_Content_createInstance(
- const uno::Reference< lang::XMultiServiceFactory > & rSMgr )
- throw (uno::Exception, std::exception);
-extern uno::Sequence< OUString > SAL_CALL ScXMLOasisExport_Settings_getSupportedServiceNames() throw();
-extern OUString SAL_CALL ScXMLOasisExport_Settings_getImplementationName() throw();
-extern uno::Reference< uno::XInterface > SAL_CALL ScXMLOasisExport_Settings_createInstance(
- const uno::Reference< lang::XMultiServiceFactory > & rSMgr )
- throw (uno::Exception, std::exception);
-
// Anzahl der Funktionen, die als zuletzt benutzt gespeichert werden
//! Define mit funcpage.hxx und dwfunctr.hxx zusammenfassen !!!
#define LRU_MAX 10
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index f9c9fc9aef0d..fbde9f90475d 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -9517,12 +9517,6 @@ class ScUniqueFormatsEntry
public:
ScUniqueFormatsEntry() : eState( STATE_EMPTY ) {}
- ScUniqueFormatsEntry( const ScUniqueFormatsEntry& r ) :
- eState( r.eState ),
- aSingleRange( r.aSingleRange ),
- aJoinedRanges( r.aJoinedRanges ),
- aCompletedRanges( r.aCompletedRanges ),
- aReturnRanges( r.aReturnRanges ) {}
~ScUniqueFormatsEntry() {}
void Join( const ScRange& rNewRange );
diff --git a/sc/source/ui/unoobj/unodoc.cxx b/sc/source/ui/unoobj/unodoc.cxx
index a2cc0d72cbb7..db9d9a00fc79 100644
--- a/sc/source/ui/unoobj/unodoc.cxx
+++ b/sc/source/ui/unoobj/unodoc.cxx
@@ -22,6 +22,7 @@
#include <sfx2/sfxmodelfactory.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
+#include "appluno.hxx"
#include "scmod.hxx"
#include <osl/mutex.hxx>
#include <vcl/svapp.hxx>
diff --git a/sc/source/ui/vba/vbaborders.cxx b/sc/source/ui/vba/vbaborders.cxx
index 6f07e54c08ad..270885332301 100644
--- a/sc/source/ui/vba/vbaborders.cxx
+++ b/sc/source/ui/vba/vbaborders.cxx
@@ -142,7 +142,7 @@ private:
}
return true;
}
- ScVbaBorder(); // no impl
+
protected:
virtual OUString getServiceImplName() SAL_OVERRIDE
{
diff --git a/sc/source/ui/vba/vbarange.cxx b/sc/source/ui/vba/vbarange.cxx
index 08d504f6dbf7..dba86f109afe 100644
--- a/sc/source/ui/vba/vbarange.cxx
+++ b/sc/source/ui/vba/vbarange.cxx
@@ -319,7 +319,7 @@ private:
uno::Reference< XHelperInterface > mxParent;
uno::Reference< table::XCellRange > m_xRange;
uno::Reference< uno::XComponentContext > mxContext;
- SingleRangeIndexAccess(); // not defined
+
public:
SingleRangeIndexAccess( const uno::Reference< XHelperInterface >& xParent, const uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< table::XCellRange >& xRange ):mxParent( xParent ), m_xRange( xRange ), mxContext( xContext ) {}
// XIndexAccess
@@ -603,7 +603,6 @@ public:
struct CellPos
{
- CellPos():m_nRow(-1), m_nCol(-1), m_nArea(0) {};
CellPos( sal_Int32 nRow, sal_Int32 nCol, sal_Int32 nArea ):m_nRow(nRow), m_nCol(nCol), m_nArea( nArea ) {};
sal_Int32 m_nRow;
sal_Int32 m_nCol;
diff --git a/sc/source/ui/vba/vbawindows.cxx b/sc/source/ui/vba/vbawindows.cxx
index f56bbe56fe37..dfb12bfb9710 100644
--- a/sc/source/ui/vba/vbawindows.cxx
+++ b/sc/source/ui/vba/vbawindows.cxx
@@ -96,7 +96,6 @@ class WindowEnumImpl : public WindowComponentEnumImpl
{
uno::Any m_aApplication;
public:
- WindowEnumImpl(const uno::Reference< uno::XComponentContext >& xContext, const Components& components, const uno::Any& aApplication ):WindowComponentEnumImpl( xContext, components ), m_aApplication( aApplication ){}
WindowEnumImpl( const uno::Reference< uno::XComponentContext >& xContext, const uno::Any& aApplication ): WindowComponentEnumImpl( xContext ), m_aApplication( aApplication ) {}
virtual uno::Any SAL_CALL nextElement( ) throw (container::NoSuchElementException, lang::WrappedTargetException, uno::RuntimeException, std::exception) SAL_OVERRIDE
{
diff --git a/sc/source/ui/vba/vbaworkbooks.cxx b/sc/source/ui/vba/vbaworkbooks.cxx
index ff433b8aa72b..9a57a837e238 100644
--- a/sc/source/ui/vba/vbaworkbooks.cxx
+++ b/sc/source/ui/vba/vbaworkbooks.cxx
@@ -61,74 +61,6 @@ using namespace ::com::sun::star;
const sal_Int16 CUSTOM_CHAR = 5;
-void setUpDocumentModules( const uno::Reference< sheet::XSpreadsheetDocument >& xDoc )
-{
- uno::Reference< frame::XModel > xModel( xDoc, uno::UNO_QUERY );
- ScDocShell* pShell = excel::getDocShell( xModel );
- if ( pShell )
- {
- OUString aPrjName( "Standard" );
- pShell->GetBasicManager()->SetName( aPrjName );
-
- /* Set library container to VBA compatibility mode. This will create
- the VBA Globals object and store it in the Basic manager of the
- document. */
- uno::Reference<script::XLibraryContainer> xLibContainer = pShell->GetBasicContainer();
- uno::Reference<script::vba::XVBACompatibility> xVBACompat( xLibContainer, uno::UNO_QUERY_THROW );
- xVBACompat->setVBACompatibilityMode( sal_True );
-
- if( xLibContainer.is() )
- {
- if( !xLibContainer->hasByName( aPrjName ) )
- xLibContainer->createLibrary( aPrjName );
- uno::Any aLibAny = xLibContainer->getByName( aPrjName );
- uno::Reference< container::XNameContainer > xLib;
- aLibAny >>= xLib;
- if( xLib.is() )
- {
- uno::Reference< script::vba::XVBAModuleInfo > xVBAModuleInfo( xLib, uno::UNO_QUERY_THROW );
- uno::Reference< lang::XMultiServiceFactory> xSF( pShell->GetModel(), uno::UNO_QUERY_THROW);
- uno::Reference< container::XNameAccess > xVBACodeNamedObjectAccess( xSF->createInstance("ooo.vba.VBAObjectModuleObjectProvider"), uno::UNO_QUERY_THROW );
- // set up the module info for the workbook and sheets in the nealy created
- // spreadsheet
- ScDocument* pDoc = pShell->GetDocument();
- OUString sCodeName = pDoc->GetCodeName();
- if ( sCodeName.isEmpty() )
- {
- sCodeName = "ThisWorkbook";
- pDoc->SetCodeName( sCodeName );
- }
-
- std::vector< OUString > sDocModuleNames;
- sDocModuleNames.push_back( sCodeName );
-
- uno::Reference<container::XNameAccess > xSheets( xDoc->getSheets(), uno::UNO_QUERY_THROW );
- uno::Sequence< OUString > sSheets( xSheets->getElementNames() );
-
- for ( sal_Int32 index=0; index < sSheets.getLength() ; ++index )
- {
- sDocModuleNames.push_back( sSheets[ index ] );
- }
-
- std::vector<OUString>::iterator it_end = sDocModuleNames.end();
-
- for ( std::vector<OUString>::iterator it = sDocModuleNames.begin(); it != it_end; ++it )
- {
- script::ModuleInfo sModuleInfo;
-
- sModuleInfo.ModuleObject.set( xVBACodeNamedObjectAccess->getByName( *it ), uno::UNO_QUERY );
- sModuleInfo.ModuleType = script::ModuleType::DOCUMENT;
- xVBAModuleInfo->insertModuleInfo( *it, sModuleInfo );
- if( xLib->hasByName( *it ) )
- xLib->replaceByName( *it, uno::makeAny( OUString( "Option VBASupport 1\n") ) );
- else
- xLib->insertByName( *it, uno::makeAny( OUString( "Option VBASupport 1\n" ) ) );
- }
- }
- }
- }
-}
-
static uno::Any
getWorkbook( uno::Reference< uno::XComponentContext >& xContext, const uno::Reference< sheet::XSpreadsheetDocument > &xDoc, const uno::Reference< XHelperInterface >& xParent )
{
diff --git a/sc/source/ui/view/drawvie3.cxx b/sc/source/ui/view/drawvie3.cxx
index 866949d4d00d..d3f127cf98ae 100644
--- a/sc/source/ui/view/drawvie3.cxx
+++ b/sc/source/ui/view/drawvie3.cxx
@@ -24,6 +24,7 @@
#include "drawview.hxx"
#include "drwlayer.hxx"
+#include "imapwrap.hxx"
#include "viewdata.hxx"
#include "dbfunc.hxx"
#include "document.hxx"
@@ -31,12 +32,6 @@
#include "tabvwsh.hxx"
#include "docsh.hxx"
-void ScIMapDlgSet( const Graphic& rGraphic, const ImageMap* pImageMap,
- const TargetList* pTargetList, void* pEditingObj ); // imapwrap
-sal_uInt16 ScIMapChildWindowId();
-
-// STATIC DATA -----------------------------------------------------------
-
ScDrawView::ScDrawView( OutputDevice* pOut, ScViewData* pData ) :
FmFormView( pData->GetDocument()->GetDrawLayer(), pOut ),
pViewData( pData ),
diff --git a/sc/source/ui/view/gridwin.cxx b/sc/source/ui/view/gridwin.cxx
index 8958b81464d0..06b54bb8dff5 100644
--- a/sc/source/ui/view/gridwin.cxx
+++ b/sc/source/ui/view/gridwin.cxx
@@ -225,7 +225,6 @@ public:
SCCOL GetCol() const { return nCol; }
SCROW GetRow() const { return nRow; }
ScFilterBoxMode GetMode() const { return eMode; }
- sal_Bool IsDataSelect() const { return (eMode == SC_FILTERBOX_DATASELECT); }
void EndInit();
sal_Bool IsInInit() const { return bInit; }
void SetCancelled() { bCancelled = sal_True; }
diff --git a/sc/source/ui/view/imapwrap.cxx b/sc/source/ui/view/imapwrap.cxx
index e648ffaf1b27..38a00269024e 100644
--- a/sc/source/ui/view/imapwrap.cxx
+++ b/sc/source/ui/view/imapwrap.cxx
@@ -20,6 +20,7 @@
#include <svx/imapdlg.hxx>
#include <sfx2/viewfrm.hxx>
+#include <imapwrap.hxx>
sal_uInt16 ScIMapChildWindowId()
{
diff --git a/sc/source/ui/view/imapwrap.hxx b/sc/source/ui/view/imapwrap.hxx
new file mode 100644
index 000000000000..9e195b9393d9
--- /dev/null
+++ b/sc/source/ui/view/imapwrap.hxx
@@ -0,0 +1,46 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef INCLUDED_SC_SOURCE_UI_VIEW_IMAPWRAP_HXX
+#define INCLUDED_SC_SOURCE_UI_VIEW_IMAPWRAP_HXX
+
+#include <sal/config.h>
+
+#include <sal/types.h>
+#include <sfx2/frame.hxx>
+
+class Graphic;
+class ImageMap;
+class SvxIMapDlg;
+
+SvxIMapDlg * ScGetIMapDlg();
+
+sal_uInt16 ScIMapChildWindowId();
+
+ImageMap const & ScIMapDlgGetMap(SvxIMapDlg * pDlg);
+
+void const * ScIMapDlgGetObj(SvxIMapDlg * pDlg);
+
+void ScIMapDlgSet(
+ Graphic const & rGraphic, ImageMap const * pImageMap,
+ TargetList const * pTargetList, void * pEditingObj);
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/view/olkact.cxx b/sc/source/ui/view/olkact.cxx
index 2f79de731f8a..17e98b13a90b 100644
--- a/sc/source/ui/view/olkact.cxx
+++ b/sc/source/ui/view/olkact.cxx
@@ -25,6 +25,7 @@
#include "drawview.hxx"
#include "drawpage.hxx"
#include "drwlayer.hxx"
+#include "olkact.hxx"
// STATIC DATA -----------------------------------------------------------
diff --git a/sc/source/ui/view/olkact.hxx b/sc/source/ui/view/olkact.hxx
new file mode 100644
index 000000000000..3ca261e7f34a
--- /dev/null
+++ b/sc/source/ui/view/olkact.hxx
@@ -0,0 +1,33 @@
+/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
+/*
+ * This file is part of the LibreOffice project.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ *
+ * This file incorporates work covered by the following license notice:
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed
+ * with this work for additional information regarding copyright
+ * ownership. The ASF licenses this file to you under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file
+ * except in compliance with the License. You may obtain a copy of
+ * the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ */
+
+#ifndef INCLUDED_SC_SOURCE_UI_VIEW_OLKACT_HXX
+#define INCLUDED_SC_SOURCE_UI_VIEW_OLKACT_HXX
+
+#include <sal/config.h>
+
+class ScViewData;
+
+void ActivateOlk(ScViewData * pViewData);
+
+void DeActivateOlk(ScViewData * pViewData);
+
+#endif
+
+/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx
index c4b76cfc7eb8..4b99bcbb8e56 100644
--- a/sc/source/ui/view/output2.cxx
+++ b/sc/source/ui/view/output2.cxx
@@ -141,12 +141,10 @@ public:
void SetTextToWidthOrHash( ScRefCellValue& rCell, long nWidth );
void SetAutoText( const OUString& rAutoText );
- const ScPatternAttr* GetPattern() const { return pPattern; }
SvxCellOrientation GetOrient() const { return eAttrOrient; }
SvxCellHorJustify GetHorJust() const { return eAttrHorJust; }
SvxCellVerJustify GetVerJust() const { return eAttrVerJust; }
SvxCellJustifyMethod GetHorJustMethod() const { return eAttrHorJustMethod; }
- SvxCellJustifyMethod GetVerJustMethod() const { return eAttrVerJustMethod; }
const SvxMarginItem* GetMargin() const { return pMargin; }
sal_uInt16 GetLeftTotal() const { return pMargin->GetLeftMargin() + nIndent; }
diff --git a/sc/source/ui/view/tabvwsh4.cxx b/sc/source/ui/view/tabvwsh4.cxx
index 4c0f3742f6fb..955d9bffe080 100644
--- a/sc/source/ui/view/tabvwsh4.cxx
+++ b/sc/source/ui/view/tabvwsh4.cxx
@@ -17,6 +17,9 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <sal/config.h>
+
+#include "olkact.hxx"
#include "scitems.hxx"
#include <editeng/eeitem.hxx>
@@ -88,9 +91,6 @@
#include <com/sun/star/document/XDocumentProperties.hpp>
-void ActivateOlk( ScViewData* pViewData );
-void DeActivateOlk( ScViewData* pViewData );
-
extern SfxViewShell* pScActiveViewShell; // global.cxx
using namespace com::sun::star;
diff --git a/sc/source/ui/view/tabvwsh9.cxx b/sc/source/ui/view/tabvwsh9.cxx
index d6b7fd9341de..0718edd0f795 100644
--- a/sc/source/ui/view/tabvwsh9.cxx
+++ b/sc/source/ui/view/tabvwsh9.cxx
@@ -28,6 +28,7 @@
#include <sfx2/dispatch.hxx>
#include <svl/whiter.hxx>
+#include "imapwrap.hxx"
#include "tabvwsh.hxx"
#include "viewdata.hxx"
#include "tabview.hxx"
@@ -40,11 +41,6 @@
class SvxIMapDlg;
-sal_uInt16 ScIMapChildWindowId();
-SvxIMapDlg* ScGetIMapDlg();
-const void* ScIMapDlgGetObj( SvxIMapDlg* pDlg );
-const ImageMap& ScIMapDlgGetMap( SvxIMapDlg* pDlg );
-
void ScTabViewShell::ExecChildWin(SfxRequest& rReq)
{
sal_uInt16 nSlot = rReq.GetSlot();