diff options
22 files changed, 88 insertions, 626 deletions
diff --git a/compilerplugins/clang/unusedmethods.results b/compilerplugins/clang/unusedmethods.results index 17b6cda32b75..ab53820ef05a 100644 --- a/compilerplugins/clang/unusedmethods.results +++ b/compilerplugins/clang/unusedmethods.results @@ -30,10 +30,6 @@ canvas/source/vcl/impltools.hxx:103 vclcanvas::tools::LocalGuard::LocalGuard() chart2/source/controller/dialogs/tp_3D_SceneIllumination.hxx:77 void chart::ThreeD_SceneIllumination_TabPage::LinkStubfillControlsFromModel(void *,void *) -chart2/source/view/inc/VSeriesPlotter.hxx:61 - _Bool chart::AxesNumberFormats::hasFormat(int,int) const -chart2/source/view/inc/VSeriesPlotter.hxx:65 - int chart::AxesNumberFormats::getFormat(int,int) const connectivity/source/drivers/evoab2/NResultSetMetaData.hxx:51 class com::sun::star::uno::Reference<class com::sun::star::sdbc::XResultSetMetaData> connectivity::evoab::OEvoabResultSetMetaData::operator Reference() connectivity/source/drivers/firebird/Driver.hxx:65 @@ -76,64 +72,6 @@ connectivity/source/inc/OTypeInfo.hxx:47 _Bool connectivity::OTypeInfo::operator!=(const struct connectivity::OTypeInfo &) const cui/source/dialogs/SpellAttrib.hxx:72 _Bool svx::SpellErrorDescription::operator==(const struct svx::SpellErrorDescription &) const -cui/source/inc/backgrnd.hxx:47 - SvxBackgroundTabPage::SvxBackgroundTabPage(class weld::Container *,class weld::DialogController *,const class SfxItemSet &) -cui/source/inc/backgrnd.hxx:48 - class std::unique_ptr<class SfxTabPage, struct std::default_delete<class SfxTabPage> > SvxBackgroundTabPage::Create(class weld::Container *,class weld::DialogController *,const class SfxItemSet *) -cui/source/inc/backgrnd.hxx:52 - const unsigned short * SvxBackgroundTabPage::GetRanges() -cui/source/inc/backgrnd.hxx:60 - void SvxBackgroundTabPage::ShowSelector() -cui/source/inc/backgrnd.hxx:62 - void SvxBackgroundTabPage::ShowTblControl() -cui/source/inc/backgrnd.hxx:133 - void SvxBackgroundTabPage::FillColorValueSets_Impl() -cui/source/inc/backgrnd.hxx:134 - void SvxBackgroundTabPage::ShowColorUI_Impl() -cui/source/inc/backgrnd.hxx:135 - void SvxBackgroundTabPage::HideColorUI_Impl() -cui/source/inc/backgrnd.hxx:136 - void SvxBackgroundTabPage::ShowBitmapUI_Impl() -cui/source/inc/backgrnd.hxx:137 - void SvxBackgroundTabPage::HideBitmapUI_Impl() -cui/source/inc/backgrnd.hxx:138 - _Bool SvxBackgroundTabPage::LoadLinkedGraphic_Impl() -cui/source/inc/backgrnd.hxx:139 - void SvxBackgroundTabPage::RaiseLoadError_Impl() -cui/source/inc/backgrnd.hxx:140 - void SvxBackgroundTabPage::SetGraphicPosition_Impl(enum SvxGraphicPosition) -cui/source/inc/backgrnd.hxx:141 - enum SvxGraphicPosition SvxBackgroundTabPage::GetGraphicPosition_Impl() const -cui/source/inc/backgrnd.hxx:142 - void SvxBackgroundTabPage::FillControls_Impl(const class SvxBrushItem &,const class rtl::OUString &) -cui/source/inc/backgrnd.hxx:145 - void SvxBackgroundTabPage::LinkStubLoadIdleHdl_Impl(void *,class Timer *) -cui/source/inc/backgrnd.hxx:145 - void SvxBackgroundTabPage::LoadIdleHdl_Impl(class Timer *) -cui/source/inc/backgrnd.hxx:146 - void SvxBackgroundTabPage::LinkStubSelectHdl_Impl(void *,class weld::ComboBox &) -cui/source/inc/backgrnd.hxx:146 - void SvxBackgroundTabPage::SelectHdl_Impl(class weld::ComboBox &) -cui/source/inc/backgrnd.hxx:147 - void SvxBackgroundTabPage::BrowseHdl_Impl(class weld::Button &) -cui/source/inc/backgrnd.hxx:147 - void SvxBackgroundTabPage::LinkStubBrowseHdl_Impl(void *,class weld::Button &) -cui/source/inc/backgrnd.hxx:148 - void SvxBackgroundTabPage::RadioClickHdl_Impl(class weld::ToggleButton &) -cui/source/inc/backgrnd.hxx:148 - void SvxBackgroundTabPage::LinkStubRadioClickHdl_Impl(void *,class weld::ToggleButton &) -cui/source/inc/backgrnd.hxx:149 - void SvxBackgroundTabPage::LinkStubFileClickHdl_Impl(void *,class weld::ToggleButton &) -cui/source/inc/backgrnd.hxx:149 - void SvxBackgroundTabPage::FileClickHdl_Impl(class weld::ToggleButton &) -cui/source/inc/backgrnd.hxx:150 - void SvxBackgroundTabPage::LinkStubBackgroundColorHdl_Impl(void *,class SvtValueSet *) -cui/source/inc/backgrnd.hxx:150 - void SvxBackgroundTabPage::BackgroundColorHdl_Impl(class SvtValueSet *) -cui/source/inc/backgrnd.hxx:151 - void SvxBackgroundTabPage::LinkStubTblDestinationHdl_Impl(void *,class weld::ComboBox &) -cui/source/inc/backgrnd.hxx:151 - void SvxBackgroundTabPage::TblDestinationHdl_Impl(class weld::ComboBox &) cui/source/inc/cfg.hxx:335 class rtl::OUString SvxMenuEntriesListBox::get_text(int) cui/source/inc/cfg.hxx:336 @@ -214,10 +152,10 @@ editeng/inc/edtspell.hxx:105 class __gnu_debug::_Safe_iterator<class __gnu_cxx::__normal_iterator<const struct editeng::MisspellRange *, class std::__cxx1998::vector<struct editeng::MisspellRange, class std::allocator<struct editeng::MisspellRange> > >, class std::__debug::vector<struct editeng::MisspellRange, class std::allocator<struct editeng::MisspellRange> >, struct std::random_access_iterator_tag> WrongList::begin() const editeng/inc/edtspell.hxx:106 class __gnu_debug::_Safe_iterator<class __gnu_cxx::__normal_iterator<const struct editeng::MisspellRange *, class std::__cxx1998::vector<struct editeng::MisspellRange, class std::allocator<struct editeng::MisspellRange> > >, class std::__debug::vector<struct editeng::MisspellRange, class std::allocator<struct editeng::MisspellRange> >, struct std::random_access_iterator_tag> WrongList::end() const -extensions/source/propctrlr/inspectorhelpwindow.hxx:43 - long pcr::InspectorHelpWindow::GetMinimalHeightPixel() -extensions/source/propctrlr/inspectorhelpwindow.hxx:44 - long pcr::InspectorHelpWindow::GetOptimalHeightPixel() +extensions/source/propctrlr/inspectorhelpwindow.hxx:48 + long pcr::InspectorHelpWindow::impl_getMinimalTextWindowHeight() +extensions/source/propctrlr/inspectorhelpwindow.hxx:49 + long pcr::InspectorHelpWindow::impl_getMaximalTextWindowHeight() extensions/source/scanner/scanner.hxx:85 void ScannerManager::SetData(void *) framework/inc/tabwin/tabwindow.hxx:64 @@ -442,6 +380,8 @@ include/codemaker/global.hxx:60 class FileStream & operator<<(class FileStream &,const class rtl::OStringBuffer *) include/codemaker/global.hxx:61 class FileStream & operator<<(class FileStream &,const class rtl::OStringBuffer &) +include/comphelper/AccessibleImplementationHelper.hxx:43 + class rtl::OUString comphelper::GetkeyBindingStrByXkeyBinding(const class com::sun::star::uno::Sequence<struct com::sun::star::awt::KeyStroke> &) include/comphelper/asyncquithandler.hxx:45 _Bool AsyncQuitHandler::IsForceQuit() const include/comphelper/automationinvokedzone.hxx:28 @@ -560,7 +500,7 @@ include/connectivity/sqlparse.hxx:191 class rtl::OUString connectivity::OSQLParser::RuleIDToStr(unsigned int) include/drawinglayer/geometry/viewinformation2d.hxx:129 _Bool drawinglayer::geometry::ViewInformation2D::operator!=(const class drawinglayer::geometry::ViewInformation2D &) const -include/drawinglayer/primitive2d/baseprimitive2d.hxx:195 +include/drawinglayer/primitive2d/baseprimitive2d.hxx:143 _Bool drawinglayer::primitive2d::BasePrimitive2D::operator!=(const class drawinglayer::primitive2d::BasePrimitive2D &) const include/drawinglayer/primitive3d/baseprimitive3d.hxx:115 _Bool drawinglayer::primitive3d::BasePrimitive3D::operator!=(const class drawinglayer::primitive3d::BasePrimitive3D &) const @@ -602,7 +542,7 @@ include/o3tl/enumarray.hxx:130 const typename type-parameter-?-?::value_type * o3tl::enumarray_const_iterator::operator->() const include/o3tl/enumarray.hxx:133 _Bool o3tl::enumarray_const_iterator::operator==(const enumarray_const_iterator<EA> &) const -include/o3tl/safeint.hxx:79 +include/o3tl/safeint.hxx:80 typename enable_if<std::is_unsigned<T>::value, type-parameter-?-?>::type o3tl::saturating_sub(type-parameter-?-?,type-parameter-?-?) include/o3tl/sorted_vector.hxx:206 _Bool o3tl::sorted_vector::operator!=(const sorted_vector<Value, Compare, Find, > &) const @@ -676,6 +616,8 @@ include/sfx2/lokcharthelper.hxx:42 void LokChartHelper::Invalidate() include/sfx2/msg.hxx:120 const class std::type_info * SfxType0::Type() const +include/sfx2/sidebar/SidebarToolBox.hxx:57 + class com::sun::star::uno::Reference<class com::sun::star::frame::XToolbarController> sfx2::sidebar::SidebarToolBox::GetFirstController() include/svl/itempool.hxx:171 const type-parameter-?-? * SfxItemPool::GetItem2Default(TypedWhichId<type-parameter-?-?>) const include/svl/itempool.hxx:207 @@ -686,18 +628,10 @@ include/svtools/asynclink.hxx:44 void svtools::AsynchronLink::LinkStubHandleCall_Idle(void *,class Timer *) include/svtools/DocumentToGraphicRenderer.hxx:106 _Bool DocumentToGraphicRenderer::isImpress() const -include/svtools/inettbc.hxx:60 - SvtURLBox::SvtURLBox(class vcl::Window *,long,enum INetProtocol,_Bool) -include/svtools/inettbc.hxx:68 - void SvtURLBox::DisableHistory() -include/svtools/inettbc.hxx:70 - void SvtURLBox::UpdatePickList() -include/svtools/valueset.hxx:338 - void ValueSet::RecalculateItemSizes() -include/svtools/valueset.hxx:364 - void ValueSet::SetColor() -include/svtools/valueset.hxx:390 - void ValueSet::SetDoubleClickHdl(const class Link<class ValueSet *, void> &) +include/svtools/toolbarmenu.hxx:195 + class weld::Container * ToolbarPopupContainer::getContainer() +include/svtools/toolbarmenu.hxx:212 + class weld::Container * InterimToolbarPopup::getContainer() include/svx/autoformathelper.hxx:145 _Bool AutoFormatBase::operator==(const class AutoFormatBase &) include/svx/ClassificationDialog.hxx:77 @@ -710,22 +644,48 @@ include/svx/ClassificationField.hxx:47 const class rtl::OUString & svx::ClassificationResult::getDisplayText() const include/svx/ClassificationField.hxx:52 _Bool svx::ClassificationResult::operator==(const class svx::ClassificationResult &) const +include/svx/colorwindow.hxx:99 + void SvxColorWindow::StartSelection() +include/svx/colorwindow.hxx:109 + void SvxColorWindow::SetSelectedHdl(const class Link<const struct std::pair<class Color, class rtl::OUString> &, void> &) include/svx/DiagramDataInterface.hxx:33 class rtl::OUString DiagramDataInterface::getString() const -include/svx/dlgctrl.hxx:256 - void SvxLineLB::set_sensitive(_Bool) -include/svx/dlgctrl.hxx:257 +include/svx/dlgctrl.hxx:258 _Bool SvxLineLB::get_sensitive() const -include/svx/dlgctrl.hxx:279 +include/svx/dlgctrl.hxx:280 void SvxLineEndLB::set_active_text(const class rtl::OUString &) include/svx/framelink.hxx:194 _Bool svx::frame::operator>(const class svx::frame::Style &,const class svx::frame::Style &) +include/svx/itemwin.hxx:113 + void SvxFillAttrBox::Fill(const class rtl::Reference<class XPatternList> &) include/svx/langbox.hxx:93 void SvxLanguageBox::show() +include/svx/numvset.hxx:67 + SvxNumValueSet::SvxNumValueSet(class vcl::Window *,long) +include/svx/numvset.hxx:68 + void SvxNumValueSet::init(enum NumberingPageType) +include/svx/numvset.hxx:74 + void SvxNumValueSet::SetNumberingSettings(const class com::sun::star::uno::Sequence<class com::sun::star::uno::Sequence<struct com::sun::star::beans::PropertyValue> > &,const class com::sun::star::uno::Reference<class com::sun::star::text::XNumberingFormatter> &,const struct com::sun::star::lang::Locale &) +include/svx/numvset.hxx:80 + void SvxNumValueSet::SetOutlineNumberingSettings(const class com::sun::star::uno::Sequence<class com::sun::star::uno::Reference<class com::sun::star::container::XIndexAccess> > &,const class com::sun::star::uno::Reference<class com::sun::star::text::XNumberingFormatter> &,const struct com::sun::star::lang::Locale &) +include/svx/pagenumberlistbox.hxx:33 + int SvxPageNumberListBox::get_count() const +include/svx/pagenumberlistbox.hxx:36 + int SvxPageNumberListBox::get_active() const +include/svx/pagenumberlistbox.hxx:37 + void SvxPageNumberListBox::set_active(int) +include/svx/relfld.hxx:68 + void RelativeField::set_size_request(int,int) +include/svx/relfld.hxx:69 + class Size RelativeField::get_preferred_size() const include/svx/svdlayer.hxx:74 _Bool SdrLayer::operator==(const class SdrLayer &) const include/svx/svdpntv.hxx:455 _Bool SdrPaintView::IsSwapAsynchron() const +include/svx/tbcontrl.hxx:214 + void SvxColorToolBoxControl::ToolbarHdl_Impl(const class rtl::OString &) +include/svx/tbcontrl.hxx:214 + void SvxColorToolBoxControl::LinkStubToolbarHdl_Impl(void *,const class rtl::OString &) include/svx/txencbox.hxx:92 void SvxTextEncodingBox::grab_focus() include/svx/txencbox.hxx:146 @@ -856,6 +816,8 @@ include/vcl/errcode.hxx:88 _Bool ErrCode::operator>(const class ErrCode &) const include/vcl/errcode.hxx:89 _Bool ErrCode::operator>=(const class ErrCode &) const +include/vcl/field.hxx:152 + _Bool NumericFormatter::IsValueModified() const include/vcl/gdimtf.hxx:110 _Bool GDIMetaFile::operator!=(const class GDIMetaFile &) const include/vcl/gdimtf.hxx:202 @@ -870,6 +832,8 @@ include/vcl/ITiledRenderable.hxx:187 enum PointerStyle vcl::ITiledRenderable::getPointer() include/vcl/lok.hxx:24 void vcl::lok::unregisterPollCallbacks() +include/vcl/lstbox.hxx:160 + int ListBox::GetEntryPos(const void *) const include/vcl/menu.hxx:459 unsigned short MenuBar::AddMenuBarButton(const class Image &,const class Link<struct MenuBar::MenuBarButtonCallbackArg &, _Bool> &,const class rtl::OUString &) include/vcl/menu.hxx:463 @@ -904,7 +868,7 @@ include/vcl/settings.hxx:482 void StyleSettings::SetSpinSize(long) include/vcl/settings.hxx:637 _Bool HelpSettings::operator!=(const class HelpSettings &) const -include/vcl/settings.hxx:692 +include/vcl/settings.hxx:693 _Bool AllSettings::operator!=(const class AllSettings &) const include/vcl/svapp.hxx:170 ApplicationEvent::ApplicationEvent(enum ApplicationEvent::Type,const class std::__debug::vector<class rtl::OUString, class std::allocator<class rtl::OUString> > &) @@ -924,12 +888,12 @@ include/vcl/TaskStopwatch.hxx:118 void TaskStopwatch::setTimeSlice(unsigned int) include/vcl/textrectinfo.hxx:45 _Bool TextRectInfo::operator!=(const class TextRectInfo &) const +include/vcl/toolbox.hxx:369 + void ToolBox::SetItemOverlayImage(unsigned short,const class Image &) include/vcl/treelistbox.hxx:359 void SvTreeListBox::RemoveSelection() include/vcl/treelistbox.hxx:376 const class SvTreeListEntry * SvTreeListBox::GetParent(const class SvTreeListEntry *) const -include/vcl/treelistbox.hxx:547 - _Bool SvTreeListBox::SetCurrentTabPos(unsigned short) include/vcl/txtattr.hxx:56 _Bool TextAttrib::operator!=(const class TextAttrib &) const include/vcl/uitest/uiobject.hxx:274 @@ -1028,9 +992,17 @@ include/vcl/weld.hxx:1845 int weld::TextView::vadjustment_get_lower() const include/vcl/weld.hxx:1939 void weld::Menu::append_check(const class rtl::OUString &,const class rtl::OUString &) -include/vcl/weld.hxx:1971 +include/vcl/weld.hxx:1973 + void weld::Toolbar::set_item_visible(const class rtl::OString &,_Bool) +include/vcl/weld.hxx:1974 + _Bool weld::Toolbar::get_item_visible(const class rtl::OString &) const +include/vcl/weld.hxx:1976 + class rtl::OUString weld::Toolbar::get_item_label(const class rtl::OString &) const +include/vcl/weld.hxx:1980 + void weld::Toolbar::set_item_image(const class rtl::OString &,const class com::sun::star::uno::Reference<class com::sun::star::graphic::XGraphic> &) +include/vcl/weld.hxx:1986 void weld::Toolbar::append_separator(const class rtl::OUString &) -include/vcl/weld.hxx:2017 +include/vcl/weld.hxx:2035 class std::unique_ptr<class weld::Window, struct std::default_delete<class weld::Window> > weld::Builder::weld_window(const class rtl::OString &,_Bool) include/vcl/window.hxx:410 const char * ImplDbgCheckWindow(const void *) @@ -1101,15 +1073,13 @@ sc/inc/formulacell.hxx:489 sc/inc/mtvcellfunc.hxx:41 class mdds::detail::mtv::iterator_base<struct mdds::multi_type_vector<struct mdds::mtv::custom_block_func3<struct mdds::mtv::default_element_block<52, class svl::SharedString>, struct mdds::mtv::noncopyable_managed_element_block<53, class EditTextObject>, struct mdds::mtv::noncopyable_managed_element_block<54, class ScFormulaCell> >, class sc::CellStoreEvent>::iterator_trait, struct mdds::detail::mtv::private_data_forward_update<struct mdds::detail::mtv::iterator_value_node<unsigned long, struct mdds::mtv::base_element_block> > > sc::ProcessFormula(const class mdds::detail::mtv::iterator_base<struct mdds::multi_type_vector<struct mdds::mtv::custom_block_func3<struct mdds::mtv::default_element_block<52, class svl::SharedString>, struct mdds::mtv::noncopyable_managed_element_block<53, class EditTextObject>, struct mdds::mtv::noncopyable_managed_element_block<54, class ScFormulaCell> >, class sc::CellStoreEvent>::iterator_trait, struct mdds::detail::mtv::private_data_forward_update<struct mdds::detail::mtv::iterator_value_node<unsigned long, struct mdds::mtv::base_element_block> > > &,class mdds::multi_type_vector<struct mdds::mtv::custom_block_func3<struct mdds::mtv::default_element_block<52, class svl::SharedString>, struct mdds::mtv::noncopyable_managed_element_block<53, class EditTextObject>, struct mdds::mtv::noncopyable_managed_element_block<54, class ScFormulaCell> >, class sc::CellStoreEvent> &,int,int,class std::function<void (unsigned long, class ScFormulaCell *)>) sc/inc/mtvelements.hxx:73 - struct mdds::mtv::base_element_block * sc::mdds_mtv_create_new_block(const struct sc::CellTextAttr &,const type-parameter-?-? &,const type-parameter-?-? &) -sc/inc/mtvelements.hxx:73 void sc::mdds_mtv_insert_values(struct mdds::mtv::base_element_block &,unsigned long,const struct sc::CellTextAttr &,const type-parameter-?-? &,const type-parameter-?-? &) -sc/inc/mtvelements.hxx:77 - void mdds_mtv_insert_values(struct mdds::mtv::base_element_block &,unsigned long,const class ScPostIt *,const type-parameter-?-? &,const type-parameter-?-? &) +sc/inc/mtvelements.hxx:73 + struct mdds::mtv::base_element_block * sc::mdds_mtv_create_new_block(const struct sc::CellTextAttr &,const type-parameter-?-? &,const type-parameter-?-? &) sc/inc/mtvelements.hxx:77 struct mdds::mtv::base_element_block * mdds_mtv_create_new_block(const class ScPostIt *,const type-parameter-?-? &,const type-parameter-?-? &) -sc/inc/mtvelements.hxx:78 - void mdds_mtv_assign_values(struct mdds::mtv::base_element_block &,const class SvtBroadcaster *,const type-parameter-?-? &,const type-parameter-?-? &) +sc/inc/mtvelements.hxx:77 + void mdds_mtv_insert_values(struct mdds::mtv::base_element_block &,unsigned long,const class ScPostIt *,const type-parameter-?-? &,const type-parameter-?-? &) sc/inc/mtvelements.hxx:78 void mdds_mtv_set_values(struct mdds::mtv::base_element_block &,unsigned long,const class SvtBroadcaster *,const type-parameter-?-? &,const type-parameter-?-? &) sc/inc/mtvelements.hxx:78 @@ -1119,6 +1089,8 @@ sc/inc/mtvelements.hxx:78 sc/inc/mtvelements.hxx:78 void mdds_mtv_append_values(struct mdds::mtv::base_element_block &,const class SvtBroadcaster *,const type-parameter-?-? &,const type-parameter-?-? &) sc/inc/mtvelements.hxx:78 + void mdds_mtv_assign_values(struct mdds::mtv::base_element_block &,const class SvtBroadcaster *,const type-parameter-?-? &,const type-parameter-?-? &) +sc/inc/mtvelements.hxx:78 void mdds_mtv_prepend_values(struct mdds::mtv::base_element_block &,const class SvtBroadcaster *,const type-parameter-?-? &,const type-parameter-?-? &) sc/inc/mtvelements.hxx:79 void mdds_mtv_insert_values(struct mdds::mtv::base_element_block &,unsigned long,const class ScFormulaCell *,const type-parameter-?-? &,const type-parameter-?-? &) @@ -1214,13 +1186,13 @@ sc/source/core/opencl/formulagroupcl.cxx:1380 _Bool sc::opencl::(anonymous namespace)::ParallelReductionVectorRef::GetEndFixed() const sc/source/core/opencl/op_statistical.hxx:206 sc::opencl::OpGeoMean::OpGeoMean() -sc/source/core/tool/interpr1.cxx:4161 +sc/source/core/tool/interpr1.cxx:4164 double ::operator()(double,unsigned long) const -sc/source/core/tool/interpr1.cxx:6503 +sc/source/core/tool/interpr1.cxx:6506 double ::operator()(const struct sc::ParamIfsResult &) const -sc/source/core/tool/scmatrix.cxx:2274 +sc/source/core/tool/scmatrix.cxx:2298 type-parameter-?-? * (anonymous namespace)::wrapped_iterator::operator->() const -sc/source/core/tool/scmatrix.cxx:3280 +sc/source/core/tool/scmatrix.cxx:3304 const class svl::SharedString & matop::(anonymous namespace)::COp::operator()(char,type-parameter-?-?,double,double,const class svl::SharedString &) const sc/source/filter/inc/htmlpars.hxx:60 void ScHTMLStyles::add(const char *,unsigned long,const char *,unsigned long,const class rtl::OUString &,const class rtl::OUString &) @@ -1266,6 +1238,8 @@ sc/source/ui/inc/viewdata.hxx:407 long ScViewData::GetLOKDocHeightPixel() const sc/source/ui/inc/viewdata.hxx:538 _Bool ScViewData::IsGridMode() const +sc/source/ui/sidebar/AlignmentPropertyPanel.hxx:109 + void sc::sidebar::AlignmentPropertyPanel::FormatDegrees(double &) scaddins/source/analysis/analysishelper.hxx:801 _Bool sca::analysis::ScaDate::operator>=(const class sca::analysis::ScaDate &) const sccomp/source/solver/DifferentialEvolution.hxx:67 @@ -1356,17 +1330,17 @@ slideshow/source/engine/activities/activitiesfactory.cxx:568 void slideshow::internal::(anonymous namespace)::ValuesActivity::perform(unsigned int,unsigned int) const slideshow/source/engine/activities/activitiesfactory.cxx:583 void slideshow::internal::(anonymous namespace)::ValuesActivity::performEnd() -slideshow/source/engine/animationfactory.cxx:441 +slideshow/source/engine/animationfactory.cxx:439 void slideshow::internal::(anonymous namespace)::GenericAnimation::prefetch() -slideshow/source/engine/animationfactory.cxx:444 +slideshow/source/engine/animationfactory.cxx:442 void slideshow::internal::(anonymous namespace)::GenericAnimation::start(const class std::shared_ptr<class slideshow::internal::AnimatableShape> &,const class std::shared_ptr<class slideshow::internal::ShapeAttributeLayer> &) -slideshow/source/engine/animationfactory.cxx:517 +slideshow/source/engine/animationfactory.cxx:515 _Bool slideshow::internal::(anonymous namespace)::GenericAnimation::operator()(const typename type-parameter-?-?::ValueType &) -slideshow/source/engine/animationfactory.cxx:532 +slideshow/source/engine/animationfactory.cxx:530 _Bool slideshow::internal::(anonymous namespace)::GenericAnimation::operator()(typename type-parameter-?-?::ValueType) -slideshow/source/engine/animationfactory.cxx:545 +slideshow/source/engine/animationfactory.cxx:543 typename type-parameter-?-?::ValueType slideshow::internal::(anonymous namespace)::GenericAnimation::getUnderlyingValue() const -slideshow/source/engine/opengl/TransitionImpl.hxx:180 +slideshow/source/engine/opengl/TransitionImpl.hxx:183 void OGLTransitionImpl::cleanup() slideshow/source/inc/listenercontainer.hxx:45 _Bool slideshow::internal::FunctionApply::apply(type-parameter-?-?,const class std::shared_ptr<class slideshow::internal::PauseEventHandler> &) @@ -1408,8 +1382,10 @@ svl/source/misc/gridprinter.cxx:47 void rtl::mdds_mtv_append_values(struct mdds::mtv::base_element_block &,const class rtl::OUString &,const type-parameter-?-? &,const type-parameter-?-? &) svl/source/misc/gridprinter.cxx:47 void rtl::mdds_mtv_insert_values(struct mdds::mtv::base_element_block &,unsigned long,const class rtl::OUString &,const type-parameter-?-? &,const type-parameter-?-? &) -svx/inc/sdr/contact/viewcontactofgraphic.hxx:56 +svx/inc/sdr/contact/viewcontactofgraphic.hxx:54 class SdrGrafObj & sdr::contact::ViewContactOfGraphic::GetGrafObject() +svx/source/sidebar/possize/PosSizePropertyPanel.hxx:156 + void svx::sidebar::PosSizePropertyPanel::LinkStubRotationHdl(void *,class svx::DialControl *) svx/source/svdraw/svdpdf.hxx:92 double ImpSdrPdfImport::Matrix::b() const svx/source/svdraw/svdpdf.hxx:94 @@ -1648,6 +1624,8 @@ vcl/inc/fontinstance.hxx:93 void LogicalFontInstance::ReleaseHbFont() vcl/inc/fontselect.hxx:48 _Bool FontSelectPattern::operator!=(const class FontSelectPattern &) const +vcl/inc/headless/svpgdi.hxx:248 + void SvpSalGraphics::drawBitmap(const struct SalTwoRect &,const struct BitmapBuffer *,enum _cairo_operator) vcl/inc/impgraph.hxx:59 _Bool GraphicID::operator==(const class GraphicID &) const vcl/inc/opengl/BufferObject.hxx:50 @@ -1680,32 +1658,6 @@ vcl/inc/PhysicalFontFace.hxx:69 void PhysicalFontFace::SetBitmapSize(int,int) vcl/inc/PhysicalFontFamily.hxx:60 const class rtl::OUString & PhysicalFontFamily::GetAliasNames() const -vcl/inc/qt5/Qt5AccessibleWidget.hxx:76 - class QAccessibleValueInterface * Qt5AccessibleWidget::valueInterface() -vcl/inc/qt5/Qt5AccessibleWidget.hxx:77 - class QAccessibleTextInterface * Qt5AccessibleWidget::textInterface() -vcl/inc/qt5/Qt5DragAndDrop.hxx:49 - void Qt5DragSource::deinitialize() -vcl/inc/qt5/Qt5DragAndDrop.hxx:80 - void Qt5DropTarget::deinitialize() -vcl/inc/qt5/Qt5FontFace.hxx:37 - class Qt5FontFace * Qt5FontFace::fromQFont(const class QFont &) -vcl/inc/qt5/Qt5FontFace.hxx:43 - int Qt5FontFace::GetFontTable(const char *,unsigned char *) const -vcl/inc/qt5/Qt5FontFace.hxx:47 - _Bool Qt5FontFace::HasChar(unsigned int) const -vcl/inc/qt5/Qt5Frame.hxx:135 - void Qt5Frame::TriggerPaintEvent() -vcl/inc/qt5/Qt5Frame.hxx:136 - void Qt5Frame::TriggerPaintEvent(class QRect) -vcl/inc/qt5/Qt5Frame.hxx:162 - void Qt5Frame::deregisterDragSource(const class Qt5DragSource *) -vcl/inc/qt5/Qt5Frame.hxx:164 - void Qt5Frame::deregisterDropTarget(const class Qt5DropTarget *) -vcl/inc/qt5/Qt5Frame.hxx:217 - struct _cairo * Qt5Frame::getCairoContext() const -vcl/inc/qt5/Qt5Painter.hxx:56 - void Qt5Painter::update() vcl/inc/regionband.hxx:27 const char * ImplDbgTestRegionBand(const void *) vcl/inc/salgdi.hxx:215 @@ -1728,10 +1680,12 @@ vcl/inc/schedulerimpl.hxx:38 const char * ImplSchedulerData::GetDebugName() const vcl/inc/skia/gdiimpl.hxx:195 void SkiaSalGraphicsImpl::dump(const char *) const -vcl/inc/skia/salbmp.hxx:67 +vcl/inc/skia/salbmp.hxx:69 void SkiaSalBitmap::dump(const char *) const vcl/inc/skia/utils.hxx:47 void SkiaHelper::dump(const class SkBitmap &,const char *) +vcl/inc/svimpbox.hxx:334 + _Bool SvImpLBox::SetCurrentTabPos(unsigned short) vcl/inc/unx/glyphcache.hxx:108 void FreetypeManager::ClearFontOptions() vcl/inc/unx/gtk/gtkframe.hxx:216 @@ -1742,7 +1696,7 @@ vcl/inc/unx/salframe.h:184 enum SalFrameStyleFlags X11SalFrame::GetStyle() const vcl/qa/cppunit/lifecycle.cxx:234 (anonymous namespace)::LeakTestClass::LeakTestClass(_Bool &,type-parameter-?-? &&...) -vcl/skia/salbmp.cxx:364 +vcl/skia/salbmp.cxx:422 void ::operator()(void *,void *) const vcl/source/app/scheduler.cxx:83 basic_ostream<type-parameter-?-?, type-parameter-?-?> & (anonymous namespace)::operator<<(basic_ostream<type-parameter-?-?, type-parameter-?-?> &,const class Idle &) diff --git a/extensions/source/propctrlr/inspectorhelpwindow.cxx b/extensions/source/propctrlr/inspectorhelpwindow.cxx index beaecec3502a..427366e25f91 100644 --- a/extensions/source/propctrlr/inspectorhelpwindow.cxx +++ b/extensions/source/propctrlr/inspectorhelpwindow.cxx @@ -47,16 +47,6 @@ namespace pcr m_nMaxLines = nMaxLines; } - long InspectorHelpWindow::impl_getMinimalTextWindowHeight() - { - return m_xHelpText->get_height_rows(m_nMinLines); - } - - long InspectorHelpWindow::impl_getMaximalTextWindowHeight() - { - return m_xHelpText->get_height_rows(m_nMaxLines); - } - } // namespace pcr /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/extensions/source/propctrlr/inspectorhelpwindow.hxx b/extensions/source/propctrlr/inspectorhelpwindow.hxx index 47041e33e0fa..b67fee9df216 100644 --- a/extensions/source/propctrlr/inspectorhelpwindow.hxx +++ b/extensions/source/propctrlr/inspectorhelpwindow.hxx @@ -43,10 +43,6 @@ namespace pcr void Show(bool bShow) { m_xHelpFrame->set_visible(bShow); } bool IsVisible() const { return m_xHelpFrame->get_visible(); } - - private: - long impl_getMinimalTextWindowHeight(); - long impl_getMaximalTextWindowHeight(); }; } // namespace pcr diff --git a/include/sfx2/sidebar/SidebarToolBox.hxx b/include/sfx2/sidebar/SidebarToolBox.hxx index 75aece3e344d..9808eb581edc 100644 --- a/include/sfx2/sidebar/SidebarToolBox.hxx +++ b/include/sfx2/sidebar/SidebarToolBox.hxx @@ -54,8 +54,6 @@ public: void SetController(const sal_uInt16 nItemId, const css::uno::Reference<css::frame::XToolbarController>& rxController); - css::uno::Reference<css::frame::XToolbarController> GetFirstController(); - void InitToolBox(VclBuilder::stringmap& rMap); protected: diff --git a/include/svx/colorwindow.hxx b/include/svx/colorwindow.hxx index c6e1f247cfae..6f2054082f54 100644 --- a/include/svx/colorwindow.hxx +++ b/include/svx/colorwindow.hxx @@ -96,7 +96,6 @@ public: ColorSelectFunction const& rColorSelectFunction); virtual ~SvxColorWindow() override; virtual void dispose() override; - void StartSelection(); void SetNoSelection(); bool IsNoSelection() const; void SelectEntry(const NamedColor& rColor); @@ -105,8 +104,6 @@ public: virtual void KeyInput( const KeyEvent& rKEvt ) override; virtual void statusChanged( const css::frame::FeatureStateEvent& rEvent ) override; - - void SetSelectedHdl( const Link<const NamedColor&, void>& rLink ) { maSelectedLink = rLink; } }; class SvxColorToolBoxControl; diff --git a/include/svx/numvset.hxx b/include/svx/numvset.hxx index 12b5a83b6492..1eaa4390cb39 100644 --- a/include/svx/numvset.hxx +++ b/include/svx/numvset.hxx @@ -46,44 +46,6 @@ enum class NumberingPageType BITMAP }; -class SvxNumValueSet final : public ValueSet -{ - NumberingPageType ePageType; - tools::Rectangle aOrgRect; - VclPtr<VirtualDevice> pVDev; - - css::uno::Reference<css::text::XNumberingFormatter> xFormatter; - css::lang::Locale aLocale; - - css::uno::Sequence< - css::uno::Sequence< - css::beans::PropertyValue> > aNumSettings; - - css::uno::Sequence< - css::uno::Reference< - css::container::XIndexAccess> > aOutlineSettings; - -public: - SvxNumValueSet(vcl::Window* pParent, WinBits nWinBits); - void init(NumberingPageType eType); - virtual ~SvxNumValueSet() override; - virtual void dispose() override; - - virtual void UserDraw( const UserDrawEvent& rUDEvt ) override; - - void SetNumberingSettings( - const css::uno::Sequence< - css::uno::Sequence<css::beans::PropertyValue> >& aNum, - css::uno::Reference<css::text::XNumberingFormatter> const & xFormatter, - const css::lang::Locale& rLocale ); - - void SetOutlineNumberingSettings( - css::uno::Sequence< - css::uno::Reference<css::container::XIndexAccess> > const & rOutline, - css::uno::Reference<css::text::XNumberingFormatter> const & xFormatter, - const css::lang::Locale& rLocale); -}; - class SVX_DLLPUBLIC NumValueSet : public SvtValueSet { NumberingPageType ePageType; diff --git a/include/svx/tbcontrl.hxx b/include/svx/tbcontrl.hxx index e812ce4685d8..8e5859903878 100644 --- a/include/svx/tbcontrl.hxx +++ b/include/svx/tbcontrl.hxx @@ -211,7 +211,6 @@ class SVX_DLLPUBLIC SvxColorToolBoxControl final : public cppu::ImplInheritanceH sal_uInt16 m_nSlotId; ColorSelectFunction m_aColorSelectFunction; DECL_LINK(SelectedHdl, const NamedColor&, void); - DECL_LINK(ToolbarHdl_Impl, const OString&, void); public: explicit SvxColorToolBoxControl( const css::uno::Reference<css::uno::XComponentContext>& rContext ); diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx index 64214c54adcf..132f4cda065e 100644 --- a/include/vcl/field.hxx +++ b/include/vcl/field.hxx @@ -149,7 +149,6 @@ public: virtual void SetValue( sal_Int64 nNewValue ); sal_Int64 GetValue() const; virtual OUString CreateFieldText( sal_Int64 nValue ) const; - bool IsValueModified() const; sal_Int64 Normalize( sal_Int64 nValue ) const; sal_Int64 Denormalize( sal_Int64 nValue ) const; diff --git a/include/vcl/lstbox.hxx b/include/vcl/lstbox.hxx index 9a0153d89e0a..3cf7d2d958b6 100644 --- a/include/vcl/lstbox.hxx +++ b/include/vcl/lstbox.hxx @@ -157,7 +157,6 @@ public: void Clear(); sal_Int32 GetEntryPos( const OUString& rStr ) const; - sal_Int32 GetEntryPos( const void* pData ) const; Image GetEntryImage( sal_Int32 nPos ) const; OUString GetEntry( sal_Int32 nPos ) const; sal_Int32 GetEntryCount() const; diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx index 56fe90bff710..4ead8d1eaa9f 100644 --- a/include/vcl/toolbox.hxx +++ b/include/vcl/toolbox.hxx @@ -366,7 +366,6 @@ public: void SetItemData( sal_uInt16 nItemId, void* pNewData ); void* GetItemData( sal_uInt16 nItemId ) const; void SetItemImage( sal_uInt16 nItemId, const Image& rImage ); - void SetItemOverlayImage( sal_uInt16 nItemId, const Image& rImage ); Image GetItemImage( sal_uInt16 nItemId ) const; void SetItemImageAngle( sal_uInt16 nItemId, long nAngle10 ); void SetItemImageMirrorMode( sal_uInt16 nItemId, bool bMirror ); diff --git a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx index 20e6fc76de0c..443f5a1109c2 100644 --- a/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx +++ b/sc/source/ui/sidebar/AlignmentPropertyPanel.cxx @@ -360,14 +360,6 @@ void AlignmentPropertyPanel::NotifyItemUpdate( } } -void AlignmentPropertyPanel::FormatDegrees(double& dTmp) -{ - while(dTmp<0) - dTmp += 360; - while (dTmp > 359) //modify - dTmp = 359; -} - // namespace close }} // end of namespace ::sc::sidebar diff --git a/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx b/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx index 5087fdda7814..1d467bf988b3 100644 --- a/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx +++ b/sc/source/ui/sidebar/AlignmentPropertyPanel.hxx @@ -106,7 +106,6 @@ private: DECL_LINK( ReferenceEdgeHdl, weld::ToggleButton&, void ); void Initialize(); - static void FormatDegrees(double& dTmp); }; } } // end of namespace ::sc::sidebar diff --git a/sfx2/source/sidebar/SidebarToolBox.cxx b/sfx2/source/sidebar/SidebarToolBox.cxx index 32c3876da73c..8acd83f0aae0 100644 --- a/sfx2/source/sidebar/SidebarToolBox.cxx +++ b/sfx2/source/sidebar/SidebarToolBox.cxx @@ -192,14 +192,6 @@ void SidebarToolBox::SetController(const sal_uInt16 nItemId, RegisterHandlers(); } -css::uno::Reference<css::frame::XToolbarController> SidebarToolBox::GetFirstController() -{ - if (maControllers.empty()) - return css::uno::Reference<css::frame::XToolbarController>(); - - return maControllers.begin()->second; -} - void SidebarToolBox::RegisterHandlers() { if ( ! mbAreHandlersRegistered) diff --git a/svx/source/dialog/svxbmpnumvalueset.cxx b/svx/source/dialog/svxbmpnumvalueset.cxx index 8a8b72bf53dd..703dfceb1aa9 100644 --- a/svx/source/dialog/svxbmpnumvalueset.cxx +++ b/svx/source/dialog/svxbmpnumvalueset.cxx @@ -110,276 +110,6 @@ static void lcl_PaintLevel(OutputDevice* pVDev, sal_Int16 nNumberingType, rLeft.AdjustX(pVDev->GetTextWidth(rText) ); } } -void SvxNumValueSet::UserDraw( const UserDrawEvent& rUDEvt ) -{ - static const sal_uInt16 aLinesArr[] = - { - 15, 10, - 20, 30, - 25, 50, - 30, 70, - 35, 90, // up to here line positions - 5, 10, // character positions - 10, 30, - 15, 50, - 20, 70, - 25, 90, - }; - - const Color aBackColor(COL_WHITE); - const Color aTextColor(COL_BLACK); - - vcl::RenderContext* pDev = rUDEvt.GetRenderContext(); - tools::Rectangle aRect = rUDEvt.GetRect(); - sal_uInt16 nItemId = rUDEvt.GetItemId(); - - long nRectWidth = aRect.GetWidth(); - long nRectHeight = aRect.GetHeight(); - Size aRectSize(nRectWidth, aRect.GetHeight()); - Point aBLPos = aRect.TopLeft(); - vcl::Font aOldFont = pDev->GetFont(); - Color aOldColor = pDev->GetLineColor(); - pDev->SetLineColor(aTextColor); - vcl::Font aFont(OutputDevice::GetDefaultFont( - DefaultFontType::UI_SANS, MsLangId::getSystemLanguage(), GetDefaultFontFlags::OnlyOne)); - - Size aSize = aFont.GetFontSize(); - - vcl::Font aRuleFont( lcl_GetDefaultBulletFont() ); - aSize.setHeight( nRectHeight/6 ); - aRuleFont.SetFontSize(aSize); - aRuleFont.SetColor(aTextColor); - aRuleFont.SetFillColor(aBackColor); - if(ePageType == NumberingPageType::BULLET) - aFont = aRuleFont; - else if(ePageType == NumberingPageType::OUTLINE) - { - aSize.setHeight( nRectHeight/8 ); - } - aFont.SetColor(aTextColor); - aFont.SetFillColor(aBackColor); - aFont.SetFontSize( aSize ); - pDev->SetFont(aFont); - - if(!pVDev) - { - // The lines are only one time in the virtual device, only the outline - // page is currently done - pVDev = VclPtr<VirtualDevice>::Create(*pDev); - pVDev->SetMapMode(pDev->GetMapMode()); - pVDev->EnableRTL( IsRTLEnabled() ); - pVDev->SetOutputSize( aRectSize ); - aOrgRect = aRect; - pVDev->SetFillColor( aBackColor ); - pVDev->SetLineColor(COL_LIGHTGRAY); - // Draw line only once - if(ePageType != NumberingPageType::OUTLINE) - { - Point aStart(aBLPos.X() + nRectWidth *25 / 100,0); - Point aEnd(aBLPos.X() + nRectWidth * 9 / 10,0); - for( sal_uInt16 i = 11; i < 100; i += 33) - { - aStart.setY( aBLPos.Y() + nRectHeight * i / 100 ); - aEnd.setY( aStart.Y() ); - pVDev->DrawLine(aStart, aEnd); - aStart.setY( aBLPos.Y() + nRectHeight * (i + 11) / 100 ); - aEnd.setY( aStart.Y() ); - pVDev->DrawLine(aStart, aEnd); - } - } - } - pDev->DrawOutDev( aRect.TopLeft(), aRectSize, - aOrgRect.TopLeft(), aRectSize, - *pVDev ); - // Now comes the text - const OUString sValue("Value"); - if( NumberingPageType::SINGLENUM == ePageType || - NumberingPageType::BULLET == ePageType ) - { - Point aStart(aBLPos.X() + nRectWidth / 9,0); - for( sal_uInt16 i = 0; i < 3; i++ ) - { - sal_uInt16 nY = 11 + i * 33; - aStart.setY( aBLPos.Y() + nRectHeight * nY / 100 ); - OUString sText; - if(ePageType == NumberingPageType::BULLET) - { - sText = OUString( aBulletTypes[nItemId - 1] ); - aStart.AdjustY( -(pDev->GetTextHeight()/2) ); - aStart.setX( aBLPos.X() + 5 ); - } - else - { - if(xFormatter.is() && aNumSettings.getLength() > nItemId - 1) - { - Sequence<PropertyValue> aLevel = aNumSettings.getConstArray()[nItemId - 1]; - try - { - aLevel.realloc(aLevel.getLength() + 1); - PropertyValue& rValue = aLevel.getArray()[aLevel.getLength() - 1]; - rValue.Name = sValue; - rValue.Value <<= static_cast<sal_Int32>(i + 1); - sText = xFormatter->makeNumberingString( aLevel, aLocale ); - } - catch(Exception&) - { - OSL_FAIL("Exception in DefaultNumberingProvider::makeNumberingString"); - } - } - // start just next to the left edge - aStart.setX( aBLPos.X() + 2 ); - aStart.AdjustY( -(pDev->GetTextHeight()/2) ); - } - pDev->DrawText(aStart, sText); - } - } - else if(NumberingPageType::OUTLINE == ePageType ) - { - // Outline numbering has to be painted into the virtual device - // to get correct lines - // has to be made again - pVDev->SetLineColor(aBackColor); - pVDev->DrawRect(aOrgRect); - long nStartX = aOrgRect.TopLeft().X(); - long nStartY = aOrgRect.TopLeft().Y(); - - if(xFormatter.is() && aOutlineSettings.getLength() > nItemId - 1) - { - Reference<XIndexAccess> xLevel = aOutlineSettings.getArray()[nItemId - 1]; - try - { - OUString sLevelTexts[5]; - OUString sFontNames[5]; - OUString sBulletChars[5]; - sal_Int16 aNumberingTypes[5]; - OUString sPrefixes[5]; - OUString sSuffixes[5]; - sal_Int16 aParentNumberings[5]; - - sal_Int32 nLevelCount = xLevel->getCount(); - if(nLevelCount > 5) - nLevelCount = 5; - for( sal_Int32 i = 0; i < nLevelCount; i++) - { - long nTop = nStartY + nRectHeight * (aLinesArr[2 * i + 11])/100 ; - Point aLeft(nStartX + nRectWidth * (aLinesArr[2 * i + 10])/ 100, nTop ); - - Any aLevelAny = xLevel->getByIndex(i); - Sequence<PropertyValue> aLevel; - aLevelAny >>= aLevel; - const PropertyValue* pValues = aLevel.getConstArray(); - aNumberingTypes[i] = 0; - aParentNumberings[i] = 0; - for(sal_Int32 nProperty = 0; nProperty < aLevel.getLength() - 1; nProperty++) - { - if ( pValues[nProperty].Name == "NumberingType" ) - pValues[nProperty].Value >>= aNumberingTypes[i]; - else if ( pValues[nProperty].Name == "BulletFontName" ) - pValues[nProperty].Value >>= sFontNames[i]; - else if ( pValues[nProperty].Name == "BulletChar" ) - pValues[nProperty].Value >>= sBulletChars[i]; - else if ( pValues[nProperty].Name == "Prefix" ) - pValues[nProperty].Value >>= sPrefixes[i]; - else if ( pValues[nProperty].Name == "Suffix" ) - pValues[nProperty].Value >>= sSuffixes[i]; - else if ( pValues[nProperty].Name == "ParentNumbering" ) - pValues[nProperty].Value >>= aParentNumberings[i]; - } - Sequence< PropertyValue > aProperties(2); - PropertyValue* pProperties = aProperties.getArray(); - pProperties[0].Name = "NumberingType"; - pProperties[0].Value <<= aNumberingTypes[i]; - pProperties[1].Name = "Value"; - pProperties[1].Value <<= sal_Int32(1); - try - { - sLevelTexts[i] = xFormatter->makeNumberingString( aProperties, aLocale ); - } - catch(Exception&) - { - OSL_FAIL("Exception in DefaultNumberingProvider::makeNumberingString"); - } - - aLeft.AdjustY( -(pDev->GetTextHeight()/2) ); - if(!sPrefixes[i].isEmpty() && - sPrefixes[i] != " ") - { - pVDev->SetFont(aFont); - pVDev->DrawText(aLeft, sPrefixes[i]); - aLeft.AdjustX(pDev->GetTextWidth(sPrefixes[i]) ); - } - if(aParentNumberings[i]) - { - //insert old numberings here - sal_Int32 nStartLevel = std::min(static_cast<sal_Int32>(aParentNumberings[i]), i); - for(sal_Int32 nParentLevel = i - nStartLevel; nParentLevel < i; nParentLevel++) - { - OUString sTmp = sLevelTexts[nParentLevel] + "."; - lcl_PaintLevel(pVDev, - aNumberingTypes[nParentLevel], - sBulletChars[nParentLevel], - sTmp, - sFontNames[nParentLevel], - aLeft, - aRuleFont, - aFont); - } - } - lcl_PaintLevel(pVDev, - aNumberingTypes[i], - sBulletChars[i], - sLevelTexts[i], - sFontNames[i], - aLeft, - aRuleFont, - aFont); - if(!sSuffixes[i].isEmpty() && - !sSuffixes[i].startsWith(" ")) - { - pVDev->SetFont(aFont); - pVDev->DrawText(aLeft, sSuffixes[i]); - aLeft.AdjustX(pDev->GetTextWidth(sSuffixes[i]) ); - } - - long nLineTop = nStartY + nRectHeight * aLinesArr[2 * i + 1]/100 ; - Point aLineLeft(aLeft.X(), nLineTop ); - Point aLineRight(nStartX + nRectWidth * 90 /100, nLineTop ); - pVDev->SetLineColor(COL_LIGHTGRAY); - pVDev->DrawLine(aLineLeft, aLineRight); - } - - } -#ifdef DBG_UTIL - catch(Exception&) - { - static bool bAssert = false; - if(!bAssert) - { - OSL_FAIL("exception in ::UserDraw"); - bAssert = true; - } - } -#else - catch(Exception&) - { - } -#endif - } - pDev->DrawOutDev( aRect.TopLeft(), aRectSize, - aOrgRect.TopLeft(), aRectSize, - *pVDev ); - } - - pDev->SetFont(aOldFont); - pDev->SetLineColor(aOldColor); -} - -SvxNumValueSet::SvxNumValueSet(vcl::Window* pParent, WinBits nWinBits) - : ValueSet(pParent, nWinBits) - , ePageType(NumberingPageType::BULLET) - , pVDev(nullptr) -{ -} static const char* RID_SVXSTR_BULLET_DESCRIPTIONS[] = { @@ -417,71 +147,6 @@ static const char* RID_SVXSTR_OUTLINENUM_DESCRIPTIONS[] = RID_SVXSTR_OUTLINENUM_DESCRIPTION_7 }; -void SvxNumValueSet::init(NumberingPageType eType) -{ - ePageType = eType; - pVDev = nullptr; - - SetColCount( 4 ); - SetLineCount( 2 ); - SetStyle( GetStyle() | WB_ITEMBORDER | WB_DOUBLEBORDER ); - if(NumberingPageType::BULLET == eType) - { - for ( sal_uInt16 i = 0; i < 8; i++ ) - { - InsertItem( i + 1, i ); - SetItemText(i + 1, SvxResId(RID_SVXSTR_BULLET_DESCRIPTIONS[i])); - } - } -} - -SvxNumValueSet::~SvxNumValueSet() -{ - disposeOnce(); -} - -void SvxNumValueSet::dispose() -{ - pVDev.disposeAndClear(); - ValueSet::dispose(); -} - -void SvxNumValueSet::SetNumberingSettings( - const Sequence<Sequence<PropertyValue> >& aNum, - Reference<XNumberingFormatter> const & xFormat, - const Locale& rLocale ) -{ - aNumSettings = aNum; - xFormatter = xFormat; - aLocale = rLocale; - if(aNum.getLength() > 8) - SetStyle( GetStyle()|WB_VSCROLL); - for ( sal_Int32 i = 0; i < aNum.getLength(); i++ ) - { - InsertItem( i + 1, i ); - if( i < 8 ) - SetItemText(i + 1, SvxResId(RID_SVXSTR_SINGLENUM_DESCRIPTIONS[i])); - } -} - -void SvxNumValueSet::SetOutlineNumberingSettings( - Sequence<Reference<XIndexAccess> > const & rOutline, - Reference<XNumberingFormatter> const & xFormat, - const Locale& rLocale) -{ - aOutlineSettings = rOutline; - xFormatter = xFormat; - aLocale = rLocale; - if(aOutlineSettings.getLength() > 8) - SetStyle( GetStyle() | WB_VSCROLL ); - for ( sal_Int32 i = 0; i < aOutlineSettings.getLength(); i++ ) - { - InsertItem( i + 1, i ); - if( i < 8 ) - SetItemText(i + 1, SvxResId(RID_SVXSTR_OUTLINENUM_DESCRIPTIONS[i])); - } -} - void NumValueSet::UserDraw( const UserDrawEvent& rUDEvt ) { static const sal_uInt16 aLinesArr[] = diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx index a06ecc0c7395..a0d030172cef 100644 --- a/svx/source/sidebar/possize/PosSizePropertyPanel.cxx +++ b/svx/source/sidebar/possize/PosSizePropertyPanel.cxx @@ -453,20 +453,6 @@ IMPL_LINK_NOARG( PosSizePropertyPanel, AngleModifiedHdl, weld::SpinButton&, void } -IMPL_LINK_NOARG( PosSizePropertyPanel, RotationHdl, DialControl*, void ) -{ - sal_Int32 nTmp = mxCtrlDial->GetRotation(); - - // #i123993# Need to take UIScale into account when executing rotations - const double fUIScale(mpView && mpView->GetModel() ? double(mpView->GetModel()->GetUIScale()) : 1.0); - SfxInt32Item aAngleItem( SID_ATTR_TRANSFORM_ANGLE,static_cast<sal_uInt32>(nTmp)); - SfxInt32Item aRotXItem( SID_ATTR_TRANSFORM_ROT_X, basegfx::fround(mlRotX * fUIScale)); - SfxInt32Item aRotYItem( SID_ATTR_TRANSFORM_ROT_Y, basegfx::fround(mlRotY * fUIScale)); - - GetBindings()->GetDispatcher()->ExecuteList(SID_ATTR_TRANSFORM, - SfxCallMode::RECORD, { &aAngleItem, &aRotXItem, &aRotYItem }); -} - IMPL_STATIC_LINK_NOARG( PosSizePropertyPanel, ClickChartEditHdl, weld::Button&, void ) { SfxViewShell* pCurSh = SfxViewShell::Current(); diff --git a/svx/source/sidebar/possize/PosSizePropertyPanel.hxx b/svx/source/sidebar/possize/PosSizePropertyPanel.hxx index 92a54357f354..297ddbc9ce81 100644 --- a/svx/source/sidebar/possize/PosSizePropertyPanel.hxx +++ b/svx/source/sidebar/possize/PosSizePropertyPanel.hxx @@ -153,7 +153,6 @@ private: DECL_LINK( ChangeHeightHdl, weld::MetricSpinButton&, void ); DECL_LINK( ClickAutoHdl, weld::ToggleButton&, void ); DECL_LINK( AngleModifiedHdl, weld::SpinButton&, void ); - DECL_LINK( RotationHdl, svx::DialControl*, void ); DECL_STATIC_LINK( PosSizePropertyPanel, ClickChartEditHdl, weld::Button&, void ); void Initialize(); diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 3c5cb37ad2e7..2a0b85e97c30 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -2107,12 +2107,6 @@ IMPL_LINK_NOARG(ColorWindow, OpenPickerClickHdl, weld::Button&, void) mxPaletteManager->PopupColorPicker(mpParentWindow, maCommand, GetSelectEntryColor().first); } -void SvxColorWindow::StartSelection() -{ - mpColorSet->StartSelection(); - mpRecentColorSet->StartSelection(); -} - void SvxColorWindow::SetNoSelection() { mpColorSet->SetNoSelection(); diff --git a/vcl/inc/svimpbox.hxx b/vcl/inc/svimpbox.hxx index 5206ded364fc..856f0ea74ae8 100644 --- a/vcl/inc/svimpbox.hxx +++ b/vcl/inc/svimpbox.hxx @@ -331,7 +331,6 @@ public: void ShowFocusRect( const SvTreeListEntry* pEntry ); void CallEventListeners( VclEventId nEvent, void* pData = nullptr ); - bool SetCurrentTabPos( sal_uInt16 _nNewPos ); sal_uInt16 GetCurrentTabPos() const { return m_nCurTabPos; } bool IsSelectable( const SvTreeListEntry* pEntry ); diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx index 5ff9acab9c1d..aa79e0890623 100644 --- a/vcl/source/control/field.cxx +++ b/vcl/source/control/field.cxx @@ -643,16 +643,6 @@ sal_Int64 NumericFormatter::GetValue() const return GetField() ? GetValueFromString(GetField()->GetText()) : 0; } -bool NumericFormatter::IsValueModified() const -{ - if ( ImplGetEmptyFieldValue() ) - return !IsEmptyFieldValue(); - else if ( GetValue() != mnFieldValue ) - return true; - else - return false; -} - sal_Int64 NumericFormatter::Normalize( sal_Int64 nValue ) const { return (nValue * ImplPower10( GetDecimalDigits() ) ); diff --git a/vcl/source/control/listbox.cxx b/vcl/source/control/listbox.cxx index 9d1de7296920..8772fb40db8d 100644 --- a/vcl/source/control/listbox.cxx +++ b/vcl/source/control/listbox.cxx @@ -986,16 +986,6 @@ sal_Int32 ListBox::GetEntryPos( const OUString& rStr ) const return nPos; } -sal_Int32 ListBox::GetEntryPos( const void* pData ) const -{ - if (!mpImplLB) - return LISTBOX_ENTRY_NOTFOUND; - sal_Int32 nPos = mpImplLB->GetEntryList()->FindEntry( pData ); - if ( nPos != LISTBOX_ENTRY_NOTFOUND ) - nPos = nPos - mpImplLB->GetEntryList()->GetMRUCount(); - return nPos; -} - OUString ListBox::GetEntry( sal_Int32 nPos ) const { if (!mpImplLB) diff --git a/vcl/source/treelist/svimpbox.cxx b/vcl/source/treelist/svimpbox.cxx index baa2852c8170..0c3a2ef5bae0 100644 --- a/vcl/source/treelist/svimpbox.cxx +++ b/vcl/source/treelist/svimpbox.cxx @@ -3358,21 +3358,6 @@ void SvImpLBox::CallEventListeners( VclEventId nEvent, void* pData ) } -bool SvImpLBox::SetCurrentTabPos( sal_uInt16 _nNewPos ) -{ - bool bRet = false; - - if ( m_pView && _nNewPos < ( m_pView->TabCount() - 2 ) ) - { - m_nCurTabPos = _nNewPos; - ShowCursor( true ); - bRet = true; - } - - return bRet; -} - - bool SvImpLBox::IsSelectable( const SvTreeListEntry* pEntry ) { if( pEntry ) diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx index 8e21fdd58a92..e75ec1436c52 100644 --- a/vcl/source/window/toolbox2.cxx +++ b/vcl/source/window/toolbox2.cxx @@ -944,28 +944,6 @@ void ToolBox::SetItemImage( sal_uInt16 nItemId, const Image& rImage ) } } -void ToolBox::SetItemOverlayImage( sal_uInt16 nItemId, const Image& rImage ) -{ - ImplToolItems::size_type nPos = GetItemPos( nItemId ); - - if ( nPos != ITEM_NOTFOUND ) - { - ImplToolItem* pItem = &mpData->m_aItems[nPos]; - Size aOldSize = pItem->maOverlayImage.GetSizePixel(); - - pItem->maOverlayImage = rImage; - - // only once all is calculated, do extra work - if (!mbCalc) - { - if (aOldSize != pItem->maOverlayImage.GetSizePixel()) - ImplInvalidate( true ); - else - ImplUpdateItem( nPos ); - } - } -} - static Image ImplRotImage( const Image& rImage, long nAngle10 ) { BitmapEx aRotBitmapEx( rImage.GetBitmapEx() ); |