[Libreoffice-commits] core.git: 5 commits - include/sfx2 include/svtools sd/inc sd/source sfx2/source svtools/source svx/uiconfig sw/source unotools/source unusedcode.easy xmlscript/source
Caolán McNamara
caolanm at redhat.com
Tue Feb 18 11:10:32 CET 2014
include/sfx2/thumbnailview.hxx | 2
include/svtools/headbar.hxx | 5
include/svtools/valueset.hxx | 1
sd/inc/stlpool.hxx | 2
sd/source/core/stlpool.cxx | 10
sfx2/source/control/thumbnailview.cxx | 7
sfx2/source/dialog/backingwindow.cxx | 25 -
sfx2/source/dialog/backingwindow.hxx | 1
sfx2/source/sidebar/TabBar.cxx | 15
sfx2/source/sidebar/TabBar.hxx | 1
svtools/source/contnr/svimpbox.cxx | 22 -
svtools/source/control/headbar.cxx | 8
svtools/source/control/valueset.cxx | 17
svx/uiconfig/ui/sidebarparagraph.ui | 446 ++++++++++-----------
sw/source/core/access/accfrmobj.cxx | 17
sw/source/core/access/accfrmobj.hxx | 2
sw/source/core/access/accnotextframe.cxx | 10
sw/source/core/access/accnotextframe.hxx | 4
sw/source/core/access/acctable.cxx | 6
sw/source/core/access/acctable.hxx | 1
sw/source/core/doc/docfld.cxx | 6
sw/source/core/inc/docfld.hxx | 1
unotools/source/config/extendedsecurityoptions.cxx | 9
unusedcode.easy | 11
xmlscript/source/xmldlg_imexp/imp_share.hxx | 2
25 files changed, 244 insertions(+), 387 deletions(-)
New commits:
commit 31bacc9bed54759dbd90e6cddfd430cf35c71556
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Feb 18 10:09:05 2014 +0000
coverity#984146 Uninitialized scalar field
Change-Id: Ibaeaa95c346547f17b82c687944a8b37c05b9b49
diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx
index 6ac1b35..71b26be 100644
--- a/svtools/source/contnr/svimpbox.cxx
+++ b/svtools/source/contnr/svimpbox.cxx
@@ -44,17 +44,17 @@ Image* SvImpLBox::s_pDefCollapsed = NULL;
Image* SvImpLBox::s_pDefExpanded = NULL;
sal_Int32 SvImpLBox::s_nImageRefCount = 0;
-SvImpLBox::SvImpLBox( SvTreeListBox* pLBView, SvTreeList* pLBTree, WinBits nWinStyle) :
-
- aVerSBar( pLBView, WB_DRAG | WB_VSCROLL ),
- aHorSBar( pLBView, WB_DRAG | WB_HSCROLL ),
- aScrBarBox( pLBView ),
- aOutputSize( 0, 0 ),
- aSelEng( pLBView, (FunctionSet*)0 ),
- aFctSet( this, &aSelEng, pLBView ),
- nExtendedWinBits( 0 ),
- bAreChildrenTransient( true ),
- m_pStringSorter(NULL)
+SvImpLBox::SvImpLBox( SvTreeListBox* pLBView, SvTreeList* pLBTree, WinBits nWinStyle)
+ : aVerSBar(pLBView, WB_DRAG | WB_VSCROLL)
+ , aHorSBar(pLBView, WB_DRAG | WB_HSCROLL)
+ , aScrBarBox(pLBView)
+ , aOutputSize(0, 0)
+ , aSelEng(pLBView, (FunctionSet*)0)
+ , aFctSet(this, &aSelEng, pLBView)
+ , nNextVerVisSize(0)
+ , nExtendedWinBits(0)
+ , bAreChildrenTransient(true)
+ , m_pStringSorter(NULL)
{
osl_atomic_increment(&s_nImageRefCount);
pView = pLBView;
commit cdb19b8b00eba8d4e591aa2912a6d3180d71c8c7
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Feb 18 10:05:58 2014 +0000
coverity#984167 Uninitialized scalar field
Change-Id: I2f6b40def145ea478403fb566c4b0d57c87c0627
diff --git a/unotools/source/config/extendedsecurityoptions.cxx b/unotools/source/config/extendedsecurityoptions.cxx
index 9e09757..b6d02d3 100644
--- a/unotools/source/config/extendedsecurityoptions.cxx
+++ b/unotools/source/config/extendedsecurityoptions.cxx
@@ -141,10 +141,11 @@ class SvtExtendedSecurityOptions_Impl : public ConfigItem
//*****************************************************************************************************************
SvtExtendedSecurityOptions_Impl::SvtExtendedSecurityOptions_Impl()
// Init baseclasses first
- : ConfigItem ( ROOTNODE_SECURITY ),
- m_aSecureExtensionsSetName( SECURE_EXTENSIONS_SET ),
- m_aExtensionPropName( EXTENSION_PROPNAME ),
- m_bROOpenHyperlinkMode(sal_False)
+ : ConfigItem ( ROOTNODE_SECURITY )
+ , m_aSecureExtensionsSetName( SECURE_EXTENSIONS_SET )
+ , m_aExtensionPropName( EXTENSION_PROPNAME )
+ , m_eOpenHyperlinkMode(SvtExtendedSecurityOptions::OPEN_NEVER)
+ , m_bROOpenHyperlinkMode(sal_False)
// Init member then.
{
// Fill the extension hash map with all secure extension strings
commit 6c594bcf6a00b26ca70b9b6152dda9b1d3f896e3
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Feb 18 10:02:27 2014 +0000
coverity#984352 Uninitialized scalar field
Change-Id: I871fcd02f461c798520a033217e14b3caa78876e
diff --git a/xmlscript/source/xmldlg_imexp/imp_share.hxx b/xmlscript/source/xmldlg_imexp/imp_share.hxx
index b5d0055..b417f63 100644
--- a/xmlscript/source/xmldlg_imexp/imp_share.hxx
+++ b/xmlscript/source/xmldlg_imexp/imp_share.hxx
@@ -156,6 +156,8 @@ public:
, _pStyles( pStyles )
, _xDialogModel( xDialogModel )
, _xDialogModelFactory( xDialogModel, css::uno::UNO_QUERY_THROW ), _xDoc( xDoc )
+ , XMLNS_DIALOGS_UID( 0 )
+ , XMLNS_SCRIPT_UID( 0 )
{ OSL_ASSERT( _xDialogModel.is() && _xDialogModelFactory.is() &&
_xContext.is() ); }
inline DialogImport( const DialogImport& rOther ) :
commit d48dacc737fbae113de30f63083c93f815e40ed5
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Feb 18 09:36:09 2014 +0000
fdo#74681 improve keyboard navigation more
Change-Id: I66b660ac2efa59a64a9d188dee3965243b0fa435
diff --git a/svx/uiconfig/ui/sidebarparagraph.ui b/svx/uiconfig/ui/sidebarparagraph.ui
index ec7e8e9..121f8aa 100644
--- a/svx/uiconfig/ui/sidebarparagraph.ui
+++ b/svx/uiconfig/ui/sidebarparagraph.ui
@@ -97,222 +97,6 @@
</packing>
</child>
<child>
- <object class="GtkLabel" id="spacinglabel">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="hexpand">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">_Spacing:</property>
- <property name="use_underline">True</property>
- </object>
- <packing>
- <property name="left_attach">0</property>
- <property name="top_attach">2</property>
- <property name="width">1</property>
- <property name="height">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkLabel" id="indentlabel">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="hexpand">True</property>
- <property name="xalign">0</property>
- <property name="label" translatable="yes">_Indent:</property>
- <property name="use_underline">True</property>
- </object>
- <packing>
- <property name="left_attach">1</property>
- <property name="top_attach">2</property>
- <property name="width">1</property>
- <property name="height">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkToolbar" id="paraspacing">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="has_tooltip">True</property>
- <property name="tooltip_markup" translatable="yes">Spacing</property>
- <property name="tooltip_text" translatable="yes">Spacing</property>
- <property name="show_arrow">False</property>
- <child>
- <object class="GtkToolButton" id="paraspaceinc">
- <property name="width_request">25</property>
- <property name="height_request">25</property>
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="has_tooltip">True</property>
- <property name="tooltip_markup" translatable="yes">Increase Spacing</property>
- <property name="tooltip_text" translatable="yes">Increase Spacing</property>
- <property name="action_name">.uno:ParaspaceIncrease</property>
- <property name="use_underline">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
- </packing>
- </child>
- <child>
- <object class="GtkToolButton" id="paraspacedec">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="has_tooltip">True</property>
- <property name="tooltip_markup" translatable="yes">Decrease Spacing</property>
- <property name="tooltip_text" translatable="yes">Decrease Spacing</property>
- <property name="action_name">.uno:ParaspaceDecrease</property>
- <property name="use_underline">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="left_attach">0</property>
- <property name="top_attach">3</property>
- <property name="width">1</property>
- <property name="height">1</property>
- </packing>
- </child>
- <child>
- <object class="GtkBox" id="box2">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <child>
- <object class="GtkToolbar" id="indent">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="has_tooltip">True</property>
- <property name="tooltip_markup" translatable="yes">Indent</property>
- <property name="tooltip_text" translatable="yes">Indent</property>
- <property name="show_arrow">False</property>
- <child>
- <object class="GtkToolButton" id="increaseindent">
- <property name="width_request">15</property>
- <property name="height_request">25</property>
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="has_tooltip">True</property>
- <property name="tooltip_markup" translatable="yes">Increase Indent</property>
- <property name="tooltip_text" translatable="yes">Increase Indent</property>
- <property name="action_name">.uno:IncrementIndent</property>
- <property name="use_underline">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
- </packing>
- </child>
- <child>
- <object class="GtkToolButton" id="decreaseindent">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="has_tooltip">True</property>
- <property name="tooltip_markup" translatable="yes">Decrease Indent</property>
- <property name="tooltip_text" translatable="yes">Decrease Indent</property>
- <property name="action_name">.uno:DecrementIndent</property>
- <property name="use_underline">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
- </packing>
- </child>
- <child>
- <object class="GtkToolButton" id="hangingindent">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="has_tooltip">True</property>
- <property name="tooltip_markup" translatable="yes">Switch to Hanging Indent</property>
- <property name="tooltip_text" translatable="yes">Switch to Hanging Indent</property>
- <property name="action_name">.uno:HangingIndent</property>
- <property name="use_underline">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">0</property>
- </packing>
- </child>
- <child>
- <object class="GtkToolbar" id="promotedemote">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="has_tooltip">True</property>
- <property name="tooltip_markup" translatable="yes">Indent</property>
- <property name="tooltip_text" translatable="yes">Indent</property>
- <property name="show_arrow">False</property>
- <child>
- <object class="GtkToolButton" id="promote">
- <property name="width_request">15</property>
- <property name="height_request">25</property>
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="has_tooltip">True</property>
- <property name="tooltip_markup" translatable="yes">Increase Indent</property>
- <property name="tooltip_text" translatable="yes">Increase Indent</property>
- <property name="action_name">.uno:Promote</property>
- <property name="use_underline">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
- </packing>
- </child>
- <child>
- <object class="GtkToolButton" id="demote">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="has_tooltip">True</property>
- <property name="tooltip_markup" translatable="yes">Decrease Indent</property>
- <property name="tooltip_text" translatable="yes">Decrease Indent</property>
- <property name="action_name">.uno:Demote</property>
- <property name="use_underline">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
- </packing>
- </child>
- <child>
- <object class="GtkToolButton" id="hangingindent2">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <property name="has_tooltip">True</property>
- <property name="tooltip_markup" translatable="yes">Switch to Hanging Indent</property>
- <property name="tooltip_text" translatable="yes">Switch to Hanging Indent</property>
- <property name="action_name">.uno:HangingIndent2</property>
- <property name="use_underline">True</property>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="homogeneous">True</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="expand">False</property>
- <property name="fill">True</property>
- <property name="position">1</property>
- </packing>
- </child>
- </object>
- <packing>
- <property name="left_attach">1</property>
- <property name="top_attach">3</property>
- <property name="width">1</property>
- <property name="height">1</property>
- </packing>
- </child>
- <child>
<object class="GtkBox" id="box1">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -488,6 +272,69 @@
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
+ <object class="GtkLabel" id="spacinglabel">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">_Spacing:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">paraspacing</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolbar" id="paraspacing">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="has_tooltip">True</property>
+ <property name="tooltip_markup" translatable="yes">Spacing</property>
+ <property name="tooltip_text" translatable="yes">Spacing</property>
+ <property name="show_arrow">False</property>
+ <child>
+ <object class="GtkToolButton" id="paraspaceinc">
+ <property name="width_request">25</property>
+ <property name="height_request">25</property>
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="has_tooltip">True</property>
+ <property name="tooltip_markup" translatable="yes">Increase Spacing</property>
+ <property name="tooltip_text" translatable="yes">Increase Spacing</property>
+ <property name="action_name">.uno:ParaspaceIncrease</property>
+ <property name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="paraspacedec">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="has_tooltip">True</property>
+ <property name="tooltip_markup" translatable="yes">Decrease Spacing</property>
+ <property name="tooltip_text" translatable="yes">Decrease Spacing</property>
+ <property name="action_name">.uno:ParaspaceDecrease</property>
+ <property name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
<object class="GtkBox" id="box11">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -527,7 +374,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">0</property>
+ <property name="position">2</property>
</packing>
</child>
<child>
@@ -569,7 +416,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">1</property>
+ <property name="position">3</property>
</packing>
</child>
<child>
@@ -599,13 +446,13 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">2</property>
+ <property name="position">4</property>
</packing>
</child>
</object>
<packing>
<property name="left_attach">0</property>
- <property name="top_attach">4</property>
+ <property name="top_attach">2</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
@@ -617,6 +464,157 @@
<property name="orientation">vertical</property>
<property name="spacing">6</property>
<child>
+ <object class="GtkLabel" id="indentlabel">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="hexpand">True</property>
+ <property name="xalign">0</property>
+ <property name="label" translatable="yes">_Indent:</property>
+ <property name="use_underline">True</property>
+ <property name="mnemonic_widget">box2</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkBox" id="box2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <child>
+ <object class="GtkToolbar" id="indent">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="has_tooltip">True</property>
+ <property name="tooltip_markup" translatable="yes">Indent</property>
+ <property name="tooltip_text" translatable="yes">Indent</property>
+ <property name="show_arrow">False</property>
+ <child>
+ <object class="GtkToolButton" id="increaseindent">
+ <property name="width_request">15</property>
+ <property name="height_request">25</property>
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="has_tooltip">True</property>
+ <property name="tooltip_markup" translatable="yes">Increase Indent</property>
+ <property name="tooltip_text" translatable="yes">Increase Indent</property>
+ <property name="action_name">.uno:IncrementIndent</property>
+ <property name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="decreaseindent">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="has_tooltip">True</property>
+ <property name="tooltip_markup" translatable="yes">Decrease Indent</property>
+ <property name="tooltip_text" translatable="yes">Decrease Indent</property>
+ <property name="action_name">.uno:DecrementIndent</property>
+ <property name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="hangingindent">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="has_tooltip">True</property>
+ <property name="tooltip_markup" translatable="yes">Switch to Hanging Indent</property>
+ <property name="tooltip_text" translatable="yes">Switch to Hanging Indent</property>
+ <property name="action_name">.uno:HangingIndent</property>
+ <property name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolbar" id="promotedemote">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="has_tooltip">True</property>
+ <property name="tooltip_markup" translatable="yes">Indent</property>
+ <property name="tooltip_text" translatable="yes">Indent</property>
+ <property name="show_arrow">False</property>
+ <child>
+ <object class="GtkToolButton" id="promote">
+ <property name="width_request">15</property>
+ <property name="height_request">25</property>
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="has_tooltip">True</property>
+ <property name="tooltip_markup" translatable="yes">Increase Indent</property>
+ <property name="tooltip_text" translatable="yes">Increase Indent</property>
+ <property name="action_name">.uno:Promote</property>
+ <property name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="demote">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="has_tooltip">True</property>
+ <property name="tooltip_markup" translatable="yes">Decrease Indent</property>
+ <property name="tooltip_text" translatable="yes">Decrease Indent</property>
+ <property name="action_name">.uno:Demote</property>
+ <property name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkToolButton" id="hangingindent2">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <property name="has_tooltip">True</property>
+ <property name="tooltip_markup" translatable="yes">Switch to Hanging Indent</property>
+ <property name="tooltip_text" translatable="yes">Switch to Hanging Indent</property>
+ <property name="action_name">.uno:HangingIndent2</property>
+ <property name="use_underline">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="homogeneous">True</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
+ <child>
<object class="GtkBox" id="box14">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -653,7 +651,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">0</property>
+ <property name="position">2</property>
</packing>
</child>
<child>
@@ -693,7 +691,7 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">1</property>
+ <property name="position">3</property>
</packing>
</child>
<child>
@@ -733,13 +731,13 @@
<packing>
<property name="expand">False</property>
<property name="fill">True</property>
- <property name="position">2</property>
+ <property name="position">4</property>
</packing>
</child>
</object>
<packing>
<property name="left_attach">1</property>
- <property name="top_attach">4</property>
+ <property name="top_attach">2</property>
<property name="width">1</property>
<property name="height">1</property>
</packing>
commit d13545987a59e369f1becec5e1fbc4c69db03184
Author: Caolán McNamara <caolanm at redhat.com>
Date: Tue Feb 18 09:36:44 2014 +0000
callcatcher: update unused code lists
Change-Id: Ie975f8a970eec63b593933ebb2394db76d537c51
diff --git a/include/sfx2/thumbnailview.hxx b/include/sfx2/thumbnailview.hxx
index 139a838..761b45b 100644
--- a/include/sfx2/thumbnailview.hxx
+++ b/include/sfx2/thumbnailview.hxx
@@ -182,8 +182,6 @@ public:
ThumbnailView ( Window* pParent, WinBits nWinStyle = WB_TABSTOP, bool bDisableTransientChildren = false );
- ThumbnailView ( Window* pParent, const ResId& rResId, bool bDisableTransientChildren = false );
-
virtual ~ThumbnailView ();
virtual void MouseMove( const MouseEvent& rMEvt );
diff --git a/include/svtools/headbar.hxx b/include/svtools/headbar.hxx
index 76789d0..3bb3f0b 100644
--- a/include/svtools/headbar.hxx
+++ b/include/svtools/headbar.hxx
@@ -291,9 +291,8 @@ private:
SVT_DLLPRIVATE void ImplEndDrag( sal_Bool bCancel );
public:
- HeaderBar( Window* pParent, WinBits nWinBits = WB_STDHEADERBAR );
- HeaderBar( Window* pParent, const ResId& rResId );
- ~HeaderBar();
+ HeaderBar( Window* pParent, WinBits nWinBits = WB_STDHEADERBAR );
+ ~HeaderBar();
virtual void MouseButtonDown( const MouseEvent& rMEvt );
virtual void MouseMove( const MouseEvent& rMEvt );
diff --git a/include/svtools/valueset.hxx b/include/svtools/valueset.hxx
index 9f925ba..87102c4 100644
--- a/include/svtools/valueset.hxx
+++ b/include/svtools/valueset.hxx
@@ -263,7 +263,6 @@ private:
SVT_DLLPRIVATE ValueSetItem* ImplGetItem( size_t nPos );
SVT_DLLPRIVATE ValueSetItem* ImplGetFirstItem();
SVT_DLLPRIVATE sal_uInt16 ImplGetVisibleItemCount() const;
- SVT_DLLPRIVATE ValueSetItem* ImplGetVisibleItem( sal_uInt16 nVisiblePos );
SVT_DLLPRIVATE void ImplInsertItem( ValueSetItem *const pItem, const size_t nPos );
SVT_DLLPRIVATE Rectangle ImplGetItemRect( size_t nPos ) const;
SVT_DLLPRIVATE void ImplFireAccessibleEvent( short nEventId, const ::com::sun::star::uno::Any& rOldValue, const ::com::sun::star::uno::Any& rNewValue );
diff --git a/sd/inc/stlpool.hxx b/sd/inc/stlpool.hxx
index 8c0e993..581e2f2 100644
--- a/sd/inc/stlpool.hxx
+++ b/sd/inc/stlpool.hxx
@@ -80,9 +80,7 @@ public:
void CopyGraphicSheets(SdStyleSheetPool& rSourcePool);
void CopyCellSheets(SdStyleSheetPool& rSourcePool);
void CopyTableStyles(SdStyleSheetPool& rSourcePool);
- void CopyGraphicSheets(SdStyleSheetPool& rSourcePool, SdStyleSheetVector& rCreatedSheets);
void CopyCellSheets(SdStyleSheetPool& rSourcePool, SdStyleSheetVector& rCreatedSheets);
- void RenameAndCopyGraphicSheets(SdStyleSheetPool& rSourcePool, OUString &rRenameSuffix);
void RenameAndCopyGraphicSheets(SdStyleSheetPool& rSourcePool, SdStyleSheetVector& rCreatedSheets, OUString &rRenameSuffix);
void CreatePseudosIfNecessary();
diff --git a/sd/source/core/stlpool.cxx b/sd/source/core/stlpool.cxx
index f173ce2..b1bad09 100644
--- a/sd/source/core/stlpool.cxx
+++ b/sd/source/core/stlpool.cxx
@@ -535,11 +535,6 @@ void SdStyleSheetPool::CopyGraphicSheets(SdStyleSheetPool& rSourcePool)
CopySheets( rSourcePool, SD_STYLE_FAMILY_GRAPHICS );
}
-void SdStyleSheetPool::RenameAndCopyGraphicSheets(SdStyleSheetPool& rSourcePool, OUString &rRenameSuffix)
-{
- RenameAndCopySheets( rSourcePool, SD_STYLE_FAMILY_GRAPHICS, rRenameSuffix );
-}
-
void SdStyleSheetPool::CopyCellSheets(SdStyleSheetPool& rSourcePool)
{
CopySheets( rSourcePool, SD_STYLE_FAMILY_CELL );
@@ -602,11 +597,6 @@ void SdStyleSheetPool::CopyTableStyles(SdStyleSheetPool& rSourcePool)
}
}
-void SdStyleSheetPool::CopyGraphicSheets(SdStyleSheetPool& rSourcePool, SdStyleSheetVector& rCreatedSheets)
-{
- CopySheets( rSourcePool, SD_STYLE_FAMILY_GRAPHICS, rCreatedSheets );
-}
-
void SdStyleSheetPool::CopyCellSheets(SdStyleSheetPool& rSourcePool, SdStyleSheetVector& rCreatedSheets)
{
CopySheets( rSourcePool, SD_STYLE_FAMILY_CELL, rCreatedSheets );
diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx
index dbe2f46..ee1c016 100644
--- a/sfx2/source/control/thumbnailview.cxx
+++ b/sfx2/source/control/thumbnailview.cxx
@@ -60,13 +60,6 @@ ThumbnailView::ThumbnailView (Window *pParent, WinBits nWinStyle, bool bDisableT
mbIsTransientChildrenDisabled = bDisableTransientChildren;
}
-ThumbnailView::ThumbnailView (Window *pParent, const ResId &rResId, bool bDisableTransientChildren)
- : Control( pParent, rResId )
-{
- ImplInit();
- mbIsTransientChildrenDisabled = bDisableTransientChildren;
-}
-
ThumbnailView::~ThumbnailView()
{
com::sun::star::uno::Reference< ::com::sun::star::lang::XComponent>
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx
index 5f849cd..5a6c242 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -497,31 +497,6 @@ IMPL_LINK( BackingWindow, ClickHdl, Button*, pButton )
return 0;
}
-IMPL_LINK( BackingWindow, OpenTemplateHdl, ThumbnailViewItem*, pItem)
-{
- uno::Sequence< PropertyValue > aArgs(4);
- aArgs[0].Name = "AsTemplate";
- aArgs[0].Value <<= sal_True;
- aArgs[1].Name = "MacroExecutionMode";
- aArgs[1].Value <<= MacroExecMode::USE_CONFIG;
- aArgs[2].Name = "UpdateDocMode";
- aArgs[2].Value <<= UpdateDocMode::ACCORDING_TO_CONFIG;
- aArgs[3].Name = "InteractionHandler";
- aArgs[3].Value <<= task::InteractionHandler::createWithParent( ::comphelper::getProcessComponentContext(), 0 );
-
- TemplateViewItem *pTemplateItem = static_cast<TemplateViewItem*>(pItem);
-
- try
- {
- mxDesktop->loadComponentFromURL(pTemplateItem->getPath(),"_default", 0, aArgs );
- }
- catch( const uno::Exception& )
- {
- }
-
- return 0;
-}
-
struct ImplDelayedDispatch
{
Reference< XDispatch > xDispatch;
diff --git a/sfx2/source/dialog/backingwindow.hxx b/sfx2/source/dialog/backingwindow.hxx
index dfa67b0..90f4ff0 100644
--- a/sfx2/source/dialog/backingwindow.hxx
+++ b/sfx2/source/dialog/backingwindow.hxx
@@ -97,7 +97,6 @@ class BackingWindow
DECL_LINK(ClickHdl, Button*);
DECL_LINK(ExtLinkClickHdl, Button*);
- DECL_LINK(OpenTemplateHdl, ThumbnailViewItem*);
void initControls();
diff --git a/sfx2/source/sidebar/TabBar.cxx b/sfx2/source/sidebar/TabBar.cxx
index 27f451b..1a81b6d 100644
--- a/sfx2/source/sidebar/TabBar.cxx
+++ b/sfx2/source/sidebar/TabBar.cxx
@@ -251,21 +251,6 @@ void TabBar::HighlightDeck (const ::rtl::OUString& rsDeckId)
-TabBar::Item* TabBar::GetItemForId (const ::rtl::OUString& rsDeckId)
-{
- for (ItemContainer::iterator iItem(maItems.begin()),iEnd(maItems.end());
- iItem!=iEnd;
- ++iItem)
- {
- if (iItem->msDeckId.equals(rsDeckId))
- return &*iItem;
- }
- return NULL;
-}
-
-
-
-
void TabBar::DataChanged (const DataChangedEvent& rDataChangedEvent)
{
SetBackground(Theme::GetPaint(Theme::Paint_TabBarBackground).GetWallpaper());
diff --git a/sfx2/source/sidebar/TabBar.hxx b/sfx2/source/sidebar/TabBar.hxx
index 01073ce6..ef09a07 100644
--- a/sfx2/source/sidebar/TabBar.hxx
+++ b/sfx2/source/sidebar/TabBar.hxx
@@ -113,7 +113,6 @@ private:
PopupMenuProvider maPopupMenuProvider;
RadioButton* CreateTabItem (const DeckDescriptor& rDeckDescriptor);
- Item* GetItemForId (const ::rtl::OUString& rsId);
Image GetItemImage (const DeckDescriptor& rDeskDescriptor) const;
void Layout (void);
void UpdateButtonIcons (void);
diff --git a/svtools/source/control/headbar.cxx b/svtools/source/control/headbar.cxx
index 2782d82..eda70d2 100644
--- a/svtools/source/control/headbar.cxx
+++ b/svtools/source/control/headbar.cxx
@@ -111,14 +111,6 @@ HeaderBar::HeaderBar( Window* pParent, WinBits nWinStyle ) :
// -----------------------------------------------------------------------
-HeaderBar::HeaderBar( Window* pParent, const ResId& rResId ) :
- Window( pParent, rResId )
-{
- ImplInit( rResId.GetWinBits() );
-}
-
-// -----------------------------------------------------------------------
-
HeaderBar::~HeaderBar()
{
// Alle Items loeschen
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx
index a757d2f..c4487aa 100644
--- a/svtools/source/control/valueset.cxx
+++ b/svtools/source/control/valueset.cxx
@@ -1122,23 +1122,6 @@ sal_uInt16 ValueSet::ImplGetVisibleItemCount() const
// -----------------------------------------------------------------------
-ValueSetItem* ValueSet::ImplGetVisibleItem( sal_uInt16 nVisiblePos )
-{
- const size_t nItemCount = mItemList.size();
-
- for ( size_t n = 0; n < nItemCount; ++n )
- {
- ValueSetItem *const pItem = mItemList[n];
-
- if ( pItem->mbVisible && !nVisiblePos-- )
- return pItem;
- }
-
- return NULL;
-}
-
-// -----------------------------------------------------------------------
-
void ValueSet::ImplFireAccessibleEvent( short nEventId, const ::com::sun::star::uno::Any& rOldValue, const ::com::sun::star::uno::Any& rNewValue )
{
ValueSetAcc* pAcc = ValueSetAcc::getImplementation( GetAccessible( sal_False ) );
diff --git a/sw/source/core/access/accfrmobj.cxx b/sw/source/core/access/accfrmobj.cxx
index 461a420..1263a6c 100644
--- a/sw/source/core/access/accfrmobj.cxx
+++ b/sw/source/core/access/accfrmobj.cxx
@@ -166,23 +166,6 @@ bool SwAccessibleChild::IsBoundAsChar() const
return bRet;
}
-sal_uInt32 SwAccessibleChild::GetAnchorPosition() const
-{
- if( mpDrawObj )
- {
- const SwFrmFmt *pFrmFmt = ::FindFrmFmt( mpDrawObj );
- if ( pFrmFmt )
- {
- const SwPosition *pPos = pFrmFmt->GetAnchor().GetCntntAnchor();
- if ( pPos )
- {
- return pPos->nContent.GetIndex();
- }
- }
- }
- return 0;
-}
-
SwAccessibleChild::SwAccessibleChild( const SwAccessibleChild& r )
: mpFrm( r.mpFrm )
, mpDrawObj( r.mpDrawObj )
diff --git a/sw/source/core/access/accfrmobj.hxx b/sw/source/core/access/accfrmobj.hxx
index d37277e..47e1f3b 100644
--- a/sw/source/core/access/accfrmobj.hxx
+++ b/sw/source/core/access/accfrmobj.hxx
@@ -61,8 +61,6 @@ class SwAccessibleChild
bool IsAccessible( sal_Bool bPagePreview ) const;
bool IsBoundAsChar() const;
- sal_uInt32 GetAnchorPosition() const;
-
bool IsVisibleChildrenOnly() const;
SwRect GetBox( const SwAccessibleMap& rAccMap ) const;
SwRect GetBounds( const SwAccessibleMap& rAccMap ) const;
diff --git a/sw/source/core/access/accnotextframe.cxx b/sw/source/core/access/accnotextframe.cxx
index 45f340a..4341257 100644
--- a/sw/source/core/access/accnotextframe.cxx
+++ b/sw/source/core/access/accnotextframe.cxx
@@ -350,16 +350,6 @@ sal_Int32 SAL_CALL SwAccessibleNoTextFrame::getHyperLinkIndex( sal_Int32 )
return 0;
}
-AccessibleRelation SwAccessibleNoTextFrame::makeRelation( sal_Int16 nType, const SwFlyFrm* pFrm )
-{
- SolarMutexGuard g;
-
- uno::Sequence<uno::Reference<XInterface> > aSequence(1);
- aSequence[0] = GetMap()->GetContext( pFrm );
- return AccessibleRelation( nType, aSequence );
-}
-
-
uno::Reference<XAccessibleRelationSet> SAL_CALL SwAccessibleNoTextFrame::getAccessibleRelationSet( )
throw ( uno::RuntimeException )
{
diff --git a/sw/source/core/access/accnotextframe.hxx b/sw/source/core/access/accnotextframe.hxx
index 2ea05f1..94cbaed 100644
--- a/sw/source/core/access/accnotextframe.hxx
+++ b/sw/source/core/access/accnotextframe.hxx
@@ -134,10 +134,6 @@ public:
SwAccessibleMap *GetAccessibleMap(){ return GetMap();}
-private:
- com::sun::star::accessibility::AccessibleRelation makeRelation(
- sal_Int16 nType, const SwFlyFrm* pFrm );
-
public:
virtual ::com::sun::star::uno::Reference<
::com::sun::star::accessibility::XAccessibleRelationSet> SAL_CALL
diff --git a/sw/source/core/access/acctable.cxx b/sw/source/core/access/acctable.cxx
index 00d7282..f3ceba7 100644
--- a/sw/source/core/access/acctable.cxx
+++ b/sw/source/core/access/acctable.cxx
@@ -1772,12 +1772,6 @@ void SwAccessibleTable::FireSelectionEvent( )
}
}
-void SwAccessibleTable::ClearSelectionCellCache()
-{
- m_vecCellAdd.clear();
- m_vecCellRemove.clear();
-}
-
void SwAccessibleTable::AddSelectionCell(const SwAccessibleContext* pAccCell ,sal_Bool bAddOrRemove)
{
if (bAddOrRemove)
diff --git a/sw/source/core/access/acctable.hxx b/sw/source/core/access/acctable.hxx
index ea4dc8f..aea2394d 100644
--- a/sw/source/core/access/acctable.hxx
+++ b/sw/source/core/access/acctable.hxx
@@ -271,7 +271,6 @@ public:
VEC_CELL m_vecCellAdd;
VEC_CELL m_vecCellRemove;
void FireSelectionEvent( );
- void ClearSelectionCellCache();
void AddSelectionCell(const SwAccessibleContext* ,sal_Bool bAddOrRemove);
};
diff --git a/sw/source/core/doc/docfld.cxx b/sw/source/core/doc/docfld.cxx
index 10b40a2..48a3492 100644
--- a/sw/source/core/doc/docfld.cxx
+++ b/sw/source/core/doc/docfld.cxx
@@ -823,12 +823,6 @@ _SetGetExpFld::_SetGetExpFld( const SwFlyFrmFmt& rFlyFmt,
}
}
-void _SetGetExpFld::GetPos( SwPosition& rPos ) const
-{
- rPos.nNode = nNode;
- rPos.nContent.Assign( rPos.nNode.GetNode().GetCntntNode(), nCntnt );
-}
-
void _SetGetExpFld::GetPosOfContent( SwPosition& rPos ) const
{
const SwNode* pNd = GetNodeFromCntnt();
diff --git a/sw/source/core/inc/docfld.hxx b/sw/source/core/inc/docfld.hxx
index fec0a0a..009e36f 100644
--- a/sw/source/core/inc/docfld.hxx
+++ b/sw/source/core/inc/docfld.hxx
@@ -98,7 +98,6 @@ public:
sal_Int32 GetCntnt() const { return nCntnt; }
const void* GetPointer() const { return CNTNT.pTxtFld; }
- void GetPos( SwPosition& rPos ) const;
void GetPosOfContent( SwPosition& rPos ) const;
const SwNode* GetNodeFromCntnt() const;
diff --git a/unusedcode.easy b/unusedcode.easy
index 186d439..1388f49 100644
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1,9 +1,8 @@
-(anonymous namespace)::hasNonEmpty(std::vector<double, std::allocator<double> > const&, int, int)
AddressWalker::pop()
-BackingWindow::LinkStubOpenTemplateHdl(void*, void*)
BigInt::BigInt(unsigned int)
BigInt::GetString() const
CalcUnoApiTest::CalcUnoApiTest(rtl::OUString const&)
+Chart2ExportTest::testFdo74115WallGradientFill()
Chart2ImportTest::testODPChartSeries()
Chart2ImportTest::testPPTChartSeries()
Chart2ImportTest::testPPTXChartSeries()
@@ -77,6 +76,7 @@ ScCellValue::ScCellValue(ScFormulaCell const&)
ScCellValue::hasNumeric() const
ScCellValue::hasString() const
ScCellValue::set(ScFormulaCell const&)
+ScCollection::IndexOf(ScDataObject*) const
ScColorScaleEntry::UpdateMoveTab(short, short, short)
ScColumn::DeleteCellNote(int)
ScColumn::MoveListeners(SvtBroadcaster&, int)
@@ -150,13 +150,11 @@ SvxRectCtlAccessibleContext::FireAccessibleEvent(short, com::sun::star::uno::Any
SwAccessibleField::SwAccessibleField(SwField*, SwAccessibleParagraph*, short)
SwAccessibleParagraph::GetTOCLevel()
SwAccessiblePortionData::GetAttrFldType(int)
-SwAccessibleTable::ClearSelectionCellCache()
SwAccessibleTable::SetTableData(SwAccessibleTableData_Impl*)
SwCntntFrm::DelFrms(SwCntntNode const&)
SwExtraRedlineTbl::Contains(SwExtraRedline const*) const
SwExtraRedlineTbl::Remove(SwExtraRedline const*)
SwPostItField::GetByName(SwDoc*, rtl::OUString const&)
-SwTableRowRedline::SwTableRowRedline(SwRedlineData const&, SwTableLine&)
SwViewImp::FireColumnChangeEvent(unsigned short, unsigned short)
SwViewImp::FirePageChangeEvent(unsigned short, unsigned short)
SwViewImp::FireSectionChangeEvent(unsigned short, unsigned short)
@@ -172,7 +170,6 @@ TypeManager::decompose(rtl::OUString const&, bool, rtl::OUString*, int*, std::ve
TypeManager::foundAtPrimaryProvider(rtl::OUString const&) const
TypeManager::loadProvider(rtl::OUString const&, bool)
UnoApiTest::closeDocument(com::sun::star::uno::Reference<com::sun::star::lang::XComponent>)
-ValueSet::ImplGetVisibleItem(unsigned short)
VclMultiLineEdit::IsRightToLeft() const
VclMultiLineEdit::SetTextSelectable(bool)
accessibility::AccessibleParaManager::Release(int)
@@ -363,20 +360,16 @@ sfx2::sidebar::EnumContext::GetContext() const
sfx2::sidebar::Paint::Set(sfx2::sidebar::Paint const&)
sfx2::sidebar::Panel::PrintWindowTree()
sfx2::sidebar::SidebarDockingWindow::GetChildWindow()
-sfx2::sidebar::TabBar::GetItemForId(rtl::OUString const&)
std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString const, (anonymous namespace)::TemplateId>, std::_Select1st<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> >, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> > >::_Rb_tree(std::_Rb_tree<rtl::OUString, std::pair<rtl::OUString const, (anonymous namespace)::TemplateId>, std::_Select1st<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> >, std::less<rtl::OUString>, std::allocator<std::pair<rtl::OUString const, (anonymous namespace)::TemplateId> > >&&)
std::auto_ptr<formula::FormulaTokenArray>::auto_ptr(std::auto_ptr<formula::FormulaTokenArray>&)
std::auto_ptr<formula::FormulaTokenArray>::auto_ptr(std::auto_ptr_ref<formula::FormulaTokenArray>)
std::vector<rtl::Reference<oox::xls::(anonymous namespace)::WorkerThread>, std::allocator<rtl::Reference<oox::xls::(anonymous namespace)::WorkerThread> > >::reserve(unsigned long)
svl::SharedStringPool::SharedStringPool()
svx::frame::Style::Style(editeng::SvxBorderLine const&, double, unsigned short)
-sw::access::SwAccessibleChild::GetAnchorPosition() const
utl::MediaDescriptor::PROP_DEEPDETECTION()
utl::toISO8601(com::sun::star::util::Time const&)
vcl::MapChar(vcl::_TrueTypeFont*, unsigned short, int)
writerfilter::WW8TableManager::WW8TableManager()
-writerfilter::dmapper::TrackChangesHandler::TrackChangesHandler(int)
-writerfilter::dmapper::TrackChangesHandler::getRedlineProperties() const
writerfilter::dump(writerfilter::OutputWithDepth<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, char const*, boost::shared_ptr<writerfilter::Reference<writerfilter::BinaryObj> >)
writerfilter::dump(writerfilter::OutputWithDepth<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, char const*, boost::shared_ptr<writerfilter::Reference<writerfilter::Properties> >)
writerfilter::dump(writerfilter::OutputWithDepth<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >&, char const*, rtl::OUString const&)
More information about the Libreoffice-commits
mailing list