diff --git a/description.xml b/description.xml index 5f998d3..186ca80 100644 --- a/description.xml +++ b/description.xml @@ -3,7 +3,7 @@ xmlns:dep="http://openoffice.org/extensions/description/2006" xmlns:xlink="http://www.w3.org/1999/xlink"> - + Инструменты для создания электронных изданий diff --git a/ePublishing/PageStyles.xba b/ePublishing/PageStyles.xba index 5a0ce36..c45f0f3 100644 --- a/ePublishing/PageStyles.xba +++ b/ePublishing/PageStyles.xba @@ -1,6 +1,7 @@ - Dim pDialog As Object + + Dim pDialog As Object Sub pageStylesDialog Dim listBox As Object @@ -356,8 +357,8 @@ Function covertMMtoLong(dimension As String) As Long convertMMtoLong = -1 Exit Function EndIf - dimension = customReplace(dimension, ",", ".") - If Not IsNumeric(dimension) Then + dimension = customReplace(dimension, ".", ",") + If Not IsNumeric( dimension ) Then convertMMtoLong = -1 Exit Function EndIf @@ -377,4 +378,4 @@ Function customReplace(Source As String, Search As String, NewPart As String) As customReplace = Result End Function - \ No newline at end of file +