summaryrefslogtreecommitdiff
path: root/wizards/source
diff options
context:
space:
mode:
authorandreas kainz <kainz.a@gmail.com>2018-02-11 00:43:03 +0100
committerHeiko Tietze <tietze.heiko@gmail.com>2018-02-18 14:38:41 +0100
commit61bfc53ee710f9c79ac597888a6ee9dfee165ea4 (patch)
treece3495f4e1075ce5e9b04265aa3c392865279f39 /wizards/source
parent7273bb3534264867e818c13baffcdf3862189cd2 (diff)
tdf#114817 new bitmap presets for Area Fill
Change-Id: Icc48efc2f6c085ccf0754620dc1cbf5132a7f824 Reviewed-on: https://gerrit.libreoffice.org/49551 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Heiko Tietze <tietze.heiko@gmail.com>
Diffstat (limited to 'wizards/source')
-rw-r--r--wizards/source/formwizard/tools.xba20
1 files changed, 10 insertions, 10 deletions
diff --git a/wizards/source/formwizard/tools.xba b/wizards/source/formwizard/tools.xba
index a7cfa16651b0..35a2436e2cf7 100644
--- a/wizards/source/formwizard/tools.xba
+++ b/wizards/source/formwizard/tools.xba
@@ -22,7 +22,7 @@ Option Explicit
Public Const SBMAXTEXTSIZE = 50
-Function SetProgressValue(iValue as Integer)
+Function SetProgressValue(iValue as Integer)
If iValue = 0 Then
oProgressbar.End
End If
@@ -84,7 +84,7 @@ Dim NullValue
Else
oControl.Model.EffectiveValue = oControl.Model.EffectiveMax
End If
- GetPeerSize() = oPeer.PreferredSize()
+ GetPeerSize() = oPeer.PreferredSize()
oControl.Model.EffectiveValue = NullValue
ElseIf Not IsMissing(LocText) Then
oControl.Text = LocText
@@ -106,7 +106,7 @@ Dim NullValue
oControl.Text = Mid(SBSIZETEXT,1, SBMAXTEXTSIZE)
Else
oControl.Text = Mid(SBSIZETEXT,1, oControl.MaxTextLen)
- End If
+ End If
GetPeerSize() = oPeer.PreferredSize()
oControl.Text = &quot;&quot;
End If
@@ -140,7 +140,7 @@ Function PixelTo100thMMY(oControl as Object) as long
oPeer = oControl.GetPeer()
PixelTo100mmX = Clng(Peer.GetInfo.PixelPerMeterY/100000)
-&apos; PixelTo100thMM = nValue * 28 &apos; not an exact calculation
+&apos; PixelTo100thMM = nValue * 28 &apos; not an exact calculation
End function
@@ -167,25 +167,25 @@ Dim OldIndex as Integer
End If
OldIndex = CurIndex
CurIndex = GetCurIndex(DialogModel.lstStyles, Styles(),8)
- If CurIndex &lt;&gt; OldIndex Then
+ If CurIndex &lt;&gt; OldIndex Then
ToggleLayoutPage(False)
Dim sImportPath as String
sImportPath = Styles(CurIndex, 8)
bWithBackGraphic = LoadNewStyles(oDocument, DialogModel, CurIndex, sImportPath, Styles(), TexturePath)
ControlCaptionsToStandardLayout()
- ToggleLayoutPage(True, &quot;lstStyles&quot;)
+ ToggleLayoutPage(True, &quot;lstStyles&quot;)
End If
WIZARDERROR:
- If Err &lt;&gt; 0 Then
+ If Err &lt;&gt; 0 Then
Msgbox(sMsgErrMsg, 16, GetProductName())
Resume LOCERROR
- LOCERROR:
+ LOCERROR:
End If
End Sub
-Function SetNumerics(ByVal oLocObject as Object, iLocFieldType as Integer) as Object
+Function SetNumerics(ByVal oLocObject as Object, iLocFieldType as Integer) as Object
If CurControlType = cNumericBox Then
oLocObject.TreatAsNumber = True
Select Case iLocFieldType
@@ -325,7 +325,7 @@ Function GetFormWizardPaths() as Boolean
If FormPath &lt;&gt; &quot;&quot; Then
WizardPath = GetOfficeSubPath(&quot;Template&quot;,&quot;wizard/&quot;)
If Wizardpath &lt;&gt; &quot;&quot; Then
- TexturePath = GetOfficeSubPath(&quot;Gallery&quot;, &quot;www-back/&quot;)
+ TexturePath = GetOfficeSubPath(&quot;Gallery&quot;, &quot;backgrounds/&quot;)
If TexturePath &lt;&gt; &quot;&quot; Then
WorkPath = GetPathSettings(&quot;Work&quot;)
If WorkPath &lt;&gt; &quot;&quot; Then