diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/connectivity/sqlerror.hxx | 19 | ||||
-rw-r--r-- | include/svl/rngitem.hxx | 1 | ||||
-rw-r--r-- | include/svtools/fileurlbox.hxx | 67 | ||||
-rw-r--r-- | include/svtools/inettbc.hxx | 3 | ||||
-rw-r--r-- | include/svx/sxfiitm.hxx | 1 | ||||
-rw-r--r-- | include/vcl/edit.hxx | 2 | ||||
-rw-r--r-- | include/vcl/field.hxx | 4 | ||||
-rw-r--r-- | include/vcl/lstbox.hxx | 1 | ||||
-rw-r--r-- | include/vcl/tabctrl.hxx | 2 |
9 files changed, 0 insertions, 100 deletions
diff --git a/include/connectivity/sqlerror.hxx b/include/connectivity/sqlerror.hxx index db0f3824ab77..b10d8ae570b6 100644 --- a/include/connectivity/sqlerror.hxx +++ b/include/connectivity/sqlerror.hxx @@ -58,25 +58,6 @@ namespace connectivity class OOO_DLLPUBLIC_DBTOOLS SQLError { public: - - // - optional - - /** convenience wrapper around o3tl::optional, allowing implicit construction - */ - class ParamValue : public ::o3tl::optional< OUString > - { - typedef ::o3tl::optional< OUString > base_type; - - public: - ParamValue( ) : base_type( ) { } - ParamValue( OUString const& val ) : base_type( val ) { } - ParamValue( ParamValue const& rhs ) : base_type( static_cast<base_type const&>( rhs ) ) { } - - bool is() const { return bool(*this); } - }; - - - public: SQLError(); ~SQLError(); diff --git a/include/svl/rngitem.hxx b/include/svl/rngitem.hxx index 08404d83e6ef..7e8caf93742f 100644 --- a/include/svl/rngitem.hxx +++ b/include/svl/rngitem.hxx @@ -40,7 +40,6 @@ public: OUString &rText, const IntlWrapper& ) const override; virtual SfxRangeItem* Clone( SfxItemPool *pPool = nullptr ) const override; - sal_uInt16& From() { return nFrom; } }; diff --git a/include/svtools/fileurlbox.hxx b/include/svtools/fileurlbox.hxx deleted file mode 100644 index c2f4451db6d0..000000000000 --- a/include/svtools/fileurlbox.hxx +++ /dev/null @@ -1,67 +0,0 @@ -/* -*- 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_SVTOOLS_FILEURLBOX_HXX -#define INCLUDED_SVTOOLS_FILEURLBOX_HXX - -#include <svtools/svtdllapi.h> -#include <svtools/inettbc.hxx> - - -namespace svt -{ - - - //= FileURLBox - - class SVT_DLLPUBLIC FileURLBox final : public SvtURLBox - { - private: - OUString m_sPreservedText; - - public: - FileURLBox( vcl::Window* _pParent, WinBits _nStyle ); - - private: - virtual bool PreNotify( NotifyEvent& rNEvt ) override; - virtual bool EventNotify( NotifyEvent& rNEvt ) override; - - public: - /** transforms the given URL content into a system-dependent notation, if possible, and - sets it as current display text - - <p>If the user enters a URL such as "file:///c:/some%20directory", then this will be converted - to "c:\some directory" for better readability.</p> - - @param _rURL - denotes the URL to set. Note that no check is made whether it is a valid URL - this - is the responsibility of the caller. - - @see SvtURLBox::GetURL - */ - void DisplayURL( const OUString& _rURL ); - }; - - -} // namespace svt - - -#endif // INCLUDED_SVTOOLS_FILEURLBOX_HXX - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/include/svtools/inettbc.hxx b/include/svtools/inettbc.hxx index 37f18b53d95a..71638b8d315c 100644 --- a/include/svtools/inettbc.hxx +++ b/include/svtools/inettbc.hxx @@ -71,9 +71,6 @@ public: static OUString ParseSmart( const OUString& aText, const OUString& aBaseURL ); - void SetPlaceHolder( const OUString& sPlaceHolder ) - { aPlaceHolder = sPlaceHolder; } - const OUString& GetPlaceHolder() const { return aPlaceHolder; } bool MatchesPlaceHolder( const OUString& sToMatch ) const { return ( !aPlaceHolder.isEmpty() ) && ( aPlaceHolder == sToMatch ); } }; diff --git a/include/svx/sxfiitm.hxx b/include/svx/sxfiitm.hxx index 2906b99eff9a..20bd44b84ff3 100644 --- a/include/svx/sxfiitm.hxx +++ b/include/svx/sxfiitm.hxx @@ -34,7 +34,6 @@ public: virtual bool GetPresentation(SfxItemPresentation ePresentation, MapUnit eCoreMetric, MapUnit ePresentationMetric, OUString &rText, const IntlWrapper&) const override; virtual SdrFractionItem* Clone(SfxItemPool *pPool=nullptr) const override; const Fraction& GetValue() const { return nValue; } - void SetValue(const Fraction& rVal) { nValue = rVal; } }; diff --git a/include/vcl/edit.hxx b/include/vcl/edit.hxx index 3d4d8a790aa4..2606eb27b9d0 100644 --- a/include/vcl/edit.hxx +++ b/include/vcl/edit.hxx @@ -235,8 +235,6 @@ public: virtual Size CalcSize(sal_Int32 nChars) const; sal_Int32 GetMaxVisChars() const; - sal_Int32 GetCharPos( const Point& rWindowPos ) const; - // shows a warning box saying "text too long, truncated" static void ShowTruncationWarning(weld::Widget* pParent); diff --git a/include/vcl/field.hxx b/include/vcl/field.hxx index 8f0d1b350771..974cd98e4999 100644 --- a/include/vcl/field.hxx +++ b/include/vcl/field.hxx @@ -202,7 +202,6 @@ public: FieldUnit GetUnit() const { return meUnit; } void SetCustomUnitText( const OUString& rStr ); const OUString& GetCustomUnitText() const { return maCustomUnitText; } - const OUString& GetCurUnitText() const { return maCurUnitText; } using NumericFormatter::SetMax; void SetMax( sal_Int64 nNewMax, FieldUnit eInUnit ); @@ -212,7 +211,6 @@ public: void SetMin( sal_Int64 nNewMin, FieldUnit eInUnit ); using NumericFormatter::GetMin; sal_Int64 GetMin( FieldUnit eOutUnit ) const; - void SetBaseValue( sal_Int64 nNewBase, FieldUnit eInUnit = FieldUnit::NONE ); sal_Int64 GetBaseValue() const; virtual void SetValue( sal_Int64 nNewValue, FieldUnit eInUnit ); @@ -224,8 +222,6 @@ public: virtual OUString CreateFieldText( sal_Int64 nValue ) const override; sal_Int64 GetCorrectedValue( FieldUnit eOutUnit ) const; - void SetCustomConvertHdl( const Link<MetricFormatter&,void>& rLink ) { maCustomConvertLink = rLink; } - static FieldUnit StringToMetric(const OUString &rMetricString); static bool TextToValue(const OUString& rStr, double& rValue, sal_Int64 nBaseValue, sal_uInt16 nDecDigits, const LocaleDataWrapper& rLocaleDataWrapper, FieldUnit eUnit); diff --git a/include/vcl/lstbox.hxx b/include/vcl/lstbox.hxx index 9c519b6919dc..9a0153d89e0a 100644 --- a/include/vcl/lstbox.hxx +++ b/include/vcl/lstbox.hxx @@ -170,7 +170,6 @@ public: OUString GetSelectedEntry( sal_Int32 nSelIndex = 0 ) const; sal_Int32 GetSelectedEntryPos( sal_Int32 nSelIndex = 0 ) const; - bool IsEntrySelected(const OUString& rStr) const; bool IsEntryPosSelected( sal_Int32 nPos ) const; void SetNoSelection(); diff --git a/include/vcl/tabctrl.hxx b/include/vcl/tabctrl.hxx index 789c200b159d..cf058d7a1e79 100644 --- a/include/vcl/tabctrl.hxx +++ b/include/vcl/tabctrl.hxx @@ -115,7 +115,6 @@ public: virtual Size GetOptimalSize() const override; void SetTabPageSizePixel( const Size& rSize ); - Size GetTabPageSizePixel() const; // pixel offset for the tab items, default is (0,0) void SetItemsOffset( const Point& rOffs ); @@ -124,7 +123,6 @@ public: void InsertPage( sal_uInt16 nPageId, const OUString& rText, sal_uInt16 nPos = TAB_APPEND ); void RemovePage( sal_uInt16 nPageId ); - void Clear(); void SetPageEnabled(sal_uInt16 nPageId, bool bEnable = true); void SetPageVisible(sal_uInt16 nPageId, bool bVisible = true); |