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 )
_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to