Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Code is contributed under the LGPLv3+ / MPL

-- 
Regards,
Mariusz Dykerek

diff --git a/vcl/source/control/field.cxx b/vcl/source/control/field.cxx
index 1538287..51c4ee2 100644
--- a/vcl/source/control/field.cxx
+++ b/vcl/source/control/field.cxx
@@ -387,20 +387,6 @@ const AllSettings& FormatterBase::GetFieldSettings() const
 
 // -----------------------------------------------------------------------
 
-void FormatterBase::SetFieldText( const XubString& rText, sal_Bool bKeepSelection )
-{
-    if ( mpField )
-    {
-        Selection aNewSelection( 0xFFFF, 0xFFFF );
-        if ( bKeepSelection )
-            aNewSelection = mpField->GetSelection();
-
-        ImplSetText( rText, &aNewSelection );
-    }
-}
-
-// -----------------------------------------------------------------------
-
 void FormatterBase::ImplSetText( const XubString& rText, Selection* pNewSelection )
 {
     if ( mpField )

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.